[OVN] If "chassis" register is deleted, "chassis_private" can have 0 "chassis" associated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Rodolfo Alonso |
Bug Description
When a OVN SB "chassis" register is deleted, the "chassis_private" register will have no "chassis" associated.
In a healthy environment, with the ovn-controller service running, if the host "chassis" register is deleted, the ovn-controller will create it again.
If the ovn-controller didn't finish gracefully, it will leave both registers in the SB DB undeleted. To clean up the environment, an administrator should delete both registers ("chassis_private" and "chassis") from the SB DB and delete the OVN agents from Neutron.
However, if those steps are done incorrectly, the Neutron server can return an exception. Steps to reproduce this error:
- Kill the ovn-controller.
- Delete the "chassis" register.
- Restart the Neutron server. Neutron does not attend to "chassis" events. We need to restart the server to retrieve the "chassis_private" SB register with "chassis=[]" [1]
- List the network agents. This method [2] will return L50, as a "chassis" register. This is incorrect and will fail with [3].
[1]https:/
[2]https:/
[2]https:/
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/openstack /neutron/ +/818132
Review: https:/