mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
CLOUDSTACK-2067 - ACS4.2 - throw LibvirtException instead of squelching it
so that callers of startVM in LibvirtComputingResource know that a vm failed to start Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1366224775 -0600
This commit is contained in:
parent
5ee3cc41fe
commit
26fea7b660
@ -1077,8 +1077,7 @@ ServerResource {
|
||||
*/
|
||||
conn.domainCreateXML(domainXML, 0);
|
||||
} catch (final LibvirtException e) {
|
||||
s_logger.warn("Failed to start domain " + vmName + ": "
|
||||
+ e.getMessage(), e);
|
||||
throw e;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user