Skip to content

Commit ebbc929

Browse files
committed
CLOUDSTACK-3664:
scaling up vms was not considering parameter cluster.(memory/cpu).allocated.capacity.disablethreshold. Fixed it Also added overprovisioning factor retrieval at the cluster level for host capacity check
1 parent 5d9335f commit ebbc929

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3433,9 +3433,9 @@ private void createDhcpEntryCommandsForVMs(DomainRouterVO router, Commands cmds,
34333433
}
34343434

34353435
protected boolean sendCommandsToRouter(final VirtualRouter router, Commands cmds) throws AgentUnavailableException {
3436-
/*if(!checkRouterVersion(router)){
3436+
if(!checkRouterVersion(router)){
34373437
throw new CloudRuntimeException("Router requires upgrade. Unable to send command to router:" + router.getId());
3438-
} */
3438+
}
34393439
Answer[] answers = null;
34403440
try {
34413441
answers = _agentMgr.send(router.getHostId(), cmds);

0 commit comments

Comments
 (0)