mirror of https://github.com/apache/cloudstack.git
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:
parent
a8addeea47
commit
eb2ff4bfcc
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Reference in New Issue