Repository navigation
dz-storage: serve metadata from ovn-agent per AZ - #843
eduolivares wants to merge 1 commit into
Conversation
dz-storage ran both the ovn-metadata-agent (neutron-metadata-azN) and the ovn-agent (neutron-ovn) on every compute. With BGP the ovn-agent is already required, so running a separate ovn-metadata-agent means two containers do the work of one and the metadata agent opens an extra OVN southbound connection, which is wasteful and discouraged (neutron will keep ovn-metadata-agent in 18.0 but drop it in favor of the ovn-agent metadata extension in 19.0). Enable the ovn-agent metadata extension (metadata,ovn-bgp) and replace the per-AZ neutron-metadata-azN services with per-AZ neutron-ovn-azN services. Metadata must still be served per cell, so each neutron-ovn-azN overrides the default nova-metadata-neutron-config dataSource with the cell-specific nova-cellN-metadata-neutron-config secret (az0/az1/az2 -> cell1/cell2/cell3). Because config secrets are mounted by edpmServiceType, the renamed services keep edpmServiceType neutron-ovn so the edpm_neutron_ovn role finds them, and the ovn-agent flattens the cell metadata config via its *metadata*conf discovery. Assisted-By: Claude Opus 4.8 <noreply@anthropic.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: eduolivares The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Comment |
|
Build succeeded (check pipeline). ✔️ noop SUCCESS in 0s |
dz-storage ran both the ovn-metadata-agent (neutron-metadata-azN) and the ovn-agent (neutron-ovn) on every compute. With BGP the ovn-agent is already required, so running a separate ovn-metadata-agent means two containers do the work of one and the metadata agent opens an extra OVN southbound connection, which is wasteful and discouraged (neutron will keep ovn-metadata-agent in 18.0 but drop it in favor of the ovn-agent metadata extension in 19.0).
Enable the ovn-agent metadata extension (metadata,ovn-bgp) and replace the per-AZ neutron-metadata-azN services with per-AZ neutron-ovn-azN services. Metadata must still be served per cell, so each neutron-ovn-azN overrides the default nova-metadata-neutron-config dataSource with the cell-specific nova-cellN-metadata-neutron-config secret (az0/az1/az2 -> cell1/cell2/cell3). Because config secrets are mounted by edpmServiceType, the renamed services keep edpmServiceType neutron-ovn so the edpm_neutron_ovn role finds them, and the ovn-agent flattens the cell metadata config via its metadataconf discovery.
Assisted-By: Claude Opus 4.8 noreply@anthropic.com