Defunct nodes are reported as happy in network agent list
Bug #1999677 reported by
Giuseppe Petralia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron API Charm |
New
|
Undecided
|
Unassigned | ||
networking-ovn |
Invalid
|
Undecided
|
Unassigned | ||
neutron |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
When decommissioning a node from a cloud using Neutron and OVN, the Chassis is not removed from OVN SB db and also it always shows as happy in "openstack network agent list"
which is a bit weird and the operator would expect to have that as XXX in the agent list
This is more for the upstream neutron but adding the charm for visibility.
description: | updated |
Changed in networking-ovn: | |
status: | New → Invalid |
tags: | added: bspostmortem |
To post a comment you must log in.
Hi Giuseppe:
Some questions:
* What version of OpenStack are you using? Do you have [1] in your env?
* Did you wait the agent heartbeat time?
* Can you print the output of the "agent list" command?
* How did you decommissioned the nodes? In other words, did you stop the ovn-controller gracefully?
When you remove a compute node (that means you stop the ovn-controller and OVN metadata agent), the need to manually remove those entries from the Neutron database using the CLI (openstack neutron agent delete {}).
Regards.
[1]https:/ /review. opendev. org/q/I17aa53ce a6aba8ea83187c9 9102a6f25fd33cf ff