CS-14256: throw executionException when finalizeStart fails (no point to retry).

This commit is contained in:
Alena Prokharchyk 2012-04-23 15:55:09 -07:00
parent 3c4c53bbe2
commit 4be5ae1f29
1 changed files with 1 additions and 1 deletions

View File

@ -783,7 +783,6 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene
}
return startedVm;
} else {
canRetry = false;
if (s_logger.isDebugEnabled()) {
s_logger.info("The guru did not like the answers so stopping " + vm);
}
@ -794,6 +793,7 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene
_haMgr.scheduleStop(vm, destHostId, WorkType.ForceStop);
throw new ExecutionException("Unable to stop " + vm + " so we are unable to retry the start operation");
}
throw new ExecutionException("Unable to start " + vm + " due to error in finalizeStart, not retrying");
}
}
s_logger.info("Unable to start VM on " + dest.getHost() + " due to " + (startAnswer == null ? " no start answer" : startAnswer.getDetails()));