Do regular vm stop (not forced=true) when disableAccount

This commit is contained in:
alena 2011-07-11 17:26:28 -07:00
parent 72098e4ebd
commit 67f76b5192

View File

@ -1187,7 +1187,7 @@ public class AccountManagerImpl implements AccountManager, AccountService, Manag
for (VMInstanceVO vm : vms) {
try {
try {
success = (success && _itMgr.advanceStop(vm, true, getSystemUser(), getSystemAccount()));
success = (success && _itMgr.advanceStop(vm, false, getSystemUser(), getSystemAccount()));
} catch (OperationTimedoutException ote) {
s_logger.warn("Operation for stopping vm timed out, unable to stop vm " + vm.getHostName(), ote);
success = false;