Planner should generate an action plan (AP) that includes steps on when to run-deferred-hooks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-upgrade-planner |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
NOTE: I'm currently having to use this tools predecessor, ubuntu_
Currently this tool generates an AP that provides instructions to "enable deferred restarts on charms".
e.g.
juju config <charm-name> enable-
However, I'd like for this tool to also generate running deferred hooks e.g. after an application has been upgraded, e.g.
juju set-series rabbitmq-server focal
# upgrade rabbitmq-
# ...
juju upgrade-series 22/lxd/4 complete
juju run-action --wait rabbitmq-server/2 complete-
# FEATURE REQUEST, IMPLEMENT GENERATING THE FOLLOWING OUTPUT
juju run-action rabbitmq-server/0 run-deferred-hooks --wait
juju run-action rabbitmq-server/1 run-deferred-hooks --wait
juju run-action rabbitmq-server/2 run-deferred-hooks --wait
This charm is no longer being actively maintained.