oslosphinx is deprecated, fails with sphinx 2, and is going away.
This updates neutron-lbaas to use a basic openstackdocstheme.
Change-Id: Iffc66fecd1b94a2cd94ec7da27bb273784644c0b
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I8696556400725f54111378820531eb9cfc64d03c
Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: I3924910340e72099426968fd6e25e2d592830cda
Sem-Ver: feature
When lbaas fails over after an agent is unresponsive, the dead
agent on coming up should not unplug the vif port, if the lbaas
is active on other agent and when failover is configured.
This patch fixes the problem.
Story: #2003672
Change-Id: I76c38b20eb72c1dba0a0a2a140bbe77053aa3ed0
Adding correction required for A10Networks driver.
Added class L7PolicyManager and L7RuleManager in
previous commit but initialization was missing.
Added 2 lines to initialize the code properly.
These changes are specific to A10Networks driver
only.
Change-Id: I02dc7d5f194c374f88ffbb9c7cfe868633aa7f0b
It appears we missed the placement project in the required-projects
block for this periodic job. This patch corrects that.
A patch[1] changed the behavior for the VIP port security group migration.
This patch updates the test job to reflect that change.
[1] https://review.openstack.org/#/c/592471/
Change-Id: I6a097822f60e41c5265a2eb8bc53509fa46400e5
All of the methods of common db mixin are available via neutron-lib
and the mixin will be removed before long.
This patch switches the code over to use neutron-lib's APIs rather
than those of the mixin and stops using common_db_mix for parent
classes.
Change-Id: I767b88d3a70d744e4170325a9f2c2dc36163756b
This change follows up on the previous performance improvements
and does the same for crud requests.
I9d67f0966561baaefb50ae97b943ff6593e194eb
I32328c5206b9cd6fb8d8764c079f22b6ea8bfa9e
We remove from_sqlalchemy_model and the related object intermediary
representation from the get_loabalancer, get_pool, get_listener,
get_healthmonitor, get_l7policy, get_l7policy_rule,
get_pool_member.
Instead it more directly transforms from the SQLAlchemy model to the
required api dictionary format. Thus this entirely skips loading a few
relations that walking the intermediary object model triggered without
the target output needing them.
This is in particular important on calls like _get_driver_for_loadbalancer
as it previously would load the loadbalancer and all related objects
just to get the provider name for the loadbalancer.
Story: 2004949
Task: 29365
Change-Id: Ic268ea3cdcf809f62ba1ab3ebf8ab6d22f871404
Added Manager classes for L7Policy and L7Rules.
A10Networks neutron-lbaas-driver have recently
added feature for L7Policy and L7Rules.
Adding specific classes to enable the features.
Added class L7PolicyManager and L7RuleManager
with specific create, update and delete functions.
These changes are specific to A10Networks driver
only.
Change-Id: I053cc520eafc829c5dd1192aa158c041b45486bb
We currently use a gate hook that adds
a hardcoded image name which is cirros-0.3.5-x86_64-disk to work
around a devstack bug[2].
A recent patch[1] changed the deployed image to
cirros-0.3.6-x86_64-disk.
Now that the bug[2] has been resolved we no longer need to pin the
cirros image config in our gates.
[1] https://review.openstack.org/624716
[2] https://review.openstack.org/#/c/435106
Change-Id: Ia41577b38eca94617075f849a88ff3c126e407eb
The model_query module is in neutron-lib and the CommonDBMixin will
eventually be removed. This patch swiches use of the _model_query
method over to query_with_hooks from neutron-lib.
This patch also bumps the neutron-lib version up to 1.20.0
Change-Id: Ie8e9123cb2c58b4bde717648f2cfff7664da434e
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I0b09424dd3cef244e8cec1ef87b5992ccb9d5b07
Closes-Bug:#1801823
With moving away from required milestone releases, the version numbers
calculated by PBR on the master branch will not work for those testing
upgrades from the last stable release. More details can be found in the
mailing list post here:
http://lists.openstack.org/pipermail/openstack-dev/2018-October/135706.html
This is an empty commit that will cause PBR to increment its calculated
version to get around this.
PBR will see the following which will cause it to increment the version:
Sem-Ver: feature
Please merge this patch as soon as possible to support those testing
upgrades.
Change-Id: Ic8908b62412a608f6b3b4c4e69940871a812d3a4
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Once the pool object is created in the DB and the listeners
are updated with the pool information, the updated listeners
are retrieved and populated into the pool object.
The DB method to create the pool now flushes the context to
retrieve an updated pool DB object at the end of the method,
instead of retrieving again the same object from the DB.
This is needed to make solve the Queens backport of
I32328c5206b9cd6fb8d8764c079f22b6ea8bfa9e.
Story: 2001962
Change-Id: Icf43952f6e5c5004a5c4d8d541b6efcb5d3ec50c
The neutron.common.rpc and exceptions were rehomed into neutron-lib and
are currently shimmed in neutron [1]
This patch consumes those modules from neutron-lib by using lib's
modules rather than neutrons.
[1] https://review.openstack.org/#/c/586525/
Change-Id: Ic6849eb2282ed39193a46421a6079d3dcb918442
This patch adds local tox targets for pep8 and python 3 as per [1]
that will install dependencies in editable mode.
To run them use the pep8-dev and py3-dev targets respectively.
[1] https://etherpad.openstack.org/p/neutron-sibling-setup
Change-Id: If70b6e746af5bb578f9257dfef0c2f33333b5524
As part of the Denver PTG [1] we decided networking related projects
that are "current" and want to receive neutron-lib consumption patches
on an on-going basis should indicate such with a well defined comment
in their requirements.txt. This allows us to easily find the list of
project to receive neutron-lib consumption patches [2] by searching for
the string.
In addition, projects opting-in for these patches are also attesting
they will stay up to date with TC and infra initiatives to ensure
consumption patches can flow freely.
This patch adds the "neutron-lib-current" string to requirements.txt
opting in for neutron-lib consumption patches.
[1] https://etherpad.openstack.org/p/neutron-stein-ptg
[2] https://docs.openstack.org/neutron-lib/latest/contributor/contributing.html#phase-4-consume
Change-Id: I567f30fd5f91fe6d7c35f0d657ac6aec4a1ff689
The haproxy provider driver uses a dict for caching load balancer
resources (including children resources). That alone already increases
memory consumption. A neutron-server restart solves this.
But the real issue is that the driver leaves some data behind when a LB
is deleted without freeing it up (unless neutron-server is restart)
hence the memory leak.
Story: 2003802
Task: 26534
Change-Id: I7c79271998d839c6afbeb6d92f888f6acd67704e
While NLBaaS member is an invalid state, the shown error message doesn't
give enough info to resolve the problem.
Change-Id: Ia18958d6f7126b46eae33ee615a18b34e3b76357
When a user associated a VIP to his own security group, the migration
should not change its ownership.
Change-Id: I74648fc016f490c83890568fdd482ef0fdd8fa61
The word "key" is reserved in SQL. lbaas_l7rules table has a field
name "key" which using it unescaped raises a mysql exception.
Change-Id: Ic0ddc86fe361014972f2a728beb3e8a3ed20e785