juju run doesn't have an option to trigger debug-hooks
Bug #1275745 reported by
Michael Nelson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Expired
|
Medium
|
Unassigned |
Bug Description
juju run provides a great way to do not just small one-off commands, but also enables doing more complicated things - for example, applying an ansible playbook to do a rolling upgrade (ie. just upgrade the application service on one unit).
With that in mind, it'd be very helpful to be able to do:
juju run --unit elasticsearch/0 hooks/my-
I realise it's not really a hook, but given that it runs in a hook context, I can only test/debug it by triggering some other hook (config-changed).
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: run |
Changed in juju-core: | |
importance: | High → Medium |
To post a comment you must log in.
Can you please expand on the use case a bit? You can run hooks from juju run --unit. What do you want with debug-hooks?