juju wait-for: allow for specifying leader units
Bug #1969662 reported by
Heitor
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Medium
|
Nicolas Vinuesa |
Bug Description
Many Juju commands for units can use the format `unit-foo/leader` when we don't know or it is not convenient to use the unit number.
But the Juju plugin wait-for only accepts the unit number:
```
$ juju wait-for unit slurmctld/leader --query=
ERROR "slurmctld/leader" is not valid unit name
```
I'd like to be able to use the unit-foo/leader notation also in this plugin.
We have an extensive integration test suite that uses the wait-for plugin, but we need to hardcode some unit numbers making local development/testing woobly.
Changed in juju: | |
importance: | Undecided → Medium |
milestone: | none → 3.1-beta1 |
status: | New → Triaged |
Changed in juju: | |
assignee: | nobody → Vitaly Antonenko (anvial) |
assignee: | Vitaly Antonenko (anvial) → Nicolas Vinuesa (nvinuesa) |
Changed in juju: | |
milestone: | 3.1-beta1 → 3.1-rc1 |
Changed in juju: | |
milestone: | 3.1-rc1 → 3.1-rc2 |
Changed in juju: | |
milestone: | 3.1-rc2 → 3.1-rc3 |
Changed in juju: | |
milestone: | 3.1-rc3 → none |
To post a comment you must log in.