Need to log the orignial libvirtError when InterfaceDetachFailed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann |
Bug Description
This is not really useful:
2014-09-25 17:35:11.635 ERROR nova.virt.
2014-09-25 17:35:11.635 27689 ERROR oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
2014-09-25 17:35:11.635 27689 TRACE oslo.messaging.
The code is logging that there was an error, but not the error itself:
try:
flags = libvirt.
state = LIBVIRT_
if state == power_state.RUNNING or state == power_state.PAUSED:
except libvirt.
if error_code == libvirt.
else:
We should log the original libvirt error.
tags: | added: libvirt |
Changed in nova: | |
status: | New → Triaged |
assignee: | nobody → Matt Riedemann (mriedem) |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/124178
Review: https:/