neutron-ovn-metadata-agent down after migration from ovs

Bug #1912471 reported by Liam Young
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
charm-ovn-chassis
Fix Released
High
Unassigned

Bug Description

When running a migration from ovs to ovn the neutron-ovn-metadata-agent is not installed.

At the moment I think the cause is (I still need to verify this):

ovn-chassis is deployed paused *1 . charm.ovn-chassis.enable-openstack is not set if the charm is paused *2. If charm.ovn-chassis.enable-openstack is not set then neutron-ovn-metadata-agent is not added to the list of packages to install *3 and hence the service is not running after the upgrade.

*1 https://opendev.org/openstack/charm-neutron-gateway/src/branch/master/tests/bundles/focal-ussuri.yaml#L157
*2 https://github.com/openstack-charmers/charm-layer-ovn/blob/master/reactive/ovn_chassis_charm_handlers.py#L65
*3 https://github.com/openstack-charmers/charm-layer-ovn/blob/master/lib/charms/ovn_charm.py#L679

Seen on OSCI on focal-ussuri:

https://review.opendev.org/c/openstack/charm-neutron-gateway/+/770412
https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-neutron-gateway/770412/1/7758/index.html

All ovn-chassis instances are blocked with "Services not running that should be: neutron-ovn-metadata-agent"

Liam Young (gnuoy)
description: updated
description: updated
Changed in charm-ovn-chassis:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Liam Young (gnuoy)
Revision history for this message
Liam Young (gnuoy) wrote :

A subsequent (non-update-status) hook execution will fix things.

Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :
Changed in charm-ovn-chassis:
status: Confirmed → Triaged
Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :
Changed in charm-ovn-chassis:
status: Triaged → Fix Committed
milestone: none → 21.01
Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

Landed, so this fix will be in the next revision of https://jaas.ai/u/openstack-charmers-next/ovn-chassis , i.e. revision 49

Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

Regarding my last comment, a new revision will be published as soon as this review lands:
https://review.opendev.org/c/x/charm-ovn-chassis/+/771874

Changed in charm-ovn-chassis:
status: Fix Committed → In Progress
assignee: Liam Young (gnuoy) → Aurelien Lourot (aurelien-lourot)
Changed in charm-ovn-chassis:
status: In Progress → Fix Committed
assignee: Aurelien Lourot (aurelien-lourot) → nobody
David Ames (thedac)
Changed in charm-ovn-chassis:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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