Set blocked status for deferred restarts to indicate operator intervention required
Bug #1934406 reported by
Garrett Neugent
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron Gateway Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack Neutron Open vSwitch Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack RabbitMQ Server Charm |
New
|
Undecided
|
Unassigned | ||
charm-ovn-central |
New
|
Undecided
|
Unassigned | ||
charm-ovn-chassis |
New
|
Undecided
|
Unassigned | ||
charm-ovn-dedicated-chassis |
New
|
Undecided
|
Unassigned |
Bug Description
Currently, when a restart is deferred, it shows up as active and idle in juju status. However, restarts require operator intervention to resolve, and so the charm hook should set this to a blocked status as well. This applies to all charms with enable-
Thanks!
On top of setting status to blocked or notifying the operator via juju status in some other way, it would probably be useful to also set up nrpe alerting. After all, you eventually do want to apply any pending restart or hook so it would seem appropriate to treat a deferred restart as a type of "error" condition.