28423 Commits

Author SHA1 Message Date
Ihar Hrachyshka
fdcd98464b refactor: use the new py39 dict | dict syntax to make a union
Change-Id: I335af032f8ae503e87b1fcdc781b3ebb5cf79cb8
2024-09-26 01:53:18 +00:00
Zuul
545c1466e2 Merge "Bump skip-level lower version to stable/2024.1" 2024-09-25 08:22:23 +00:00
Zuul
3f6f12015f Merge "refactor: don't calculate list of attached lbs for every lb" 2024-09-24 21:17:12 +00:00
Zuul
5fffc3bc85 Merge "refactor: unindent some indents in _handle_lb_fip_cmds" 2024-09-24 21:14:10 +00:00
Zuul
6a8e9ca562 Merge "Fix usage of removed external_network_bridge option" 2024-09-24 18:03:30 +00:00
Takashi Kajinami
8ffb9d0fa7 Remove remaining figure for TripleO installation document
This was overlooked when the documentation was removed by [1].

[1] 3997367300b7d9c0159f5dacc10dac31cce1d3bd

Change-Id: I3d42cd865427e8870c956986d3c8bd8a43d497ee
2024-09-24 22:53:16 +09:00
Zuul
e465df70ca Merge "Drop ovn migration for TripleO deployments" 2024-09-24 08:53:27 +00:00
Zuul
9001bff411 Merge "Remove install document for TripleO deployments" 2024-09-24 08:53:22 +00:00
Zuul
e9acc14d37 Merge "refactor: remove some unused variables" 2024-09-24 01:29:48 +00:00
Takashi Kajinami
2eba495e22 Drop ovn migration for TripleO deployments
TripleO project has been retired[1]. Remove the migration tool
implemented specifically for TripleO deployments.

Change-Id: I32775a0aa963b65a3900a87f28a88ab63901a8a0
2024-09-24 01:19:50 +00:00
Takashi Kajinami
3997367300 Remove install document for TripleO deployments
... because TripleO project has been retired.

Also remove the example environment file for TripleO.

Change-Id: I3f3985cc9afafaaa7101cab55875ea640103dea6
2024-09-22 07:30:37 +00:00
Takashi Kajinami
d622e264c7 Fix usage of removed external_network_bridge option
This option was removed by b09b44608b1e5b787c686c6ce52bb37480fb5129 .
Update the unit test code not to register the option to config mock.

Change-Id: I87e2a2ede6a375e62835a0ea131240031a02f76d
2024-09-22 14:53:40 +09:00
Zuul
3abf7309a1 Merge "i18n: add missing translation markers" 2024-09-21 19:42:48 +00:00
Ihar Hrachyshka
8aa67711f6 refactor: remove some unused variables
Change-Id: I007e85b74c13e93c41220ec9b2c6d29c5eea536e
2024-09-20 21:05:57 -04:00
Ihar Hrachyshka
b8c53fae43 i18n: add missing translation markers
Change-Id: If8cf8008a476e57c755c1fe3c3e0401d8a29a3ad
2024-09-20 20:00:45 -04:00
Rodolfo Alonso Hernandez
1e6ab531e2 Use neutron-lib constants IPv4_ANY and IPv6_ANY
Use these constants wherever is possible and replace the duplicated
constants.

TrivialFix

Change-Id: I19cabbc5b0701e9e791143378fe95a5d509b6d79
2024-09-19 22:53:14 +00:00
Zuul
6d38e7d975 Merge "refactor: slightly more explicit return value" 2024-09-20 08:36:53 +00:00
Zuul
e767176a65 Merge "refactor: don't serialize all switches on each lb checked" 2024-09-20 07:47:02 +00:00
Zuul
135041ca3a Merge "Change the load method of SG rule "default_security_group"" 2024-09-20 01:33:34 +00:00
Zuul
e9cad1e63f Merge "Open the 2025.1 (Epoxy) DB branch" 2024-09-20 00:17:30 +00:00
Zuul
b7bb2d6829 Merge "Handle EndpointNotFound in nova notifier" 2024-09-19 22:21:13 +00:00
Zuul
cd51c72fc8 Merge "Correct logic error when associating FIP with OVN LB" 2024-09-19 20:03:31 +00:00
Ihar Hrachyshka
cc386fcc24 refactor: don't calculate list of attached lbs for every lb
Change-Id: Ibb2390a7fba9cfcb1aec48fd339c04e8a1fdafba
2024-09-19 12:28:22 -04:00
Ihar Hrachyshka
449dde1798 refactor: unindent some indents in _handle_lb_fip_cmds
Change-Id: I63f7d879336b9df3122da195e7a572be4af4514d
2024-09-19 16:27:16 +00:00
Ihar Hrachyshka
6546b285bf refactor: slightly more explicit return value
Change-Id: I1d4b404f766749e69da2f77b0848a20160507ca3
2024-09-19 12:26:53 -04:00
Ihar Hrachyshka
e3afed4087 refactor: don't serialize all switches on each lb checked
Change-Id: I9ff1c1d93ef93a77d72a2624aeea61caaf22f25e
2024-09-19 12:24:17 -04:00
Will Szumski
d8a4ad9167 Correct logic error when associating FIP with OVN LB
Fixes a logic error which meant that we didn't iterate over all logical
switches when associating a FIP to an OVN loadbalancer. The symptom was
that the FIP would show in neutron, but would not exist in OVN.

Closes-Bug: #2068644
Change-Id: I6d1979dfb4d6f455ca419e64248087047fbf73d7
Co-Authored-By: Brian Haley <haleyb.dev@gmail.com>
2024-09-19 16:02:57 +00:00
Rodolfo Alonso Hernandez
c1b05e29ad Change the load method of SG rule "default_security_group"
Since [1], the SG rule SQL view also retrieves the table
"default_security_group", using a complex relationship [2].
When the number of SG rules of a SG is high (above 50 it
is clearly noticeable the performance degradation), the
API call can take several seconds. For example, for 100
SG rules it can take up to one minute.

This patch changes the load method of the SG rule
"default_security_group" relationship to "selectin".
Benchmarks with a single default SG and 100 rules,
doing "openstack security group show $sg":
* 2023.2 (without this feature): around 0.05 seconds
* master: between 45-50 seconds (1000x time increase)
* loading method "selectin" or "dynamic": around 0.5 seconds.

NOTE: this feature [1] was implemented in 2024.1. At this
time, SQLAlchemy version was <2.0 and "selectin" method was
not available. For this version, "dynamic" can be used instead.

[1]https://review.opendev.org/q/topic:%22bug/2019960%22
[2]08fff4087d/neutron/db/models/securitygroup.py (L120-L121)

Closes-Bug: #2081087
Change-Id: I46af1179f6905307c0d60b5c0fdee264a40a4eac
2024-09-19 14:09:36 +00:00
7d1a20ed4d Handle EndpointNotFound in nova notifier
Currently if the nova endpoint do not exist
exception is raised. Even the endpoint gets created
notification keeps on failing until the session
expires.
If the endpoint not exist the session is not useful
so marking it as invalid, this will ensure if endpoint is
created later the notification do not fail.

Closes-Bug: #2081174
Change-Id: I1f7fd1d1371ca0a3c4edb409cffd2177d44a1f23
2024-09-19 18:38:23 +05:30
Brian Haley
15f2b89f10 Bump skip-level lower version to stable/2024.1
During the 2025.1 release, the lower version of grenade "skip-level"
jobs should be stable/2024.1.

During this release (SLURP), these jobs are now executed in the
"check" queue as voting.

Change-Id: I25faa22db7688eabfc702d0101804ae4ba23dcb0
2024-09-18 10:04:25 -04:00
Zuul
08fff4087d Merge "Update master for stable/2024.2" 2024-09-14 18:05:08 +00:00
Zuul
e52d029911 Merge "Add source interface in "ping" command in `ARPSpoofTestCase`" 2024-09-13 14:22:01 +00:00
987924fb22 Update master for stable/2024.2
Add file to the reno documentation build to show release notes for
stable/2024.2.

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

Sem-Ver: feature
Change-Id: I65298c0d198ebfe97635295c8a0deabdc88424e3
2024-09-13 11:13:48 +00:00
Zuul
793617495f Merge "Degrade openstack-tox-py311-with-sqlalchemy-master to periodic" 2024-09-13 06:54:08 +00:00
Ihar Hrachyshka
51f4f7a176 Degrade openstack-tox-py311-with-sqlalchemy-master to periodic
The job was added to check queue during sqlalchemy 2.0 transition. We
are past the transition, so let's not waste gate resources (and
developers attention).

Change-Id: Ic4e2d91f03ce29e8ce83c393e95cb1dce29b3457
2024-09-12 21:04:20 +00:00
Rodolfo Alonso Hernandez
bd64937eec Open the 2025.1 (Epoxy) DB branch
Change-Id: I37ffef68f2790dd3dbbebdcf253abfd989ed41d8
2024-09-12 00:22:18 +00:00
Zuul
dd3853007b Merge "Enable iptables debugging in the L3 agent functional tests" 25.0.0.0rc1 2024-09-10 12:17:18 +00:00
Slawek Kaplonski
642b291032 Enable iptables debugging in the L3 agent functional tests
This patch enables debug_iptables_rules config option in the L3 agent
related functional tests.

Related-Bug: #2079048
Change-Id: I6cb17b149626fb88c82937e046632dc8ca8d7ced
2024-09-10 11:14:19 +02:00
Rodolfo Alonso Hernandez
291dfe9524 Add source interface in "ping" command in `ARPSpoofTestCase`
All ``ARPSpoofTestCase`` tests now define the source device (using
the IP address) to be used to execute the "ping" command.

Related-Bug: #2003196
Change-Id: Iace245b013e10eec323c0b58bf5cdf5ee9236338
2024-09-07 20:36:30 +00:00
Zuul
203e28105f Merge "refactor: minor ternary if x then true else false squash" 2024-09-07 05:22:49 +00:00
Zuul
241ee18435 Merge "Add L3 HA fullstack failover tests" 2024-09-06 21:18:20 +00:00
Zuul
479cf3fd93 Merge "Add new "tagging" API method: create (POST)" 2024-09-06 21:06:15 +00:00
Zuul
8bd3de0bfb Merge "[OVN] Set reside-on-chassis-redirect also for FLAT networks" 2024-09-06 16:56:28 +00:00
Zuul
7649aee77a Merge "docs: The job is not in experimental but in periodic queue" 2024-09-06 10:31:53 +00:00
Rodolfo Alonso Hernandez
5a558b7d13 Add new "tagging" API method: create (POST)
This new method allows to create multiple tags for a single resource.
The tags are passed as arguments in the ``POST`` call. That solves
the issue with the usage of URI reserved characters in the name of
the tags.

Bumped neutron-lib library to version 3.15.0, that contains [1].

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

APIImpact add create method for service pluging "tagging"
Closes-Bug: #2073836

Change-Id: I9709da13c321695f324fe8d6c1cdc03756660a03
2024-09-06 07:11:15 +00:00
Zuul
19a6e8e626 Merge "Add trusted vif api extension for the port" 2024-09-06 01:27:44 +00:00
Slawek Kaplonski
9fd1f58394 [OVN] Set reside-on-chassis-redirect also for FLAT networks
This ovn option for the Logical Router Port was added to be set with [1]
but FLAT networks are basically working in the same way and should have
this option set in the same way.

[1] https://review.opendev.org/c/openstack/neutron/+/871252

Change-Id: I3203678c1ca6fb778c993b6084bab171a312ec28
2024-09-05 11:53:52 +02:00
Slawek Kaplonski
104cbf9e60 Add trusted vif api extension for the port
This patch adds implementation of the "port_trusted_vif" API extension
as ml2 extension.
With this extension enabled, it is now possible for ADMIN users to set
port as trusted without modifying directly 'binding:profile' field
which is supposed to be just for machine to machine communication.

Value set in the 'trusted' attribute of the port is included in the
port's binding:profile so that it is still in the same place where e.g.
Nova expects it.

For now setting this flag directly in the port's binding:profile field
is not forbidden and only warning is generated in such case but in
future releases it should be forbiden and only allowed to be done using
this new attribute of the port resource.

This patch implements also definition of the new API extension directly
in Neutron. It is temporary and will be removed once patch [1] in
neutron-lib will be merged and released.

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

Closes-Bug: #2060916
Change-Id: I69785c5d72a5dc659c5a2f27e043c686790b4d2b
2024-09-05 07:18:08 +00:00
Zuul
babf19aeec Merge "nit: Fix variable name used in a comment" 2024-09-04 18:11:36 +00:00
Ihar Hrachyshka
9ed046a849 refactor: minor ternary if x then true else false squash
Change-Id: I4b47c4b5e5423cea41d63021b04ffda6ba6a764b
2024-09-04 11:58:52 -04:00