diff --git a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java index ddfa9989fe6..8d73941748a 100755 --- a/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java +++ b/server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java @@ -1446,7 +1446,8 @@ public class VirtualNetworkApplianceManagerImpl extends ManagerBase implements V // dest has pod=null, for Basic Zone findOrDeployVRs for all Pods List destinations = new ArrayList(); - if (dest.getDataCenter().getNetworkType() == NetworkType.Basic) { + // for basic zone, if 'dest' has pod set to null then this is network restart scenario otherwise it is a vm deployment scenario + if (dest.getDataCenter().getNetworkType() == NetworkType.Basic && dest.getPod() == null) { // Find all pods in the data center with running or starting user vms long dcId = dest.getDataCenter().getId(); List pods = listByDataCenterIdVMTypeAndStates(dcId, VirtualMachine.Type.User, VirtualMachine.State.Starting, VirtualMachine.State.Running);