DaanHoogland commented on a change in pull request #4966:
URL: https://github.com/apache/cloudstack/pull/4966#discussion_r697287537



##########
File path: 
engine/orchestration/src/main/java/com/cloud/vm/VirtualMachineManagerImpl.java
##########
@@ -4390,13 +4390,18 @@ public VMInstanceVO reConfigureVm(final String vmUuid, 
final ServiceOffering old
 
             VirtualMachine vm = retrieveVmFromJobOutcome(outcome, vmUuid, 
"reconfigureVm");
 
+            Object result = null;
             try {
-                retrieveResultFromJobOutcomeAndThrowExceptionIfNeeded(outcome);
-            } catch (InsufficientCapacityException ex) {
+                result = 
retrieveResultFromJobOutcomeAndThrowExceptionIfNeeded(outcome);
+
+                if (result == null) {
+                    return (VMInstanceVO)vm;
+                }
+            } catch (Exception ex) {

Review comment:
       come to think of it, maybe even add the result, parse the result and add 
some info? (or maybe later)




-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to