CS-15603 : CloudStack failing to stop vm's when destroyVM is called

Updated fullSync operation to ignore VMs which doesn't follow CS naming convention
Reviewed-by: Abhi
This commit is contained in:
Koushik Das 2012-09-11 15:56:18 +05:30
parent a8addeea47
commit eb2ff4bfcc
1 changed files with 1 additions and 0 deletions

View File

@ -1725,6 +1725,7 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene
}
for (final AgentVmInfo left : infos.values()) {
if (!VirtualMachineName.isValidVmName(left.name)) continue; // if the vm doesn't follow CS naming ignore it for stopping
try {
Host host = _hostDao.findByGuid(left.getHostUuid());
if (host != null){