juju show-status-log wraps all entries if one is too wide

Bug #1657383 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Medium
Unassigned

Bug Description

We fixed this in 'juju status' but it seems 'juju show-status-log' suffers from the same issue.

If you look at:
  http://paste.ubuntu.com/23821210/

You have to select, but you can see that the MESSAGE header has whitespace appended to pad it out to the same width as the widest message. But since there isn't another column, it just causes the terminal to wrap and be confusing. With a short message it looks good

$ juju show-status-log --type juju-machine 1/lxd/15
TIME TYPE STATUS MESSAGE
18 Jan 2017 13:35:28+04:00 juju-machine pending

with a long message, everything ends up double spaced

$ juju show-status-log --type machine 1/lxd/15
TIME TYPE STATUS MESSAGE
18 Jan 2017 13:35:28+04:00 machine pending
18 Jan 2017 13:35:34+04:00 machine pending failed to start instance (unable to setup network:
 host machine "1" has no available device in space(s) "ceph"), retrying (0/3) in 10s
18 Jan 2017 13:35:44+04:00 machine pending failed to start instance (unable to setup network:
 host machine "1" has no available device in space(s) "ceph"), retrying (1/3) in 10s

(please forgive me if Launchpad's text wrapping messes up the formatting, I did try to show it in a pastebin).

Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
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.