Neutron-lib 1.18.0 is our Rocky RC and is already being used by neutron
[1]. This patch updates the neutron-lib required version to match
neutron [1] in prep for the Rocky release.
It also adds a lower constraints zuul job to ensure neutron is pulled
into the env; otherwise the errors show in PS1 results will occur.
[1] https://review.openstack.org/#/c/583671/
Change-Id: I6b81670ade7131caedcc2c0b5dddff4415554676
Instead of the neutron commands in the form neutron l2-gateway-<command>
and neutron l2-gateway-connection-<command> introduce the osc form:
openstack l2gw <command> and openstack l2gw connection <command>.
Change-Id: I3ad1c6fdde9c3cfc8732680f130fbd6420d98c53
Closes-Bug: #1755435
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: Ia0b0ae80af2e10fc305d67b333da6e1666390c4d
in fact L3_AGENT_MODE_DVR_SNAT constant is absent from
`neutron.common.constants` and this code produces AttributeError.
Change-Id: I78f8c57bdcc011459ba0fbcd8299aaa91f44e43c
The create_connection function in neutron.common.rpc is just an alias to
Connection. This patch switches to the later so we can remove the former
in: https://review.openstack.org/#/c/560130
Change-Id: I97f940cf3a65ecae202081130b60927ac0cfd467
We needed to create the own instance of ContainsKeyValue
as this causes the lower constraints tests to fail.
Change-Id: I908ca624b1ce43d1d5fb0c66f0fdd436efa4e317
A recent change in pep/pycodingchecks introduced new warnings as part of
the pep8 target that causes pep8 to fail now.
This patch fixes code that issued warnings W503,E731,E266,E402
Change-Id: Ie5ca6c6fe70b3f96809f0624abe6738db2a89c6d
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: I425974aa60496e635517e64ab900ec2fa66c0e12
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Ensure that get_l2_gateway_connections_count is added to support
quotas. A change in horizon/neutron calls this method and
if its not an admin tenant then this fails. This results in a
tenant being unable to create a FIP when using horizon.
Closes-bug: #1762414
Change-Id: I8875334fa6700c33154bc690ebcad6cb5fe6c0c2
Commit f6b1e85899acd20f8a08a8302542497f2b4977ae removed mox from
the neutron client.
A follow up patch will change mox to mock.
Change-Id: If107dc6b304eb8c1dbba23c5f8c53216e34310dc
Instead of using tox-install.sh, we can install horizon and neutron
now directly from pypi - or use the current branch in CI system using
tox-siblings.
Update tox.ini for this change and add neutron to requirements file.
Change-Id: Ie9cd8a4431ca4981e2cef7de735c7f25fc93bf19
The neutron.common.topics module was rehomed into neutron-lib with
commit Ie88b84949cbd55a4e7ad06341aab77b286cdc485
This patch consumes it by using neutron-lib's version of the module in
prep for Ia4a4604c259ce862597de80c6deeb3d408bf0e95
Change-Id: Ifcac7a08dab1d23ad992663c03bf9c1d95dc9e8e
Neutron service name changed in queens, so
update the name here so that the driver
will be loaded.
Change-Id: I31a84c1fdd607ac73e9439790410b6160f482d14
Signed-off-by: Victor Pickard <vpickard@redhat.com>
This patch will be reverted once TripleO CI will be ready for
stable/queens, but it's not the case now.
Change-Id: Id847994e932e41095d0eaaba60a0557b2ed15079
This adds the standard attributes to resource l2gateway and
l2gatewayconnection.
This has the advantage of providing created_at and updated_at,
however, the primary reason is to ensure it has a revision number
so it can be used to check db consistency in future.
Change-Id: I319918454a8b03ebeddb32f0528a09e5146d6e21
Signed-off-by: Peng Liu <pliu@redhat.com>
Change the order for new neutron lib.
Also, Q_PLUGIN_CONF_FILE def was removed in Queens,
so fix that here also.
Change-Id: Ia1f105f4005da3b6a722e6b76f6f52bf8834e67c
Signed-off-by: Victor Pickard <vpickard@redhat.com>
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: Idea4e5ff3923aeea34eec9ef40b2021bb3c32857
Neutron lib contains the latest callbacks and this patch switches the
imports over the use them.
For details the corresponding neutron change please see
Iba5ad0beff3a37f81a6b789a0a42f9606cc7a197
Change-Id: I0e0aaeefe36bdee90ae82b0a688342dc864d0263
https://review.openstack.org/#/c/527159/
sets the tempest plugin in a separate repo.
Change-Id: If72115f08f7cd965db3b42da7e07ec94fe5cc7b7
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
This patch implements the update when there are
existing connections. It allows the user to add
or remove interfaces and the existing connections
will be propagated to the new interfaces.
Change-Id: Ic18e138cc1fb328258d6520250e4e47f9d566ca3
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Co-Authored-By: Peng Liu <pliu@redhat.com>
Local devstack with default tempest directory[1] failed due to
mismatched tempest path.
[1]d576620e33/lib/tempest (L47)
Change-Id: I955ad42de21cbc2d609c42392faab69398949dac
DeprecationWarning: Function
'tempest.test.is_extension_enabled()' has moved
to 'tempest.common.utils.is_extension_enabled()'
in version 'Pike' and will be removed in a future version
Change-Id: I0166dbb10505ae2e22b796c6246ae815317d3a77
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Configure the layout to execute the scenario004 jobs.
Note that baremetal job will be run on stable/pike and container on
Queens and beyond.
A note has been added in comment explaining more details.
Change-Id: I8b5f16e5460b5e7cae17f9902eed76f873bcf31b
The FAULT_MAP is now located in neutron-lib and will be removed from
neutron with Ib051555ea8496ed7eec8ed30733c964012e31c32
This patch updates imports to use neutron-lib's FAULT_MAP.
Depends-On: I8e79f29206ec244d870e19f99c18ccaaa50b4761
Change-Id: Ie54e77d3e264ff8da0d6e87e41fbe09758aecea9
Since Ocata neutron.db.agents_db.AgentDbMixin.is_agent_down is
deprecated and in Queenst is replaced with
neutron.agent.common.utils.is_agent_down, see:
https://review.openstack.org/504338
Change-Id: I6f797b8a1940579a62284b21dcad06d42cdd1c81
Closes-Bug: 1719298