Commit Graph

3418 Commits

Author SHA1 Message Date
OpenStack Release Bot b1bc75dec6 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: I3be60bcd95ee2e4cfa609599e4345dc1d56cc5ac
2024-03-07 15:37:56 +00:00
Zuul aa6474ea7c Merge "reno: Update master for unmaintained/victoria" 2024-03-07 15:16:44 +00:00
Zuul 24116af749 Merge "reno: Update master for unmaintained/wallaby" 2024-03-07 15:16:43 +00:00
OpenStack Release Bot a6b15d319a reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: Ic40e95d7a0647501dd6cba76207e4a482f99c631
2024-03-06 12:20:15 +00:00
OpenStack Release Bot 808feb0782 reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Icbd5af38e762c7f651c85a742b18cfd7f3e32aa2
2024-03-06 12:12:21 +00:00
OpenStack Release Bot 48041518c6 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I07b112a0e625dcf7afffdc0adcfee438d0350bbe
2024-03-06 12:02:15 +00:00
OpenStack Release Bot 5a19480aa5 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I7ea78e1d6229636656170fdda872c285699a6ba5
2024-02-05 16:46:50 +00:00
Takashi Kajinami 6723b3e1f8 tox: Drop envdir
tox now always recreates an env although the env is shared using envdir
options.
~~~
$ tox -e genpolicy
genpolicy: recreate env because env type changed from
{'name': 'genconfig', 'type': 'VirtualEnvRunner'} to
{'name': 'genpolicy', 'type': 'VirtualEnvRunner'}
~~~

According to the maintainer of tox, this functionality is not intended
to be supported.
https://github.com/tox-dev/tox/issues/425#issuecomment-1011944293

Change-Id: I4a130d3b3d6ec1ca4d564ba7c17f6ce0486847d2
2024-02-02 23:57:41 +09:00
Thomas Goirand b70478452d Use importlib not imp
The imp module is gone from Python 3.12, but importlib has
the same reload() function. Let's use it.

Change-Id: Iab4381e743a443285a86941de195189e26e9e0fc
2023-12-12 16:59:30 +01:00
Zuul a6f1d2b96e Merge "Avoid RuntimeError caused by iteration over sys.modules" 2023-11-13 19:06:55 +00:00
Takashi Kajinami c57f2cc6ff Avoid RuntimeError caused by iteration over sys.modules
As is described in the doc[1], we should not iterate over sys.modules
directly because sys.modules can be changed during iterations.

[1] https://docs.python.org/3/library/sys.html#sys.modules

Change-Id: Iad4e19744ee78996728e44f3a1446c1c282ad437
2023-11-10 18:29:08 +09:00
Takashi Kajinami 15d41af6d7 Fix python shebang
The current shebang requires /usr/bin/python which is not available in
Ubuntu Jammy by default.

Change-Id: I3765d2b73843db0137fe79065ab4051e1e52eab3
2023-10-17 16:03:54 +00:00
OpenStack Release Bot 3ccb56074c Update master for stable/2023.2
Add file to the reno documentation build to show release notes for
stable/2023.2.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.

Sem-Ver: feature
Change-Id: I70f0dad1a5a27f5b20c0e792462d56b291dd1f78
2023-09-07 09:41:13 +00:00
Stephen Finucane c18ac550d5 Remove duplicate requirements files
Change-Id: I26fcfc6742a4434eafb12f96a634c71bc0cf72d6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-09-04 15:52:12 +01:00
Stephen Finucane 3fdfa3b230 Remove unused requirements file
Made me think we were using sphinx_rtd_theme here. We are not.

Change-Id: I16a6cee70f153d95fc0b723e2ca1a39a2ac4398b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-09-04 15:52:09 +01:00
yatinkarel c2106addcf [CI] Run a ml2/ovs job
tempest-integrated-networking setups ml2/ovn and that
doesn't uses os-ken library. Let's run a ml2/ovs specific
job instead.

Depends-On: https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/892450
Closes-Bug: #2032738
Change-Id: I4264e51b563c8f012f7263275ccbb265e7fb0409
2023-08-23 11:19:39 +05:30
Zuul 41c852e455 Merge "Cleanup py27 support" 2023-08-21 02:52:45 +00:00
Zuul 8e5a7b46a2 Merge "Remove superfluous sudo" 2023-08-18 10:00:55 +00:00
Dr. Jens Harbott a87d983e88 Add Python 3.10 support to setup.cfg
We have been running tests on Python 3.10 for some time and it is the
default deployment platform for Neutron.

Change-Id: Ic5f2086c958ceb5763c48d5c71ed2d99f757f7dd
2023-08-17 12:03:01 +02:00
Brian Haley 8cd03eb2e4 Remove superfluous sudo
In a recent test run for neutron-dynamic-routing I noticed
the command 'sudo sudo docker images'. Remove the superfluous
'sudo' as it is unnecessary.

Trivialfix

Change-Id: I89479892b2a8f887fecce597d288898707ae4127
2023-08-17 09:58:56 +00:00
wangjiaqi07 760bfb5869 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py

Change-Id: I78824ed310bc16f7af96757e803510ace2a7757b
2023-08-17 09:58:21 +00:00
Dr. Jens Harbott 6f285a65f0 Add releasenote for quagga fix
This was missed in [0].

[0] I6bbd88c0d66bffa0a310364e26cd73286524fee3

Change-Id: I241bd8c881e3cca170b1cba99862181689a8bb2e
2023-08-17 11:56:24 +02:00
Dr. Jens Harbott 17570b4c24 Fix quagga container
The quagga container failed to work because docker now seems to reset
the permissions of the /run folder on starting. The solution is to
set the permissions in the startup script.

Use the opportunity to switch to a newer base container. We cannot go
beyond ubuntu:20.04 though, since after that quagga has been replaced by
frr, which will require some deeper changes.

Change-Id: I6bbd88c0d66bffa0a310364e26cd73286524fee3
2023-08-17 11:09:35 +02:00
Dr. Jens Harbott e9dc289d33 Make neutron-dynamic-routing job non-voting
The job is currently failing, but it is not using os-ken from git
properly, so it will need a new release to be made in order to pass
again. Make the job non-voting until it can be fixed.

Change-Id: I5b4ad678bb556d5225e8d9ca77bd96507aa8a56c
2023-08-17 11:09:35 +02:00
Zuul dcd0d1a1ee Merge "Docs build: Add requirements.txt to deps" 2023-03-06 11:13:59 +00:00
OpenStack Release Bot 7e280fdc7b Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I0cc5c87e18dbcccfbdee3f63a50209e14e180218
2023-03-02 13:26:21 +00:00
Rodolfo Alonso Hernandez 6dfd5da306 Docs build: Add requirements.txt to deps
Since we use usedevelop=True, as a result os-ken
installation happens at 'develop-inst' phase and it installs
requirements from requirements.txt without considering
tox constraints. This can lead to issue where broken
requirements are installed in docs job and as a result
it will fail.

In order to get constraints be considered for this case, add
requirements.txt to deps for docs env.

Change-Id: Id2975423df7d7c643f10f25e64d61d3680fcb38b
2023-03-01 23:53:57 +01:00
Rodolfo Alonso Hernandez 5f986ac16d Fix tox.ini for tox4
Change-Id: I58447f29a8435ad49ecb70c7e04c272d0d83e3b2
2023-02-15 21:35:44 +00:00
Rodolfo Alonso Hernandez e28853266b Update nx_actions.py, fixing a typo on example
Backport from https://github.com/faucetsdn/ryu/commit/5b1343

Story: #2009283
Task: #46864
Change-Id: Ia2199a2d379baa65733c476e9652999cc3d37344
2022-11-17 12:22:44 +00:00
Benjamin Beasley fc75bd821b Add msgpack 1.0 support
This project now only supports msgpack versions >= 1.0.0

Backport from https://github.com/faucetsdn/ryu/commit/aa10ca

Story: #2009283
Task: #46863
Change-Id: I3bfd54851717238330af82655361b7b631079f59
2022-11-17 12:22:32 +00:00
Benjamin Beasley f10f2b2852 Enforce new msgpack format (use_bin_type=True)
Enforce new msgpack format (use_bin_type=True) in
ryu.services.protocols.bgp.net_ctrl.RpcSession; this option
is already used in ryu.lib.rpc.MessageEncoder

Backport from https://github.com/faucetsdn/ryu/commit/8990ed

Story: #2009283
Task: #46863
Change-Id: I2f04d74f85ade54e0826494f078c88a2a3e24a55
2022-11-13 18:47:22 +01:00
OpenStack Release Bot 0acd272cd1 Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I83e2f8e18296e87ae50ae54664105c8318dc952c
2022-09-14 09:27:37 +00:00
OpenStack Release Bot d04542595d Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I33a03d1c95cd0e24eced7ae55501711ef1a75010
2022-09-09 11:47:53 +00:00
niuke b5a7202735 Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update
this at each new cycle.

Change-Id: I19bcaf52e8e37c77e7b9d3b8088c29a9429def44
2022-08-18 06:48:46 +00:00
niuke 6a7cb9c994 remove unicode prefix from code
Change-Id: I5fe3d44c24cf32a70bf398b6e2cd4ac15076fae4
2022-08-11 19:42:20 +08:00
Rodolfo Alonso Hernandez abb436deb3 Remove "six" library
This patch also removes some unneeded imported libraries.

Story: #2010182
Task: #45863
Change-Id: Ife9d349eb9c92f2a39719e76e82fe20c010fe230
2022-07-26 14:53:03 +00:00
Rodolfo Alonso Hernandez 2495ebdff9 Remove "nose" library
The library "nose", used for unit testing, is removed. This library
is in maintenance mode and is not compatible with Python3.10 [1].

Now all checks are implemented using "unittest". The methods are not
loaded in realtime into the test case execution; instead of this, this
patch uses "testscenarios.WithScenarios", that allows to execute the
same test with different defined scenarios.

NOTE: "BgpSpeakerTestBase" tests are disable temporarily. It is needed
to configure "docker" in the system in order to execute them.

[1]https://nose.readthedocs.io/en/latest/

Story: #2010063
Task: #45519

Change-Id: I92e9547a26e9bec6c2a9a011c49a70b82dbb373e
2022-07-21 16:02:02 +02:00
Zuul 90328068b8 Merge "Remove "distutils" dependency" 2022-05-18 14:47:25 +00:00
Zuul 6a747aaf0f Merge "Update python testing as per zed cycle teting runtime" 2022-05-18 14:47:23 +00:00
Rodolfo Alonso Hernandez f66debc7ec Remove "distutils" dependency
The library "distutils" will be deprecated in Python 3.10:
https://peps.python.org/pep-0632/

Story: #45393
Change-Id: I7cf48a5e56c28d6161c6dfef162871cedb1f1c46
2022-05-13 03:35:21 +00:00
Hervé Beraud 88683465f5 Fix typo
Change-Id: I3f87e723a94df97912ac310618971f590636bd67
2022-05-12 16:21:57 +02:00
Ghanshyam Mann 51d1eed164 Update python testing as per zed cycle teting runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: I46da9a7a84a2f628030206d3ac3f75beeeff46b4
2022-05-11 22:12:20 -05:00
Ghanshyam Mann 712535f6be Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.

[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal

Change-Id: I2a42a907170a6fcd8cae245f864121fd12422ef0
2022-04-30 20:27:36 -05:00
OpenStack Release Bot ab2115aa40 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: I6b705517c8b7cad53f32b85bf355b866947d0111
2022-03-03 10:51:57 +00:00
elajkat 58a3939239 Avoid missing key 'password' for neighbor_add
Change-Id: Iffa8f8da017364a3b471475a4123356e2030dba5
Story: 2009779
Task: 44260
2022-01-12 19:10:02 +01:00
elajkat 974ccdabd2 Avoid logging MD5 password for BGP add neighbor
Change-Id: I12e9b23749e40f56e947377409ff2882adc25205
Story: 2009779
Task: 44260
2022-01-11 17:50:39 +01:00
Bernard Cafarelli a72de9a81d
Add requirements.txt to tox environment
This was spotted in [0] backport, upper constraints are not applied
correctly without it (and this aligns with the typical deps in other
projects)

[0] https://review.opendev.org/c/openstack/os-ken/+/823758

Change-Id: If2bbc92db09f3240ef9848f0db26ebcb709a2d3c
2022-01-10 11:20:15 +01:00
Zuul 7911ff1820 Merge "Bump min eventlet version to 0.26.1" 2021-11-04 11:28:27 +00:00
Zuul 13d07f6278 Merge "add ofproto 1.3 coverage, check key-error and attribute-error." 2021-11-04 11:28:19 +00:00
Slawek Kaplonski e70fe7e205 Bump min eventlet version to 0.26.1
That version have fix for the issue with Python 3.7. See
[1] for more details.

It is done instead of backporting ryu workaround
ddb32f678a

[1] https://github.com/eventlet/eventlet/issues/526

Story: #2009283
Task: #43563
Change-Id: I5bb684c75bde1512f379127520b840f55f0e42ab
2021-11-02 21:56:18 +01:00