Skip to content

fix: Wait for OVSDB before metadata agent startup#192

Merged
gboutry merged 1 commit into
canonical:stable/2025.1from
gboutry:fix/ovn-metadata-agent-startup-2025.1
Jun 16, 2026
Merged

fix: Wait for OVSDB before metadata agent startup#192
gboutry merged 1 commit into
canonical:stable/2025.1from
gboutry:fix/ovn-metadata-agent-startup-2025.1

Conversation

@gboutry

@gboutry gboutry commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

The metadata agent can start before the local OVSDB socket is ready during internal OVS bootstrap. Make the service wrapper read its configured OVSDB connection and wait for the Open_vSwitch schema before launching the daemon.

Enable snapd restart-on-failure for the metadata agent so transient readiness failures are retried, and ensure the agent is enabled after internal OVS startup is no longer deferred.

Partial cherry-pick of 1453050, as the commit conflicts around TestNovaAPIMetadataService which is 2026.1 only.

Assisted-By: Codex (gpt-5-5)

The metadata agent can start before the local OVSDB socket is ready
during internal OVS bootstrap. Make the service wrapper read its
configured OVSDB connection and wait for the Open_vSwitch schema
before launching the daemon.

Enable snapd restart-on-failure for the metadata agent so transient
readiness failures are retried, and ensure the agent is enabled after
internal OVS startup is no longer deferred.

Partial cherry-pick of 1453050, as the
commit conflicts around `TestNovaAPIMetadataService` which is 2026.1
only.

Assisted-By: Codex (gpt-5-5)
Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
@gboutry
gboutry merged commit 85235b9 into canonical:stable/2025.1 Jun 16, 2026
3 checks passed
@gboutry
gboutry deleted the fix/ovn-metadata-agent-startup-2025.1 branch June 16, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants