I'm removing "networing-ovn" project. Neutron Ussuri contains the ML2/OVN in-tree.
If the ovn-controller was not gracefully stopped, then you need to manually delete the agent from the database (that is supported since [1] in Ussuri).
Before deleting the agent, as you commented, you should manually delete the chassis from the OVN database (because the ovn-controller didn't executed this deletion as it wasn't gracefully stopped). Then you can remove the OVN agent. Because you are in Ussuri, you can't have [2] that will automatically read that the chassis register has been deleted and will update the OVN agent register. So in your case you need to:
* Remove the OVN chassis from the OVN database.
* Remove the OVN agent, or if you don't have [1][2], restart the Neutron server, as you did.
The reported issue (apart from the procedure of fixing an incorrectly removed chassis), is documented and fixed in newer versions.
Please update your Ussuri version to the latest version 16.4.2 [3]. This is the last Ussuri released tag. Please also consider bumping your OpenStack version to a newer one.
Hello:
I'm removing "networing-ovn" project. Neutron Ussuri contains the ML2/OVN in-tree.
If the ovn-controller was not gracefully stopped, then you need to manually delete the agent from the database (that is supported since [1] in Ussuri).
Before deleting the agent, as you commented, you should manually delete the chassis from the OVN database (because the ovn-controller didn't executed this deletion as it wasn't gracefully stopped). Then you can remove the OVN agent. Because you are in Ussuri, you can't have [2] that will automatically read that the chassis register has been deleted and will update the OVN agent register. So in your case you need to:
* Remove the OVN chassis from the OVN database.
* Remove the OVN agent, or if you don't have [1][2], restart the Neutron server, as you did.
The reported issue (apart from the procedure of fixing an incorrectly removed chassis), is documented and fixed in newer versions.
Please update your Ussuri version to the latest version 16.4.2 [3]. This is the last Ussuri released tag. Please also consider bumping your OpenStack version to a newer one.
Regards.
[1]https:/ /review. opendev. org/c/openstack /neutron/ +/860247 /review. opendev. org/q/I17aa53ce a6aba8ea83187c9 9102a6f25fd33cf ff /opendev. org/openstack/ neutron/ src/tag/ 16.4.2
[2]https:/
[3]https:/