juju show-status-log wraps all entries if one is too wide
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://
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).
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.