power management failures don't report useful error messages
Bug #1155175 reported by
James Page
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Martin Packman |
Bug Description
I'm using the virsh power management type to manage KVM instance using maas.
If the virsh commands fail for any reason, an exception is logged in the cluster.log file, but it just contains the error code, not the specific error messages.
It would be useful if this could be updated to contain the output of the virsh command as well.
I expect this would be useful for diagnosing issues with other power management types as well.
Related branches
lp:~gz/maas/detailed_poweractionfail_1155175
- Julian Edwards (community): Approve
-
Diff: 145 lines (+40/-32)2 files modifiedsrc/provisioningserver/power/poweraction.py (+18/-17)
src/provisioningserver/power/tests/test_poweraction.py (+22/-15)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas: | |
assignee: | nobody → Martin Packman (gz) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.