From 8218ce0fe243d85d0f4cb6280d2310a81c8e99de Mon Sep 17 00:00:00 2001 From: Daan Hoogland Date: Thu, 23 Oct 2014 20:53:09 +0200 Subject: [PATCH] unexplained happy flow for restart network modified --- .../cloudstack/engine/orchestration/NetworkOrchestrator.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java b/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java index ab5a21c7406..8b472898d9f 100755 --- a/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java +++ b/engine/orchestration/src/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java @@ -2464,12 +2464,11 @@ public class NetworkOrchestrator extends ManagerBase implements NetworkOrchestra try { implementNetworkElementsAndResources(dest, context, network, offering); setRestartRequired(network, true); + return true; } catch (Exception ex) { s_logger.warn("Failed to implement network " + network + " elements and resources as a part of network restart due to ", ex); return false; } - setRestartRequired(network, false); - return true; } private void setRestartRequired(NetworkVO network, boolean restartRequired) {