mirror of https://github.com/apache/cloudstack.git
better log when deploy vm failed
This commit is contained in:
parent
6d320507fd
commit
8ef2724c26
|
|
@ -825,7 +825,7 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene
|
|||
}
|
||||
} catch (Exception e) {
|
||||
s_logger.error("Failed to start instance " + vm, e);
|
||||
throw new AgentUnavailableException("Unable to start instance", destHostId, e);
|
||||
throw new AgentUnavailableException("Unable to start instance due to " + e.getMessage(), destHostId, e);
|
||||
} finally {
|
||||
if (startedVm == null && canRetry) {
|
||||
_workDao.updateStep(work, Step.Release);
|
||||
|
|
|
|||
Loading…
Reference in New Issue