diff options
| author | Dan Smith <danms@us.ibm.com> | 2012-07-25 10:33:16 -0700 |
|---|---|---|
| committer | Dan Smith <danms@us.ibm.com> | 2012-07-26 07:03:36 -0700 |
| commit | 4810269ef648348bbc7ef9113d4e7faf47b15c55 (patch) | |
| tree | c4b6ee13b9e0e33cbefb82cca25c0552f00151e5 /nova/openstack | |
| parent | 71062fe8e061c3f8157b67762c4d190d13351447 (diff) | |
| download | nova-4810269ef648348bbc7ef9113d4e7faf47b15c55.tar.gz nova-4810269ef648348bbc7ef9113d4e7faf47b15c55.tar.xz nova-4810269ef648348bbc7ef9113d4e7faf47b15c55.zip | |
Fix exception handling in libvirt attach_volume()
Currently, the real reason for a failure is dropped when attempting
to unroll the volume connection (with the exception of when it is
VIR_ERR_OPERATION_FAILED). This change uses save_and_reraise_exception()
to correct that so that the actual reason for failure gets logged.
Fixes bug 1029463
Change-Id: Id47db565c4fb5a88d1a263600b41706dd3419726
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
