Bug #1962244 “Planner should generate an action plan (AP) that i…” : Bugs : cloud-upgrade-planner
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”.
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
Read more here: Source link