juju status $APP does not filter out relations section
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Anastasia |
Bug Description
"juju status $APP" is expected to print only information related to $APP, it prints only units and machines related to $APP but it prints ALL relations in the model, sample output of an openstack deployment:
⟫ juju status keystone
Model Controller Cloud/Region Version SLA
keystone-ssl c1 stsstack/stsstack 2.2.4 unsupported
App Version Status Scale Charm Store Rev OS Notes
keystone 9.3.0 active 3 keystone local 1 ubuntu
keystone-hacluster active 3 hacluster local 2 ubuntu
Unit Workload Agent Machine Public address Ports Message
keystone/0 active idle 6 10.5.2.97 5000/tcp Unit is ready
keystone-
keystone/1 active idle 7 10.5.2.98 5000/tcp Unit is ready
keystone-
keystone/2* active idle 8 10.5.2.96 5000/tcp Unit is ready
keystone-
Machine State DNS Inst id Series AZ Message
6 started 10.5.2.97 80549036-
7 started 10.5.2.98 4490f223-
8 started 10.5.2.96 8d1d7b4f-
Relation provider Requirer Interface Type
cinder-hacluster:ha cinder:ha hacluster subordinate
cinder-
cinder:
cinder:cluster cinder:cluster cinder-ha peer
glance-hacluster:ha glance:ha hacluster subordinate
glance-
glance:cluster glance:cluster glance-ha peer
glance:
glance:
glance:
keystone-
keystone-
keystone:cluster keystone:cluster keystone-ha peer
keystone:
keystone:
keystone:
keystone:
mysql:cluster mysql:cluster percona-cluster peer
mysql:shared-db cinder:shared-db mysql-shared regular
mysql:shared-db glance:shared-db mysql-shared regular
mysql:shared-db keystone:shared-db mysql-shared regular
mysql:shared-db neutron-
mysql:shared-db nova-cloud-
neutron-
neutron-
neutron-api:cluster neutron-api:cluster neutron-api-ha peer
neutron-
neutron-
neutron-
neutron-
neutron-
neutron-
nova-cc-
nova-cc-
nova-cloud-
nova-compute:
nova-compute:
rabbitmq-
rabbitmq-
rabbitmq-
rabbitmq-
rabbitmq-
rabbitmq-
rabbitmq-
rabbitmq-
Expected result:
⟫ juju status keystone
Model Controller Cloud/Region Version SLA
keystone-ssl c1 stsstack/stsstack 2.2.4 unsupported
App Version Status Scale Charm Store Rev OS Notes
keystone 9.3.0 active 3 keystone local 1 ubuntu
keystone-hacluster active 3 hacluster local 2 ubuntu
Unit Workload Agent Machine Public address Ports Message
keystone/0 active idle 6 10.5.2.97 5000/tcp Unit is ready
keystone-
keystone/1 active idle 7 10.5.2.98 5000/tcp Unit is ready
keystone-
keystone/2* active idle 8 10.5.2.96 5000/tcp Unit is ready
keystone-
Machine State DNS Inst id Series AZ Message
6 started 10.5.2.97 80549036-
7 started 10.5.2.98 4490f223-
8 started 10.5.2.96 8d1d7b4f-
Relation provider Requirer Interface Type
keystone-
keystone-
keystone:cluster keystone:cluster keystone-ha peer
keystone:
keystone:
keystone:
keystone:
mysql:shared-db keystone:shared-db mysql-shared regular
tags: | added: usability |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → 2.3.0 |
tags: | added: bitesize |
Changed in juju: | |
milestone: | 2.3.0 → 2.3-rc1 |
importance: | Medium → High |
Changed in juju: | |
assignee: | nobody → Anastasia (anastasia-macmood) |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Status filtering, as written now, is not strictly limiting to what you expect.
Unfortunately, Juju will also pull in everything related.
For example, if there are units of another application XXXX on the machines with the units of an application that you are interested in, all information about XXXX will be displayed.
This behavior has led to unexpected results before and I think we have other bugs related to this.