commit 3aafeefc8553fd637bad238ee236b1767d8548ea
Author: Harald Jensås <email address hidden>
Date: Mon Oct 23 17:29:00 2023 +0200
[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 <email address hidden>
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/899077 /opendev. org/openstack/ neutron/ commit/ 3aafeefc8553fd6 37bad238ee236b1 767d8548ea
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 3aafeefc8553fd6 37bad238ee236b1 767d8548ea
Author: Harald Jensås <email address hidden>
Date: Mon Oct 23 17:29:00 2023 +0200
[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: I935186b6ee95f0 cae8dc05869d974 2c8fb3353c3 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: Iaf15e560e1b1ec 31618b2ebc6206a 938463c1094
Signed-off-by: Harald Jensås <email address hidden>