ErroredUnit lacks details for good matches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-ci-tools |
Fix Released
|
Critical
|
Nicholas Skaggs |
Bug Description
The ErroredUnit exception in jujupy does not have enough details to make for good matching rules in juju reports. At present we have one generic rule, which can have many causes:
<http://
<http://
In order to actually find out what happened, you have to look further down in the log to the status output, for example:
<http://
2016-04-28 23:42:22 ERROR 0 is in state error
Traceback (most recent call last):
...
ErroredUnit: 0 is in state error
2016-04-28 23:42:22 INFO juju --debug show-status ...
...
machines:
"0":
juju-status:
current: error
message: 'sending new instance request: GCE operation "operation-
failed'
since: 28 Apr 2016 23:42:22Z
instance-id: pending
Related branches
- Aaron Bentley (community): Approve
-
Diff: 100 lines (+60/-12)2 files modifiedjujupy.py (+7/-0)
tests/test_jujupy.py (+53/-12)
Changed in juju-ci-tools: | |
importance: | High → Critical |
assignee: | nobody → Nicholas Skaggs (nskaggs) |
Changed in juju-ci-tools: | |
status: | Triaged → Fix Released |