Status doesn't present related applications when selector used

Bug #2003187 reported by Nicolas Vinuesa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Vitaly Antonenko

Bug Description

According to `juju status`'s help:

When an entity that matches <selector> is related to other applications, the
status of those applications will also be presented.

But it doesn't present these related applications:

$ juju status --relations
Model Controller Cloud/Region Version SLA Timestamp
default ctrl-local localhost/localhost 3.0.3.1 unsupported 12:14:40+01:00

App Version Status Scale Charm Channel Rev Exposed Message
grafana maintenance 1 grafana stable 59 no installing charm software
prometheus2 active 1 prometheus2 stable 33 no Ready

Unit Workload Agent Machine Public address Ports Message
grafana/0* maintenance executing 1 10.87.136.136 (install) installing charm software
prometheus2/0* active idle 0 10.87.136.56 9090,12321/tcp Ready

Machine State Address Inst id Base AZ Message
0 started 10.87.136.56 juju-2f44ad-0 ubuntu@22.04 Running
1 started 10.87.136.136 juju-2f44ad-1 ubuntu@20.04 Running

Relation provider Requirer Interface Type Message
prometheus2:grafana-source grafana:grafana-source grafana-source regular

(as seen the relation is already set between prometheus2 and grafana)

but when I run:

$ juju status prometheus2
Model Controller Cloud/Region Version SLA Timestamp
default ctrl-local localhost/localhost 3.0.3.1 unsupported 12:16:28+01:00

App Version Status Scale Charm Channel Rev Exposed Message
prometheus2 active 1 prometheus2 stable 33 no Ready

Unit Workload Agent Machine Public address Ports Message
prometheus2/0* active idle 0 10.87.136.56 9090,12321/tcp Ready

Machine State Address Inst id Base AZ Message
0 started 10.87.136.56 juju-2f44ad-0 ubuntu@22.04 Running

or

$ juju status grafana
Model Controller Cloud/Region Version SLA Timestamp
default ctrl-local localhost/localhost 3.0.3.1 unsupported 12:20:14+01:00

App Version Status Scale Charm Channel Rev Exposed Message
grafana maintenance 1 grafana stable 59 no Installing deb pkgs

Unit Workload Agent Machine Public address Ports Message
grafana/0* maintenance executing 1 10.87.136.136 (install) Installing deb pkgs

Machine State Address Inst id Base AZ Message
1 started 10.87.136.136 juju-2f44ad-1 ubuntu@20.04 Running

I only see the selected application using selector but not the related application.

Version:
$ juju version
3.0.3-ubuntu-amd64

Revision history for this message
Jordan Barrett (barrettj12) wrote :

+1 for this, makes sense that we'd want to see the relations for the given application.

@nvinuesa can you check if this issue exists in 2.9-latest as well? If so, we'd probably want to target the fix to 2.9.

Changed in juju:
status: New → Triaged
importance: Undecided → Low
Changed in juju:
milestone: none → 3.0-backlog
Changed in juju:
assignee: nobody → Vitaly Antonenko (anvial)
milestone: 3.0-backlog → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.