neutron/releasenotes/notes/ovn-db-sync-host-physnet-filter-agent-type-9e22942bed304807.yaml
Harald Jensås 3aafeefc85 [OVN] DB sync host/physnet - filter on agent_type
When syncing hostname and physical networks, filter neutron
hosts on agent_type. Only segmenthostmappings for hosts
with agent 'OVN Controller agent' should be cleaned up.

Since change: I935186b6ee95f0cae8dc05869d9742c8fb3353c3 there
is de-duplication of segmenthostmapping updates from agents.
If the OVN DB sync clears/deletes mappings for hosts owned by
other agents/plugins the mappings are never re-created.

Closes-Bug: #2040172

Change-Id: Iaf15e560e1b1ec31618b2ebc6206a938463c1094
Signed-off-by: Harald Jensås <hjensas@redhat.com>
2023-11-20 21:16:27 +01:00

11 lines
447 B
YAML

---
fixes:
- |
When synchronizing the OVN databases, either when running the migration
command or during startup, the code responsible for synchronization will
only clean up segment-to-host mappings for hosts with agent_type
``OVN Controller agent``. Before, the synchronization would clean up
(delete) segment-to-host mappings for non-OVN hosts. Fixes bug:
`2040172 <https://bugs.launchpad.net/neutron/+bug/2040172>`_.