juju run should support --randomize
Bug #1959719 reported by
James Troup
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.
To post a comment you must log in.
That makes perfect sense. I will add to the wishlist.