The _get_l2_gateway_connections method is now directly called from
L2gwRpcDriver, and this is causing a lot of warning messages about
SQL execution without transaction in progress.
Change-Id: Ia141d0390f18253bc484b3e154ef91f5733654fe
With [1] all the CLI code was removed from python-neutronclient,
This causes test discovery failure for networking-l2gw, and
the old neutron l2gw type commads can be removed from
the networking-l2gw repository.
[1]: https://review.opendev.org/c/openstack/python-neutronclient/+/871711
Change-Id: I291e1ccc57f03ad6a21018d891db7a74de87b859
Related-Bug: #2003861
Add new job to periodic weekly
openstack-tox-py310-with-sqlalchemy-master, and change previous
jobs in the periodic to py310
Change-Id: I3866725afe090f8b7b0128f45618a9f52e67fc31
Related-Bug: #2004265
Use allowlist_externals instead of whitelist_externals.
Execute shell script with bash.
Depends-on: https://review.opendev.org/866943
Change-Id: Ibb4854595649e9530b9f49b0c74aafc21861d970
There is a debian bug that covers an issue building
packages for networking-l2gw on python 3.11:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023764
It looks like the problem is that the neutron method
register_common_config_options() doesn't exist in the
version of neutron (16.0.0.0b1) this repo is requiring,
as that method was introduced in neutron 21.0.0.
This is my attempt at moving that requirement forward,
which required various other ones as the string was pulled.
Change-Id: I67ae220c481a2381d6c492f6e01793d43dadbb3e
Add weekly periodic to run py39, py39-with-oslo-master and
networking-l2gw-tempest-dummy.
Use anchor for required projects to simplify the job definitions.
Change-Id: I15f3338b1b671c82c3c3174ed5e463a1a20e7b26
Add WebTest to test-requirements which used to be imported as a
transitive requirement via pecan, but the latest release of
pecan dropped this dependency. So make this requirement explicit,
see [1].
Add Neutron and l2gw as required project to py310 job in .zuul.yaml
[1]: https://review.opendev.org/c/openstack/neutron/+/848706
Change-Id: I02c00f46ad453c25981475ce53421827df97a717
Since the dependent patch was merged in Neutron, we need to call
the register_common_config_options method explicitly to register common
options like oslo.log options.
This change updates the job template according to the tested runtimes
for Zed. This is required to remove Python 3.6/7 because these are no
longer supported.
Also, now unit tests are executed with current master code of Neutron,
instead of the latest release, so that we can run test with any
unreleased change in Neutron.
Closes-Bug: #1977980
Related-Bug: #1968606
Depends-on: https://review.opendev.org/c/openstack/neutron/+/837392
Change-Id: I1ac3557fcd6eba187d52686345040c5fdfb4f7e9
Add back .zuul.yaml to the project and change all references from
openstack/networking-l2gw to x/networking-l2gw
Make jobs work on ubuntu focal
Fix mysql syntax in tools/test-setup.sh
Change-Id: Ic48f3d8ae8786b9ea98abba94b44ff4cb804ccc8
networking-l2gw is not a neutron stadium project, and not governed by
openstack, so it is time to move it to x/ namespace. As a first step
disable zuul jobs to avoid collisions when the new repository will be
created as x/networking-l2gw.
Change-Id: I1bf048df49c385a92fea55f99bd0a7c4283960cf
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Remove install_command from tox.ini, the default is fine
- Remove Babel from requirements, it's not needed for running.
- Remove unused babel.cfg and obsolete openstack-common.conf
- Use TOX_CONSTRAINTS_FILE instead of obsolete UPPER_CONSTRAINTS_FILE.
- Remove six usage
- update to hacking 3.1.0, fix problems found.
- Remove hacking and friends from lower-constraints, they are
blacklisted
Change-Id: I6321b612f37bca7b441171814b059eaad03d9f24
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: If0e77ff211c6ee1418e5fe2a790b8029b1495dcd
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I083fed71bf9fe2a8eed4737940aa933dc4d0b980
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Monkey patch the original current_thread to use the up-to-date _active
global variable. This solution is based on that documented at:
https://github.com/eventlet/eventlet/issues/592
Change-Id: I4a3b59b1059c3ab8e515d771a0411baafbbd28c4
Closes-Bug: #1863021
_validate_gateway_for_update expects now the gw dict to have device
dict. The update thus fails in case of updateing the name only for
example.
This patch makes this kind of easy updates working.
Change-Id: I4368e1fdbe3e539c988f82fd90d4c30b426ac1d2
Closes-Bug: #1834331
Python 2 will be EOL at the end of 2019. Ussuri will no longer support
Python 2 so it's safe to remove python2 jobs and save some CI resources.
Change-Id: I12ec23f9f8879b984099cce3495f4687dd2e0f61
This patch consumes the neutron_lib.db.standard_attr module from
neutron-lib by switching all imports to use neutron-lib's standard_attr.
Change-Id: I846d99918aac6ae3dc699ed06233b1f4fa5ea78b
On python3 send fails with TypeError: a bytes-like object is required,
not 'str', this patch solves this issue.
Closes-Bug: #1820154
Change-Id: I700462a9a5bcc66b2edf05e4e0396556e381a8c1
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.
Change-Id: I128f18d83a950b31e1e8c5a475d6e21a1987242f
As it was announced [1] global bindep-fallback.txt was removed and now
projects need to have a local bindep.txt to be able to install binary
dependencies for testing.
In test jobs the script tools/test-setup.sh is called which requires
mysql and postgres servers and clients to be installed.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html
Change-Id: Iad7a49bae622cbae5203d69170e52c81e3066ba1
Import jobs from project-config and update them:
* Use python36 instead of python35, since py35 is out of scope
for current cycle.
* Switch to using "tox -e docs" for docs building - using
build-openstack-docs-pti template. This does not publish since
networking-l2gw is not an official OpenStack project under governance
anymore.
Update tox.ini for docs change.
Since this now uses python3 for docs building, switch from oslosphinx
(only working with python2) to openstackdocstheme.
Use new URL for upper-constraints file everywhere.
Update RST files where new sphinx was producing errors.
Needed-By: https://review.opendev.org/661542
Change-Id: Ic59f532e31647bc58aba236bf440b7bca934d36d
bump lower-constraints for neutron, ovs, psycopg2 and SQLAlchemy, and as
extra fix the failing unit test.
Change-Id: I751b716cf22ce91197fc30e44969957acdef7e84
Depends-On: https://review.opendev.org/659960