mirror of https://github.com/apache/cloudstack.git
Do regular vm stop (not forced=true) when disableAccount
This commit is contained in:
parent
0e9d1a8d1d
commit
73574ebf5b
|
|
@ -1166,7 +1166,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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue