diff options
author | Matt Riedemann <mriedem@us.ibm.com> | 2014-09-25 13:44:46 -0700 |
---|---|---|
committer | Matt Riedemann <mriedem@us.ibm.com> | 2014-09-25 13:44:46 -0700 |
commit | 1af3ca69c250f8cd2f8e60ed596ad2df30353713 (patch) | |
tree | 1aeb5c2ce30fdccdb9ca5cae29d21faef4718033 | |
parent | e771813c6edb83afa3d517630c27ef0863b331f1 (diff) | |
download | nova-1af3ca69c250f8cd2f8e60ed596ad2df30353713.tar.gz |
libvirt: log exception info when interface detach failed
The detach_interface method is catching a libvirtError and logging an
error message but it doesn't include the contents of the root
libvirtError, so log that information as well for debugging.
Closes-Bug: #1374140
Change-Id: I042c2956c7393a2ee1ccd026421c8df537aa1a87
-rw-r--r-- | nova/virt/libvirt/driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py index 6b1c1b7a98..a4cd4b781a 100644 --- a/nova/virt/libvirt/driver.py +++ b/nova/virt/libvirt/driver.py @@ -1589,7 +1589,7 @@ class LibvirtDriver(driver.ComputeDriver): instance=instance) else: LOG.error(_LE('detaching network adapter failed.'), - instance=instance) + instance=instance, exc_info=True) raise exception.InterfaceDetachFailed( instance_uuid=instance['uuid']) |