Commit Graph

1199 Commits (master)

Author SHA1 Message Date
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
Renat Nurgaliyev b9c085b85f
Consume BGP service plugin queue in RPC workers
This patch adds BGP service plugin RPC queue to RPC workers, like it is
done in other Neutron service plugins (l3-plugin, metering, etc.).
Without it some RPC requests and AMQP heartbeats are not processed in
time, causing AMQP connection dropping, and other unpredictable unwanted
behavior.

Closes-Bug: #1974057
Change-Id: I1b13f01ca47c8390f1361e01d5eb313fe2fc417f
2022-05-18 18:09:16 +02:00
Ghanshyam Mann 61817eaeee 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: Icf6beac7ee3150b719392c0b44c474510398b70a
2022-05-11 22:24:21 -05:00
Ghanshyam Mann 41fb4259d8 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: I807879cb17f1b5a97d75a5224dd339a0106aaeab
2022-04-30 20:29:15 -05:00
silvacarloss 180396b18c Register common config options by default
The [1] change modified the behavior Neutron had, which used to
force the default config options to be automatically set.

Neutron-dynamic-routing expects some of the default config options
to be set while initializing some services. If they are not set
the initialization will fail [2].

This change invokes the method that sets such config options to
fix this initialization issue.

[1] https://review.opendev.org/c/openstack/neutron/+/837392
[2] https://paste.opendev.org/show/b8DReLeBPl9xTGooN8wu/

Releated-Bug: #1968606
Change-Id: Ib3bdf9b19feb68647460814cc973699622d0a6e8
2022-04-21 08:38:46 +00:00
elajkat be5cb2cf4b Add weekly jobs
Add jobs to the weekly periodic pipeline (see [1]).
Current jobs to be run weekly: openstack-tox-py39,
neutron-tempest-plugin-dynamic-routing and
neutron-dynamic-routing-functional.

[1]: https://opendev.org/zuul/project-config/src/branch/master/zuul.d/pipelines.yaml#L130

Change-Id: I682118a1369e125b95becd984dde88c1590625b1
2022-03-21 15:43:19 +01:00
OpenStack Release Bot 0711dcf5b9 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

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

Change-Id: I48965cdb4bbfbc8b7c0642921c6aa80a80e5d911
2022-03-10 08:17:00 +00:00
OpenStack Release Bot ef13d27f3b 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: I7e9451a9fdd00922055c9a42c14ae3f423c13a41
2022-03-10 08:16:59 +00:00
Zuul 3d5cabaf57 Merge "Use TOX_CONSTRAINTS_FILE" 2022-01-28 09:23:19 +00:00
shanyunfan33 c955e8165a Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I802a996bac02b30c46d71ba998bcf0c2961612dc
2021-12-24 16:50:07 +08:00
shanyunfan33 627695cf53 remove unicode from code
remove unicode from code

Change-Id: Ibb3478ebbb234e76748db17e3d86eb9da86cc54b
2021-12-24 14:38:26 +08:00
Dr. Jens Harbott 8a0ddf6051
Add a StaticScheduler without automatic scheduling
The automatic scheduling that was introduced in [0] is having some
issues. Add a StaticScheduler that can be used as an alternative for
deployments that want explicit control over where their BGP speakers are
getting scheduled.

Add a job that runs with the new scheduler.

[0] https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/478455

Depends-On: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/815294
Closes-Bug: 1920065
Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: Ib7fcd0c7371bc75089b10024ee1b6e75c98f0188
2021-11-04 15:21:51 +01:00
Zuul be4bf54c30 Merge "Drop dsvm-functional tox env and related files" 2021-09-27 08:44:55 +00:00
Zuul 868f12015e Merge "Fix Mako in lower-constraints" 2021-09-24 13:11:00 +00:00