Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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 Signed-off-by: Aaron Rosen <arosen@nicira.com>
- Loading branch information
1 parent
272b98d
commit 86fb736
Showing
2 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters