Remove voting for the py38, 310, and 311 gate jobs, until we can get the upstream
gate to pass reliably.
Change-Id: I0f062c2c2dc7c59d68be454095809f44bdfb24bd
A recent change upstream has broken the python39 job.
Remove voting rights for this gate temporarily, as
python39 currently isn't being deployed.
Change-Id: Ib664e576f306d16afc20a1a4d62c8105cece2877
Neutron-lbaas was removed as part of this change:
openstack/openstack-zuul-jobs@7a3eb3afeb
This results in gating jobs to fail. Setting to non-voting till fix
Change-Id: If0b070fed753da3616bba7b6fd26b69a8d728ac4
Add support for wallaby.
Below were the extra changes needed to support
the wallaby branch:
1. Add new attribute 'remote_address_group_id'
for the security group resource.
2. Handle new standard_attr_id argument for resources.
3. Fix kwargs passed to the alembic migrations
create_foreign_key and create_primary_key.
4. Change CONTEXT_WRITER to CONTEXT_READER in the
get_subnets function.
Change-Id: I3835df151cad2f7ca52afcb701de2bc508c90014
Add support for stable victoria. Changes include:
* https://review.opendev.org/#/c/716049/ switched to unittest for mock
Change-Id: I053657f535d985205ae9d3548291ec1d1409cb74
Add support for the ussuri stable branch.
* Removed use of services in devstack (e.g. FWaaS and LBaas), which
were only used by the deprecated legacy plugin.
* https://review.opendev.org/#/c/572767/ changed the return
value of _get_security_groups_on_port from a list of security
group IDs to a list of security group OVOs. The monkey patch
of this method has been updated to be consistent with this
upstream change.
* https://review.opendev.org/#/c/703143/ removed the upstream
get_binding_levels, which is replaced by the corresponding
OVO call, get_binding_level_objs.
* https://review.opendev.org/#/c/709122/ broke the __repr__
method in the AddressScope model class. This patch works
around this by using the dictionary representation instead.
* https://review.opendev.org/#/c/679399/ made the MTU field
of networks non-nullable, and sets it to a constant if not
set explicitly. This broke GBP APIs which create networks
as part of their implementation. This patch adds a monkey
patch to pass in a value of 0, if one wasn't specified.
* Fixed alias uncovered by PEP8 checks.
Change-Id: I219bc9a5c2034499e59788ab11ef0ae310e97e1e
Voting for the AIM dsvm gate job was temporarily turned off as part
of https://review.opendev.org/#/c/735257/. This should be reverted
to ensure that the AIM dsvm gate job is voting.
Change-Id: I0be0172a20ce72d911c051de5dc22c01c03f5480
Import stable/stein rather than stable/rocky branches of upstream
and ACI-specific repositories.
Changes include:
* https://review.opendev.org/#/c/634790/ removed the rpc module
from neutron.common, which was rehomed to neutron-lib.
* https://review.opendev.org/#/c/634497/ removed the exceptions
module from neutron.common, which was rehomed to neutron-lib.
* https://review.opendev.org/#/c/581377/ removed exercises from the
devstack gate. The shell scripts that ran the tests from the
devstack exercises are now called directly.
* https://review.opendev.org/#/c/619087/ removed the common_db_mixin
from the FlowClassifierDbPlugin, replacing it with the use of a
method in neutron-lib.
* https://review.opendev.org/#/c/595369/ removed _setUpExtension,
replacing it with the setup_extension method.
* https://review.opendev.org/#/c/623415/ added validation to host
route CIDRs. The metadata CIDRs have been corrected to pass
this new validation.
* https://review.opendev.org/#/c/615486/ added a call to get a
nova client, and https://review.opendev.org/#/c/368631/ was
added to ensure it was a singleton. These are now used to get
a notifier for nova.
* https://review.opendev.org/#/c/628033/ removed the use of the
_resource_extend module, which has been moved to neutron-lib.
* https://review.opendev.org/#/c/585037/ converted policy.json
to policy in code. This resulted in better policy enforcement,
and flagged problems with existing UTs, mainly in the use of
shared resources (requires admin privileges). These UTs have
been fixed.
Change-Id: Ia7bd0799a814e38ff37b7ff062fa1eae7928991c
Import stable/rocky rather than stable/queens branches of upstream
and ACI-specific repositories. Changes needed for compatability
with stable/rocky that were also compatible with stable/queens were
made in previous patches, so only rocky-specific changes are included
here.
Change-Id: If533a955fb4bc23d6e4081a43df7018b1b36a0ba
Enhance compatabilty with newer Neutron branches while maintaining
compatability with stable/queens Neutron, and improve the build/test
process. Highlights include:
* Eliminate unneeded requirements and test-requirements, and update
remaining ones to match upstream stable/queens Neutron.
* Use pip directly instead of the tox_install.sh script to install
dependencies, as is done on newer upstream branches.
* Use stestr directly instead of ostestr to run UTs, as is done in newer
upstream branches.
* Specify basepython as python2.7 for pep8, cover, functional and
dsvm-functional jobs, in case a python3 version of tox is used.
* Fix pep8 issues that result in failures with the versions of hacking
and flake8 used by Neutron's stable/rocky through stable/train
branches. These changes are not necessary with the hacking and
flake8 versions used in stable/queens, but we want to minimize code
differences across our currently supported stable branches.
* Enable flake8-import-order and fix all the pep8 issues that it
uncovered, particularly with order and grouping of import
statements.
* Update pep8 configuration in tox.ini to more closely match upstream
Neutron, and fix resulting issues. Remaining ignored checks that
should be fixed but haven't been are marked with REVISIT in tox.ini.
* Update devstack scripts with proper branches and repository URLs.
Change-Id: I538b8c95c61a09d834be4b7c28a3becf2f3e6a50
Commit 1b996593ddef6bf9759aeb676e3bd6abf9d056f9 inadvertently
removed the aim functional job from the voting gate jobs. This
patch adds it back.
Change-Id: I5c066a20ee507a62056569ddd1a0d21cae64262c
* dict_items, dict_values, dict_keys returns view in Py3 instead of
list so wrapped with list.
* hashlib.md5 needs bytes data in Py3, so encoded data with 'utf-8'.
* Replaced dict.iteritems() with dict.items().
* Replaced dict.itervalues() with dict.values().
* Replaced iterator.next() with next(iterator)
* 'magicMock' and 'int' cannot be compared, so patched
'vmware_nsxlib.v3.utils._update_max_nsgroups_criteria_tags()'
with its return value.
* Added zip() as a replacement of itertools.izip() in Py3.
* Added a method to compare 2 (nested) dict or list of (nested) dict,
since Py3 (till python3.6) dict are not ordered.
* Added zuul python35 CI jobs.
* Added py35 env in 'tox.ini'.
* Added patcher.stop() in 'NsxPolicyMappingTestCase' tearDown().
Fixes bug 1877200
Change-Id: Id96faba6c2ecd29918bda000ac0ccbfdf988d17d