Juju 2 status doesn't show error reason in default format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I had machine allocation errors when trying to deploy a bundle but juju status for the machines just showed 'error'
[Machines]
ID STATE DNS INS-ID SERIES AZ
0 started 54.198.158.54 i-f4ada56f trusty us-east-1a
1 started 54.147.228.227 i-b559ce28 trusty us-east-1c
2 error pending trusty
3 error pending trusty
4 error pending trusty
5 error pending trusty
6 error pending trusty
7 error pending trusty
I had to run `juju status --format=yaml` to get the real error.
"5":
juju-status:
current: error
message: 'cannot run instances: The specified instance type can only be used
in a VPC. A subnet ID or network interface ID is required to carry out the
request. (VPCResourceNot
since: 26 Apr 2016 10:54:12-06:00
instance-id: pending
machine-status:
current: pending
since: 26 Apr 2016 10:54:03-06:00
series: trusty
The default status should output the error messages because I don't feel that a typical user will think to change the status format to get more information.
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: juju-release-support status usability |
Changed in juju-core: | |
milestone: | none → 2.0.0 |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0.0 → none |
milestone: | none → 2.0.0 |
Changed in juju: | |
milestone: | 2.0.0 → 2.0.1 |
Changed in juju: | |
milestone: | 2.0.1 → none |
related: https:/ /bugs.launchpad .net/juju- core/+bug/ 1321442