Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jun 3, 2024

This PR contains a snapshot of 2023.1 from upstream stable/2023.1.

slawqo and others added 4 commits May 27, 2024 08:19
When neutron API is called to check requirements for the auto_allocate
topology, it needs to return not only 'tenant_id' field but also
'project_id' as that is required for the policy enforcement.
Without this 'project_id' field requirements check was failing for
member and reader users as they got 404 from the Neutron API. And the
reason why Neutron was returning 404 was that it wasn't passing policy
enforcement due to missing project_id field in the 'target' object.

Closes-bug: #2066369
Change-Id: Idf96a82bc6c8cb0b47dfde3baba94b42a8a8beba
(cherry picked from commit dfc01be)
set_gateway_mtu runs for all the gateway ports for a network
and if one of the ports get's deleted in meanwhile
whole transaction fails.

To handle this we need to add if_exists=True to the transaction
but for that it needs to be supported in ovsdbapp. It's fixed
in ovsdbapp with [1] but would require to bump ovsdbapp
minimal version in requirements.txt which we normally don't
do for stable branches.

So using "update_lrouter_port" instead as that have the
required option available. Before [2] that was only used
but during the switch if_exists part was missed.

[1] https://review.opendev.org/q/I56685478214aae7b6d3a2a3187297ad4eb1869a3
[2] https://review.opendev.org/c/openstack/neutron/+/762695

Closes-Bug: #2065701
Related-Bug: #2060163
Change-Id: I447990509cdea9830228d3bc92a97062cc57a472
(cherry picked from commit 5bdd0ef)
Conflicts:
	neutron/tests/unit/fake_resources.py
ovsdbapp>=2.2.2 handles cleanup of Chassis_Private record
with chassis delete so we don't need explicit delete.
The compatibility part can be dropped when we update
requirements.txt to ovsdbapp>=2.2.2.

Closes-Bug: #2066263
Change-Id: I45c6e6a1c3536cf4f2d90b01a3577eec9eaf3743
(cherry picked from commit 20b9893)
(cherry picked from commit 4221f70)
(cherry picked from commit d1c5eac)
Conflicts: neutron/tests/functional/base.py
@github-actions github-actions bot requested a review from a team as a code owner June 3, 2024 08:23
@github-actions github-actions bot added automated Automated action performed by GitHub Actions synchronisation labels Jun 3, 2024
@markgoddard markgoddard merged commit eb12b55 into stackhpc/2023.1 Jun 3, 2024
@markgoddard markgoddard deleted the upstream/2023.1-2024-06-03 branch June 3, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated Automated action performed by GitHub Actions synchronisation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants