mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
Do regular vm stop (not forced=true) when disableAccount
This commit is contained in:
parent
72098e4ebd
commit
67f76b5192
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user