Skip to content

Conversation

@presztak
Copy link
Collaborator

  1. Adds support for dns.mode to OVN network
  2. Fixes issue with managing DNS records when instance stops/restart.
    CleanupLogicalSwitchPort runs when an instance stops and detaches the DNS record
    from the switch. This also deletes the record from the Southbound DB. The
    Northbound DB entry remains, causing issues on the next start because it is not
    replicated to the Southbound DB. This change ensures the entry is removed from
    the Northbound DB as well.

Closes: #2479

Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io>
CleanupLogicalSwitchPort runs when an instance stops and detaches the DNS
record from the switch. This also deletes the record from the Southbound DB.
The Northbound DB entry remains, causing issues on the next start because it is
not replicated to the Southbound DB. This change ensures the entry is removed
from the Northbound DB as well.

Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io>
Signed-off-by: Piotr Resztak <piotr.resztak@futurfusion.io>
@github-actions github-actions bot added the Documentation Documentation needs updating label Sep 26, 2025
@presztak presztak marked this pull request as ready for review September 26, 2025 12:31
@presztak presztak requested a review from stgraber as a code owner September 26, 2025 12:31
@stgraber stgraber merged commit 3ba065b into lxc:main Sep 26, 2025
67 of 68 checks passed
@presztak presztak deleted the ovn_dns_mode branch October 24, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation needs updating

Development

Successfully merging this pull request may close these issues.

dns.mode implementation for the OVN driver

2 participants