yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #96237
[Bug 2118893] Re: [OVN] OVN agents should clean up "Chassis_Private" previous tags
Reviewed: https://review.opendev.org/c/openstack/neutron/+/955998
Committed: https://opendev.org/openstack/neutron/commit/c68aa4cab3a1e933b9de6532e7058ba2f71af582
Submitter: "Zuul (22348)"
Branch: master
commit c68aa4cab3a1e933b9de6532e7058ba2f71af582
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date: Mon Jul 28 10:08:19 2025 +0000
[OVN] OVN agents should clean up "Chassis_Private" tags
The OVN Metadata agent and OVN agent can provide the same functionality
(metadata). Both agents register different tags in the "Private_Chassis"
configuration (external_ids):
* OVN agent: 'neutron:ovn-neutron-agent-id',
'neutron:ovn-neutron-agent-sb-cfg'
* OVN Metadata agent: 'neutron:ovn-metadata-id',
'neutron:ovn-metadata-sb-cfg'
Although the OVN Metadata agent is deprecated (and marked for removal in
2026.2), is still usable. This patch removes any pre-existing tag from
the other agent when the process is started.
Closes-Bug: #2118893
Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Change-Id: I869e69a1cce78ee636c76554e498cb3ef43446f2
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2118893
Title:
[OVN] OVN agents should clean up "Chassis_Private" previous tags
Status in neutron:
Fix Released
Bug description:
Since [1], the "OVN agent" is replacing the "OVN Metadata agent".
However, is still possible to switch from one to other, as long as
both provide the same functionality (the "OVN agent" needs the
metadata extension).
Both agents register different tags in the "Private_Chassis" configuration (external_ids):
* OVN agent: 'neutron:ovn-neutron-agent-id', 'neutron:ovn-neutron-agent-sb-cfg'
* OVN Metadata agent: 'neutron:ovn-metadata-id', 'neutron:ovn-metadata-sb-cfg'
In order to make both agents replaceable by the other, it is needed
that each one is capable of deleting the tags left by the other in the
"Chassis_Private.external_ids".
NOTE: once we finish the migration to the "OVN agent", this
functionality won't be needed anymore. However, in shake of
compatibility, the "OVN agent" code will remain for some releases.
[1]https://bugs.launchpad.net/neutron/+bug/2112313
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2118893/+subscriptions
References