status for application shows too much relation information

Bug #1712536 reported by Roger Peppe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Medium
Unassigned

Bug Description

When I wish to see information on a single application, I run "juju status $application".
This shows me both the application itself, any applications that it's related to and information on the relations between them.

However, it also seems to show information about all the relations of those related applications too.

For example, the following status shows 97 relation lines, where I believe it should only display the 7 relations that are made directly with jc-charmstore.

This obscures the information that we're trying to find out by calling juju status.

 $ juju status jc-charmstore
 Model Controller Cloud/Region Version SLA
 stg-cdo-jujucharms prodstack-is prodstack-45/bootstack-ps45 2.2.2 unsupported

 App Version Status Scale Charm Store Rev OS Notes
 jc-charmstore active 1 charmstore local 15 ubuntu
 ksplice 1.2.17 active 1 ksplice local 3 ubuntu
 landscape-client active 1 landscape-client local 16 ubuntu
 nrpe unknown 1 nrpe-external-master local 14 ubuntu

 Unit Workload Agent Machine Public address Ports Message
 jc-charmstore/8* active idle 198 10.25.101.32 8080/tcp upgrade-charm succeeded
   ksplice/19 active idle 10.25.101.32 Effective kernel 3.13.0-128-generic
   landscape-client/47 active idle 10.25.101.32 System successfully registered
   nrpe/116 unknown idle 10.25.101.32

 Machine State DNS Inst id Series AZ Message
 198 started 10.25.101.32 24c80dcb-9d5f-4547-af7b-8096e1bab766 trusty nova ACTIVE

 Relation Provides Consumes Type
 general-info jc-apache2 ksplice subordinate
 container jc-apache2 landscape-client subordinate
 nrpe-external-master jc-apache2 nrpe subordinate
 general-info jc-block-storage-broker ksplice subordinate
 container jc-block-storage-broker landscape-client subordinate
 general-info jc-block-storage-broker nrpe subordinate
 general-info jc-blues-browser ksplice subordinate
 container jc-blues-browser landscape-client subordinate
 nrpe-external-master jc-blues-browser nrpe subordinate
 general-info jc-blues-browser-haproxy ksplice subordinate
 container jc-blues-browser-haproxy landscape-client subordinate
 nrpe-external-master jc-blues-browser-haproxy nrpe subordinate
 general-info jc-blues-browser-mongodb ksplice subordinate
 container jc-blues-browser-mongodb landscape-client subordinate
 nrpe-external-master jc-blues-browser-mongodb nrpe subordinate
 agent jc-blues-identity jc-charmstore regular
 general-info jc-blues-identity ksplice subordinate
 container jc-blues-identity landscape-client subordinate
 nrpe-external-master jc-blues-identity nrpe subordinate
 general-info jc-blues-identity-haproxy ksplice subordinate
 container jc-blues-identity-haproxy landscape-client subordinate
 nrpe-external-master jc-blues-identity-haproxy nrpe subordinate
 general-info jc-blues-payment ksplice subordinate
 container jc-blues-payment landscape-client subordinate
 nrpe-external-master jc-blues-payment nrpe subordinate
 general-info jc-blues-payment-haproxy ksplice subordinate
 container jc-blues-payment-haproxy landscape-client subordinate
 nrpe-external-master jc-blues-payment-haproxy nrpe subordinate
 general-info jc-blues-payment-mongodb ksplice subordinate
 container jc-blues-payment-mongodb landscape-client subordinate
 nrpe-external-master jc-blues-payment-mongodb nrpe subordinate
 general-info jc-bundleservice ksplice subordinate
 container jc-bundleservice landscape-client subordinate
 nrpe-external-master jc-bundleservice nrpe subordinate
 website jc-charmstore jc-charmstore-haproxy regular
 elasticsearch jc-charmstore jc-elasticsearch regular
 mongodb jc-charmstore jc-mongodb regular
 general-info jc-charmstore ksplice subordinate
 container jc-charmstore landscape-client subordinate
 nrpe-external-master jc-charmstore nrpe subordinate
 general-info jc-charmstore-haproxy ksplice subordinate
 container jc-charmstore-haproxy landscape-client subordinate
 nrpe-external-master jc-charmstore-haproxy nrpe subordinate
 general-info jc-elasticsearch ksplice subordinate
 container jc-elasticsearch landscape-client subordinate
 general-info jc-elasticsearch nrpe subordinate
 general-info jc-jimm ksplice subordinate
 container jc-jimm landscape-client subordinate
 nrpe-external-master jc-jimm nrpe subordinate
 general-info jc-jimm-azure ksplice subordinate
 container jc-jimm-azure landscape-client subordinate
 nrpe-external-master jc-jimm-azure nrpe subordinate
 general-info jc-jimm-azure-haproxy ksplice subordinate
 container jc-jimm-azure-haproxy landscape-client subordinate
 nrpe-external-master jc-jimm-azure-haproxy nrpe subordinate
 general-info jc-jimm-haproxy ksplice subordinate
 container jc-jimm-haproxy landscape-client subordinate
 nrpe-external-master jc-jimm-haproxy nrpe subordinate
 general-info jc-jimm-mongodb ksplice subordinate
 container jc-jimm-mongodb landscape-client subordinate
 nrpe-external-master jc-jimm-mongodb nrpe subordinate
 general-info jc-jujugui ksplice subordinate
 container jc-jujugui landscape-client subordinate
 nrpe-external-master jc-jujugui nrpe subordinate
 general-info jc-jujugui-haproxy ksplice subordinate
 container jc-jujugui-haproxy landscape-client subordinate
 nrpe-external-master jc-jujugui-haproxy nrpe subordinate
 general-info jc-mongodb ksplice subordinate
 container jc-mongodb landscape-client subordinate
 nrpe-external-master jc-mongodb nrpe subordinate
 general-info jc-omnibus-mongodb ksplice subordinate
 container jc-omnibus-mongodb landscape-client subordinate
 nrpe-external-master jc-omnibus-mongodb nrpe subordinate
 general-info jc-omnibus2 ksplice subordinate
 container jc-omnibus2 landscape-client subordinate
 nrpe-external-master jc-omnibus2 nrpe subordinate
 general-info jc-omnibus2-haproxy ksplice subordinate
 container jc-omnibus2-haproxy landscape-client subordinate
 nrpe-external-master jc-omnibus2-haproxy nrpe subordinate
 general-info jc-redis1 ksplice subordinate
 container jc-redis1 landscape-client subordinate
 general-info jc-redis1 nrpe subordinate
 general-info jc-redis2 ksplice subordinate
 container jc-redis2 landscape-client subordinate
 general-info jc-redis2 nrpe subordinate
 general-info jc-squidrev ksplice subordinate
 container jc-squidrev landscape-client subordinate
 nrpe-external-master jc-squidrev nrpe subordinate
 general-info jc-terms ksplice subordinate
 container jc-terms landscape-client subordinate
 nrpe-external-master jc-terms nrpe subordinate
 general-info jc-terms-haproxy ksplice subordinate
 container jc-terms-haproxy landscape-client subordinate
 nrpe-external-master jc-terms-haproxy nrpe subordinate
 general-info prometheus ksplice subordinate
 container prometheus landscape-client subordinate
 nrpe-external-master prometheus nrpe subordinate

Tim Penhey (thumper)
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
tags: added: statu
tags: added: status usability
removed: statu
Revision history for this message
Roger Peppe (rogpeppe) wrote :

Isn't it usual to mark the newer bug as a duplicate of the older one? Just saying :-)

Revision history for this message
Anastasia (anastasia-macmood) wrote :

@Roger Peppe (rogpeppe),

It is but ... :)
In this case, the fix has been already put into a release and linked to that other bug :) It was an oversight that this bug was not detected at the triaging of the newer bug - apologies for that :)

Good news - the fix is in!

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.