koushik-das commented on a change in pull request #1832: CLOUDSTACK-9652 Job 
framework - Cancelling async jobs
URL: https://github.com/apache/cloudstack/pull/1832#discussion_r114259628
 
 

 ##########
 File path: engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
 ##########
 @@ -1107,6 +1110,13 @@ public void orchestrateStart(final String vmUuid, final 
Map<VirtualMachineProfil
                     }
                     canRetry = false;
                     throw new AgentUnavailableException("Unable to start " + 
vm.getHostName(), destHostId, e);
+                } catch (OperationCancelledException e) {
 
 Review comment:
   This catch block can be combined with the OperationTimedOut one as the code 
is identical
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to