When removing a compute service with ovn-chassis subordinate, agents are not deleted or deletable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-layer-ovn |
New
|
Undecided
|
Unassigned | ||
charm-ovn-chassis |
New
|
Undecided
|
Unassigned |
Bug Description
I have run a juju remove-unit nova-compute-
After this, when I run "openstack network agent list|grep XXX", I see 3 dead agents (SRIOV special case, typically it'd be just two agents.)
One is the SRIOV NIC Agent. I was able to delete this NIC Agent with "openstack network agent delete <uuid>", however, the "OVN Controller Gateway agent" and "OVN Metadata agent" cannot be deleted via neutron api.
$ os network agent list|grep XXX
| myhostname.fqdn | OVN Controller Gateway agent | myhostname.fqdn | | XXX | UP | ovn-controller |
| 2d51ab41-
$ openstack network agent delete 2d51ab41-
Failed to delete network agent with ID '2d51ab41-
1 of 1 network agents failed to delete.
Gamma-LAB MODEL(openstack) jujumanage@
Failed to delete network agent with ID 'myhostname.fqdn': ResourceNotFound: 404: Client Error for url: https:/
1 of 1 network agents failed to delete.
See bugzilla bug: https:/
It would be useful to have a well defined process for clearing these dead OVN agent entries so monitoring of dead network agents is accurate.