action "restart-services deferred-only=True" fails after rocky->stein upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron Gateway Charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
Running "restart-services deferred-only=True" action:
$ juju run-action --wait neutron-gateway/0 restart-services deferred-only=True
after rocky->stein upgrade with flag enable-
Workaround I used was to unmask the service on the affected unit manually:
# systemctl unmask nova-api-
After that the action completes successfully and the status message is cleared.
EDIT: Based on Liam's comment below, the recommended way of working this around is to remove the deferred event file from /var/lib/
Versions:
Ubuntu 18.04.5 LTS (Bionic Beaver)
charm-neutron-
Packages:
neutron-common 2:14.4.
neutron-dhcp-agent 2:14.4.
neutron-
neutron-l3-agent 2:14.4.
neutron-
neutron-
neutron-
neutron-
neutron-
python3-neutron 2:14.4.
python3-
python3-
python3-neutron-lib 1.25.0-
python3-
nova-api-metadata 2:19.3.
nova-common 2:19.3.
python3-nova 2:19.3.
python3-novaclient 2:13.0.
description: | updated |
tags: | added: openstack-upgrade |
For anyone else the workaround should be to remove the deferred event file rather than unmasking nova-api- metadata. service. You should find it on the unit in /var/lib/ policy- rc.d