Removing nova-compute with ovn-chassis related doesn't cleanup neutron agents

Bug #1933486 reported by Diko Parvanov
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
charm-ovn-chassis
New
Undecided
Unassigned

Bug Description

Cleanly removing nova-compute unit with juju remove-unit with related ovn-chassis charm leaves openstack network agents ovn-controller and networking-ovn-metadata-agent with XXX / UP and those can't be deleted with openstack network agent delete

Not found is ovn-sbctl show list, so can't be deleted manually either

Remove hook should clean those remaining entries up.

ovn-chassis revision 14
ovn-central revision 7

bionic/ussuri
ovn-central 20.03.2-0ubuntu0.20.04.1~cloud0
ovn-common 20.03.2-0ubuntu0.20.04.1~cloud0

Tags: scaleback
tags: added: scaleback
Revision history for this message
Drew Freiberger (afreiberger) wrote :

Workaround is to recycle neutron-server.service on neutron-api servers.

The issue seems to be that neutron doesn't sync with OVN properly after the service is started. Any removals of chassis in OVN DB doesn't get reflected in neutron until the next sync cycle which defaults to the start of the neutron-server process.

I think a solution will have to be created to have ovn-central's relation to neutron-api affect a service recycle after the chassis is removed from the OVN SouthboundDB.

Revision history for this message
Paul Goins (vultaire) wrote :

I've hit this issue as well.

Revision history for this message
Peter Matulis (petermatulis) wrote :

My understanding is that this is due to an upstream Neutron bug and that it has been fixed in newer releases. Apologies for not having references for this.

Revision history for this message
Felipe Reyes (freyes) wrote :

As workaround it's possbible to remove a chassis from the southbound database with the following command:

sudo ovn-sbctl chassis-del <CHASSIS_NAME>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.