Specific controller endpoints should be able to be targeted when running juju commands
Bug #2011725 reported by
Connor Chamberlain
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
When checking the health of juju controllers, it is common to repeated run juju commands with the --debug flag to see which API endpoint is consuming your commands. Operators often do this as a verification step on all three controllers after performing maintenance. However, because we cannot target the specific controller(s) we are interested in, we have to spam something like `juju status --debug` several times and examine how those commands hit each of the controllers. This becomes something like a probabilistic distribution. It would be far more convenient to be able to do something like `juju status --debug --endpoint=<ip>`.
Changed in juju: | |
status: | New → Incomplete |
description: | updated |
summary: |
- Specific controllers should be able to be targeted when running juju - commands + Specific controller endpoints should be able to be targeted when running + juju commands |
To post a comment you must log in.
You can tell any juju command to operate on a specified controller and model, typically using the -m option.
eg
juju status -m mycontroller: mymodel
or just
juju status -m mymodel
(see juju help status)
You can also set JUJU_CONTROLLER and JUJU_MODEL env vars as well, so that -m is not needed.
So I am confused by the statement that "we cannot target the specific controller(s) we are interested in". Is there something else you are trying to do that I am not understanding?