Planner should generate an action plan (AP) that includes steps on when to run-deferred-hooks

Bug #1962244 reported by Edin S
6
This bug affects 1 person
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_series_upgrade_for_openstack.py because of crasher LP#1962242, so cloud-upgrade-planner might already support my feature request -- but based on a quick grep the feature is unimplemented.

Currently this tool generates an AP that provides instructions to "enable deferred restarts on charms".
e.g.
juju config <charm-name> enable-auto-restarts=False

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-server/{0,1,2}
      # ...
      juju upgrade-series 22/lxd/4 complete
      juju run-action --wait rabbitmq-server/2 complete-cluster-series-upgrade
      # 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

Revision history for this message
Eric Chen (eric-chen) wrote :

This charm is no longer being actively maintained.

Changed in cloud-upgrade-planner:
status: New → Won't Fix
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.