Relation list in default tabular status output is very long for openstack clouds, scrolls useful information off-screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Wishlist
|
Anastasia | ||
2.3 |
Fix Released
|
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-
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.
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 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
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.