relation-list cannot list a remote app for a relation id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Achilleas Anagnostopoulos |
Bug Description
With the addition of <rname>
Example:
install
cluster-
ca-relation-created # JUJU_REMOTE_APP is set
leader-elected # <--- no relation context here but also no remote units observed
# ...
update-status # <--- no relation context here units may or may not be present
It is possible to retrieve a remote app for a peer relation without the relation context because it matches the app of a unit in question. The same is not the case for other relations as `relation-list -r <rid>` does not accept any parameters to list a remote application for a given relation id.
It would be good to have something like
relation-list -r <rid> --app
for cases like this.
summary: |
- relation-list cannot list a remote app if no units are present + relation-list cannot list a remote app for a relation id |
Changed in juju: | |
milestone: | none → 2.8-rc1 |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju: | |
milestone: | 2.8-rc1 → 2.8.1 |
Changed in juju: | |
assignee: | nobody → Achilleas Anagnostopoulos (achilleasa) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
PR https:/ /github. com/juju/ juju/pull/ 11765 implements this feature for 2.8