It is needed to enforce the correct versions of both projects due
to incompatibilities with previous version. The Neutron Bobcat beta
3 should work with neutron-lib 3.8.0.
Change-Id: I1b7e35c92b01c15c9c236861f60d13bc5098330f
Running the python 3.9 unit tests locally results in failures
like:
TypeError: cannot pickle '_thread.RLock' object
Because we are inheriting some of the neutron code, and this
is fixed in that repository, just bump the minimum requirement
to 18.0.0 (Wallaby) now that it is released. This does not
happen in the gate since it is always using master.
Raised minimum of other libraries as necessary.
Change-Id: I820c924189d2973aefcb1452331c904f1ee7051f
Closes-bug: #1923083
Pylint 2.6.0 added two new checkers [1] that made pep8 validation
fail:
- raise-missing-from (W0707)
- super-with-arguments (R1725)
Pylint 2.7.0 added one new checker [1] that made pep8 validation
fail:
- use-a-generator (R1729)
[1] http://pylint.pycqa.org/en/latest/technical_reference/features.html
Change-Id: I40a45e70156f4306021ade0029b244f4c06440a2
Bumped a bunch of constraints and requirements to fix
a gate failure with recent pip update. Required
moving minimum neutron version to Ussuri (16.0.0).
Fix associated new warnings.
Change-Id: Ic6b1dca1c58f982562333a5ae762b1b596355ede
This is a combination of a number of fixes required to
fix the broken gate.
Fix lower-constraints job for focal, bumping requirements
and fixing resultant failuers as necessary.
The devstack module for OVN has now been moved to the
devstack repository, so include it from there so the
functional jobs can run.
Set not_implemented_is_error to False.
The Octavia tempest plugin tests are being changed to
better skip tests for not implemented features. Setting
this to False will treat NotImplemented failures as
skips and not errors.
Fix tempest blacklist regex.
Raise error on listener create with 'allowed_cidrs' present.
Change-Id: I70adcfad3f4d489d94da171670c23dba51d6f2a1
This change includes a 3 different patches that we need
to squash in order to pass the gate.
1) New versions of isort broke pylint. This patch fixes it at 4.3.21.
2) The functional job fails because of bugfixes in neutron
devstack lib. We need to update our functional jobs also.
3) Add functional release and master job that builds OVN
In order to test the latest code in the core OVN repository,
add a job that builds it from source from the master branch.
Define also second job that will run code with latest
OVN/OVS release.
Closes-Bug: #1887363
Change-Id: Ic013e5a0605c28453d3ee1b64031022f6f75f8f6
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I304374e466c2b329b4d58f8068b6a60ecc952232
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I9b1935be325bfd2bcc51d9f1ee1d3c4229b75403
The repo is Python 3, so update hacking to version 3.0 which
supports Python 3.
Update local hacking checks for new flake8.
Change-Id: I37851c466ac14f41506f3d0d7cee75db84580756
This patch imports OVN LB functional tests.
Unfortunately neutron hasn't been released yet
so for test requirements we need to install it
from git, from commit that imports functional
base class to neutron [1].
[1] https://review.opendev.org/#/c/701733/
Change-Id: Ia65492db1688f3a3fce22a4432ae8445f67c37b3
This code moves OVN Octavia provider driver from networking-ovn
(branch master) repository to this repository.
For first step lets move code and unit tests.
Previous paths in networking-ovn tree:
./networking_ovn/octavia/ovn_driver.py -> ./ovn_octavia_provider/driver.py
./networking_ovn/tests/unit/octavia/test_ovn_driver ->
./ovn_octavia_provider/tests/unit/test_driver.py
There are a few files taken directly from neutron
repository that could be removed when neutron-lib
including those will be released:
./ovn_octavia_provider/ovsdb/impl_idl_ovn.py
./ovn_octavia_provider/ovsdb/ovsdb_monitor.py
Co-Authored-By: Brian Haley <bhaley@redhat.com>
Co-Authored-By: Carlos Goncalves <cgoncalves@redhat.com>
Co-Authored-By: Frode Nordahl <frode.nordahl@canonical.com>
Co-Authored-By: Jakub Libosvar <libosvar@redhat.com>
Co-Authored-By: Maciej Józefczyk <mjozefcz@redhat.com>
Co-Authored-By: Numan Siddique <nusiddiq@redhat.com>
Co-Authored-By: Reedip Banerjee <rbanerje@redhat.com>
Co-Authored-By: Terry Wilson <twilson@redhat.com>
Co-Authored-By: Yunxiang Tao <taoyunxiang@cmss.chinamobile.com>
Co-Authored-By: zhufl <zhu.fanglei@zte.com.cn>
Change-Id: I9b562c4ed5f74df2c3d600356758f4648ac7770b
Related-Blueprint: neutron-ovn-merge