sureshanaparti commented on code in PR #9873:
URL: https://github.com/apache/cloudstack/pull/9873#discussion_r1841985126
##########
engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java:
##########
@@ -1320,8 +1320,8 @@ public void orchestrateStart(final String vmUuid, final
Map<VirtualMachineProfil
syncDiskChainChange(startAnswer);
if (!changeState(vm, Event.OperationSucceeded,
destHostId, work, Step.Done)) {
- logger.error("Unable to transition to a new
state. VM uuid: {}, VM oldstate: {}, Event: {}", vm.getUuid(), vm.getState(),
Event.OperationSucceeded);
- throw new ConcurrentOperationException("Failed
to deploy VM"+ vm.getUuid());
+ logger.error("Unable to transition to a new
state. VM uuid: {}, VM oldstate: {}, Event: {}", vm, vm.getState(),
Event.OperationSucceeded);
+ throw new ConcurrentOperationException("Failed
to deploy VM"+ vm);
Review Comment:
```suggestion
throw new
ConcurrentOperationException("Failed to deploy VM" + vm);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]