[OVN] How to deal with SB "Chassis"/"Chassis_Private" duplicated registers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Wishlist
|
Rodolfo Alonso |
Bug Description
Then UUID of the "Chassis" register is the OVS "Openvswitch.
The "ovn-controller" process uses this OVS system-id when creating the "Chassis" register. If this system-id is changed (for example during a host upgrade), the "ovn-controller" will create a new "Chassis" register once restarted.
If by any circumstance, during this upgrade process (for example), the system-id is changed but the old "Chassis" register is not deleted from the OVN DB database by "ovn-controller" (the process is does not stop gracefully), Neutron will find two "Chassis" registers (and the corresponding "Chassis_Private") in the OVN SB database, both associated to the same host.
The question this bug is proposing is:
* Should Neutron handle this situation?
* If yes, should Neutron perform a proactive OVN SB health action?
* Should Neutron only inform to the user? (some users don't check the logs by default).
[1]https:/
Related bugzilla: https:/
Changed in neutron: | |
importance: | Undecided → Wishlist |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
description: | updated |
Changed in neutron: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
Maybe we could process 'delete_agent' for the old agent if there is an new duplicate record when agent health check.
And there are any fileds like 'agent_type' or 'host' to ensure the agent is duplicate.