Relation list in default tabular status output is very long for openstack clouds, scrolls useful information off-screen

Bug #1633972 reported by Trent Lloyd on 2016-10-17
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
juju
Wishlist
Anastasia
2.3
Wishlist
Anastasia

Bug Description

The relation list shown in the default "tabular" output from "juju status" is very long for openstack clouds. Even on my large monitor, it takes up the entire screen.

In most cases, particularly after deployment these relations are not that important. I think it would be great to default to removing this information or at the very least provide an option for it. This is a heavily used command for visually checking the status of the actual units and applications.

As a compromise for using juju in smaller environments if people are concerned about that, perhaps if there are more than 10 lines it could hide the information. Or otherwise an option to enable/disable showing the various sections so you could get the main info you are after (e.g. a unit-only view would be great in most cases - it's personally what I look at the most)

On my openstack-base-xenial-mitaka deployment I see:
Apps: 17 lines
Units: 32 lines
Machines: 26 lines
Relations: 56 lines
Total: 137 lines

My terminal at normal font size is 60 lines high, at a smaller font it's about 71.

Attaching a full copy of the output, plus screenshots of the info with and without relations as it appears on my terminal.

Trent Lloyd (lathiat) wrote :
Trent Lloyd (lathiat) wrote :
Trent Lloyd (lathiat) wrote :
tags: added: sts
Changed in juju:
status: New → Triaged
importance: Undecided → Wishlist
tags: added: usability
Changed in juju:
assignee: nobody → Anastasia (anastasia-macmood)
Changed in juju:
status: Triaged → In Progress
Anastasia (anastasia-macmood) wrote :

PR for 2.3: https://github.com/juju/juju/pull/8702

This change makes 'relations' section invisible by default, in tabular format.
User can choose to see this section by supplying '--relations' to the command.

All other formats are not affected, but a warning is printed if the '--relations' option is specified.

Changed in juju:
milestone: none → 2.4-rc1
Trent Lloyd (lathiat) wrote :

Thankyou!

Anastasia (anastasia-macmood) wrote :

Equivalent for develop (heading into 2.4+): https://github.com/juju/juju/pull/8705

Should this be in 2.3? It seems like a significant CLI change in a patch
release.

On Tue, May 15, 2018 at 4:12 PM, Anastasia <email address hidden>
wrote:

> Equivalent for develop (heading into 2.4+):
> https://github.com/juju/juju/pull/8705
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1633972
>
> Title:
> Relation list in default tabular status output is very long for
> openstack clouds, scrolls useful information off-screen
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1633972/+subscriptions
>

Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers