Commit Graph

1212 Commits

Author SHA1 Message Date
Rodolfo Alonso Hernandez 9f6dc5527c Bump Neutron to 24.0.0.0b1
This new version has [1] and won't fail with the latest neutron-lib
release that removed the LBaaS constants in [2].

[1]https://review.opendev.org/c/openstack/neutron/+/902048
[2]https://review.opendev.org/c/openstack/neutron-lib/+/902133

Closes-Bug: #2057770
Change-Id: I8b3debfbfa36376fa6c7567b898a0abb48babcf5
2024-03-10 05:09:15 +00:00
OpenStack Release Bot b297b47f56 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: I23584d5a7e46cb3298183aea2056000fb95c56a2
2024-03-12 19:21:31 +00:00
Zuul 1e9af32ecf Merge "reno: Update master for unmaintained/victoria" 2024-03-06 13:31:32 +00:00
Zuul ecddaa9433 Merge "reno: Update master for unmaintained/wallaby" 2024-03-06 13:31:30 +00:00
OpenStack Release Bot aee19df919 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I11c89e32ffd82fd9ad6552eeeedc8b13b0ccf934
2024-03-06 12:16:25 +00:00
OpenStack Release Bot 3e08345d1e reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: Ibbeb3d3ac41fed2aa2bd60c1d3621a670cf14149
2024-03-06 12:06:38 +00:00
OpenStack Release Bot 20ee621b52 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: I8f08d4101b6c97155235f7c18ca920639936f89e
2024-03-06 11:57:29 +00:00
elajkat e26ff19a7c 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: I6b87ff7ad426b6a872286eb18a97885863cc6ce1
2024-02-06 11:45:06 +01:00
OpenStack Release Bot 60aae6dec8 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: If035cc55f5ac7c1f5941d095a5840bb4ea1a1b6f
2024-02-05 16:45:49 +00:00
Zuul 7462beb8ac Merge "Exclude tests directory from coverage calculation" 2024-01-26 16:03:45 +00:00
Takashi Kajinami 7280204662 Exclude tests directory from coverage calculation
Change-Id: I514df1e21b23bee07c093ea440423f3e0495d999
2024-01-25 14:46:07 +00:00
elajkat 9f355521d7 Update python classifier with py3.10 & py3.11 in setup.cfg
Change-Id: Icb340011d113903f6b610cc752344240c4a83a6a
2024-01-11 13:20:00 +01:00
elajkat 00a83aa706 py311: Change weekly py310 to py311
Change-Id: I5c6c6de2dfb3a52e6fddcb11f3c81415aab11685
2023-09-28 09:31:50 +02:00
OpenStack Release Bot 78388bb9be 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: Ic175708d4574b514a7119d498786e83dd15bf1ba
2023-09-14 01:25:57 +00:00
Rodolfo Alonso Hernandez f7baab86ac Bump Neutron to 23.0.0.0b3
That syncs the Neutron code with the latest neutron-lib version
released (3.8.0).

This patch also adds the "network.ha" definition extension to
the tests core plugin.

NOTE: both LP bugs must be fixed in one patch to fix the unit
tests CI job.

Closes-Bug: #2033493
Closes-Bug: #2033508
Change-Id: Ie22d9bcb943205e20380b92dc33d48f398a86470
2023-08-31 11:03:14 +00:00
yatinkarel 24db9d0f2a Install os-ken from git repo
Currently jobs with "os-ken" in LIBS_FROM_GIT installs os-ken
from pypi but instead should be installed from git.

Partial-Bug: #2032738
Related-Bug: #2031526
Change-Id: I6b9c28f0cdb1e135052d57c7927b3573f1670a8c
2023-08-23 11:05:05 +05:30
Dr. Jens Harbott 2b75e2bfdc doc: Add IPv6 usecase
This practical example shows a typical deployment usecase that provides
global IPv6 prefixes for tenant networks.

Change-Id: I15c0970f06abb2a710a4c3cfd7bcdb626dafd9cf
2023-08-11 13:15:40 +02:00
Rodolfo Alonso Hernandez 513ea649be [alembic] Alembic operations require keywords only arguments
Since [1] (release 1.11.0), the Alembic operations "now enforce
keyword-only arguments as passed as keyword and not positionally"
(from the commit message).

This change is compatible with the previous versions (as confirmed
in the CI).

[1]df75e85489

Closes-Bug: #2019948
Change-Id: I71f59da65edc163aa5891cf0b0d9768d2538b7a7
2023-05-17 11:28:39 +00:00
Felix Huettner bf54f03ce5 fix unittest issues caused by neutron rbac changes
neutron recently merged a commit enabling secure rbacs by default [1].
However this commit breaks the unittests of neutron-dynamic-routing.
To fix this we run multiple calls as admin, to allow them to succeed.

[1]: 670cc383e0

Closes-Bug: 2019097
Change-Id: Iadc9b819ce4aaf6029e77f53ce0616aa70119c70
2023-05-17 10:23:32 +02:00
Zuul dd16db1bdf Merge "Add neutron and neutron-lib projects to SQLAlchemy main branch job" 2023-04-17 07:33:37 +00:00
Rodolfo Alonso Hernandez c080147b0f [sqlalchemy-20] Add reader context to ``get_bgp_peers``
Closes-Bug: #2016137
Change-Id: Iafe35cd481bdc98b594d62ec6945991dcde6089c
2023-04-13 14:52:37 +02:00
elajkat 46d83cfe5c Add neutron and neutron-lib projects to SQLAlchemy main branch job
Change-Id: Iec4be7776ee13c02eb746539bc2add4b9989596e
Related-Bug: #2004265
2023-04-12 11:57:47 +00:00
Nurmatov Mamatisa 4810b8e631 Use neutron-lib policy rules
Change-Id: I09c1c2f55e144e65da3c05a474216e387393d873
2023-03-09 10:47:39 +03:00
Dr. Jens Harbott e9529f7dc5 Add a reno for the fixed address scope calculation
[0] Ic6d48a86043aaf4b458bb2230883a355fc841ee9

Change-Id: Ia3593a6d2183c7621a5a39bf1a3023fc28e0f5ed
2023-03-03 14:33:16 +01:00
OpenStack Release Bot 075d251ed5 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: If8ac9c9a6b93b4efd78d78859c26aab32a48a480
2023-03-01 09:31:30 +00:00
elajkat d41c3f0749 CI: Add periodic weekly job with sqlalchemy master
Add new job to periodic weekly
openstack-tox-py310-with-sqlalchemy-master, and change previous
jobs in the periodic to py310

Change-Id: I27e42a03e9be99aef26807226c281eaff3449be4
2023-02-21 14:02:54 +01:00
elajkat 37a8a1aae6 Use SLQAlchemy ORM "relationship" instead of "relation"
Similar patch: [2]
"relation" was deprecated in SQLAlchemy 1.4 [1].

[1]https://docs.sqlalchemy.org/en/14/orm/relationship_api.html#sqlalchemy.orm.relation
[2]: https://review.opendev.org/c/openstack/neutron/+/872271

Change-Id: I0ec4b79f18df828e96e989a8e97dd3d7a879e1ea
Closes-Bug: #2004258
2023-02-01 09:14:08 +01:00
Dr. Jens Harbott 67403537e6 Delete empty reno branches
There were no releasenotes for Newton, Ocata or Pike, so drop those from
the index.

Change-Id: I287f57947339d62bcb7a5a437839dc9f44375a2e
2022-12-28 06:21:22 +00:00
Dr. Jens Harbott 13ffdf43e3 Add oslo.log to config generator
The generated configuration example file was showing an empty [DEFAULT]
section, which is confusing. Add the oslo.log namespace since it is
actually used for configuration of the logging output.

Change-Id: I452cd33ebb5ff8e4bbc6acd00104653769b4003c
2022-12-28 06:21:13 +00:00
Dr. Jens Harbott 7ef8db9c49 Fix for tox4.0
Drop global skipsdist option from tox.ini.

Change-Id: Ib464495bbedeeee801930e914a86e72b44865fa2
2022-12-28 06:20:50 +00:00
Dr. Jens Harbott 8bee5cc07e Fix tox.ini for tox4
Use allowlist_externals instead of whitelist_externals.
Execute shell script with bash.

Change-Id: If34dbe6c8456ade6e37951a70a89bc5d22de3048
2022-12-08 09:39:08 +01:00
Zuul 74c3f7b2f3 Merge "Fix address_scope calculation" 2022-12-01 13:18:03 +00:00
ROBERTO BARTZEN ACOSTA feff164b60 Fix address_scope calculation
Fix in the iteration to obtain address_scope linked to a subnet.
A network can be linked to more than one subnet (ipv4 and ipv6),
but if one of them does not have an address_scope, a null object
element access failure occurs.

Closes-bug: #1998104
Change-Id: Ic6d48a86043aaf4b458bb2230883a355fc841ee9
2022-11-30 10:59:36 +00:00
elajkat c5a2214b4a Cleanup tox.ini
For details see the mail:
https://lists.openstack.org/pipermail/openstack-discuss/2022-November/031343.html

Change-Id: Ib1406e3c3c394765e289c36b0f3abccc36db467f
2022-11-29 12:09:39 +01:00
elajkat ed5b04acc2 CI: Add openstack-tox-py39-with-oslo-master to periodic weekly queue
Change-Id: I74bca3949de6c59459ae1b48cc5bbd7f1e01d798
2022-10-21 09:42:51 +00:00
OpenStack Release Bot 7b52f83f10 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: I502f4d62e7304642b2284eb5f18c9e6fddb7c520
2022-09-16 09:56:33 +00:00
OpenStack Release Bot 51a528a630 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: I14081083ac855f034ee086ff59d890f66c6a11b5
2022-09-16 09:56:30 +00:00
Dr. Jens Harbott abfd71ce42 Add releasenotes for fixes made in this cycle
Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I856af3f0143e75253d001b50e70a418c1cac89f6
2022-09-14 13:19:29 +02:00
Takashi Natsume 1c15cd1bc5 Fix misuse of assertTrue
Replace assertTrue with assertEqual.

Change-Id: I0f0b6e5a7a4b7799ecda2fcc5b5179c0f97fd44f
Closes-Bug: 1989254
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
2022-09-10 22:17:59 +09:00
Zuul ddac34b384 Merge "Don't run periodic actions for StaticScheduler" 2022-08-18 09:28:17 +00:00
Zuul 4583487487 Merge "[sqlalchemy-20] Add (still) missing DB context decorator" 2022-08-16 09:40:23 +00:00
Zuul f2a827ec0c Merge "[sqlalchemy-20] Add missing DB context decorators" 2022-08-16 09:40:17 +00:00
Takashi Kajinami d98b177a26 [sqlalchemy-20] Add (still) missing DB context decorator
This fixes one query still being executed without context decorator,
which is causing the warning messages.

Related-Bug: #1980671
Closes-Bug: #1984238
Change-Id: I3eba9c919e153dd253988fee31a7cebaf3cad773
2022-08-12 01:46:53 +09:00
Zuul e6f8165254 Merge "Fix missing functions in StaticScheduler" 2022-08-04 10:41:02 +00:00
Dr. Jens Harbott acfcd04dd4 Don't run periodic actions for StaticScheduler
We want bindings to be fully static when using the StaticScheduler, so
do not run the periodic actions in that scenario.

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I2d874ce7170cdf3d81940dbe64960247b244fe87
2022-08-02 09:38:02 +02:00
Dr. Jens Harbott 2e7b595268 [sqlalchemy-20] Add missing DB context decorators
Some more queries were being executed without context decorator,
leading to warning messages in the log.

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: Ia66bcd0c90f0013d8bd7b2792759e3a6474bb5e0
2022-08-02 08:52:01 +02:00
Dr. Jens Harbott 012f2358d2 Fix missing functions in StaticScheduler
Seems the original approach was too simple, it is causing some
tracebacks due to missing functions.

Closes-Bug: 1980235
Change-Id: I15ef7ec34eeccf4dfcce94b3bca2c853c4c4a609
2022-08-01 16:41:39 +02:00
Zuul 608037e8fa Merge "[sqlalchemy-20] Add missing DB context decorator" 2022-07-11 12:20:45 +00:00
Zuul f9b9ae70a4 Merge "Consume BGP service plugin queue in RPC workers" 2022-07-08 14:09:26 +00:00
Dr. Jens Harbott 0d2782fb7e [sqlalchemy-20] Add missing DB context decorator
One query was being executed without context decorator, leading to
warning messages in the log.

Closes-Bug: 1980671
Change-Id: Iebdc16e32193a6bc1eea5ea69c16f4aca5bd4526
2022-07-04 16:55:45 +02:00