juju run should support --randomize

Bug #1959719 reported by James Troup
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Wishlist
Unassigned

Bug Description

It would be nice if juju run had a --randomize option to stagger the delivery of commands to machines. At the moment, operators tend to end up running commands like this:

  juju run --all 'sleep $(($RANDOM%60)); sudo systemctl restart filebeat'

As a workaround. Landscape has this functionality for package management with the ability to "Randomize delivery over a N minute window".

Bonus points if --timeout is automatically increased to be at least as big as the sum of --randomize and --timeout.

Revision history for this message
Juan M. Tirado (tiradojm) wrote :

That makes perfect sense. I will add to the wishlist.

Changed in juju:
importance: Undecided → Wishlist
status: New → Triaged
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.