diff --git a/server/src/com/cloud/vm/VirtualMachineManagerImpl.java b/server/src/com/cloud/vm/VirtualMachineManagerImpl.java index 8a1b719ec2d..23c723b44cd 100755 --- a/server/src/com/cloud/vm/VirtualMachineManagerImpl.java +++ b/server/src/com/cloud/vm/VirtualMachineManagerImpl.java @@ -1818,16 +1818,13 @@ public class VirtualMachineManagerImpl implements VirtualMachineManager, Listene else if(info == null && vm.getState() == State.Stopping) { //Handling CS-13376 Host host = _hostDao.findByGuid(info.getHosUuid()); if(host != null ){ - s_logger.warn("Marking the VM as Stopped as it was still stopping on the CS" +info.name); vm.setState(State.Stopped); // Setting the VM as stopped on the DB and clearing it from the host vm.setHostId(null); vm.setLastHostId(host.getId()); - _vmDao.persist(vm); + _vmDao.persist(vm); } - } - } for (final AgentVmInfo left : infos.values()) {