Skip to content

dz-storage: serve metadata from ovn-agent per AZ - #843

Draft
eduolivares wants to merge 1 commit into
openstack-k8s-operators:mainfrom
eduolivares:dz-storage-ovn-agent-metadata
Draft

eduolivares wants to merge 1 commit into
openstack-k8s-operators:mainfrom
eduolivares:dz-storage-ovn-agent-metadata

Conversation

@eduolivares

Copy link
Copy Markdown
Contributor

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

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>
@openshift-ci
openshift-ci Bot requested review from abays and karelyatin October 20, 2026 16:44
@openshift-ci

openshift-ci Bot commented Oct 20, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: eduolivares
Once this PR has been reviewed and has the lgtm label, please assign fultonj for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Oct 20, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5d11582a-e2ff-48b7-9249-86a824e89e6a
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@fultonj
fultonj self-requested a review October 20, 2026 17:29

@abays abays left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants