mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
bug 5915: removing the check to see if there are other hosts in maintenance, whilst enabling host maintenance
status 5915: resolved fixed
This commit is contained in:
parent
f3e91de0bd
commit
1d25a33be1
@ -2074,12 +2074,6 @@ public class AgentManagerImpl implements AgentManager, HandlerFactory,
|
||||
+ ". Please specify a valid host ID.");
|
||||
}
|
||||
|
||||
if (_hostDao.countBy(host.getClusterId(), Status.PrepareForMaintenance,
|
||||
Status.ErrorInMaintenance, Status.Maintenance) > 0) {
|
||||
throw new InvalidParameterValueException(
|
||||
"There are other servers in maintenance mode.");
|
||||
}
|
||||
|
||||
if (_storageMgr.isLocalStorageActiveOnHost(host)) {
|
||||
throw new InvalidParameterValueException(
|
||||
"There are active VMs using the host's local storage pool. Please stop all VMs on this host that use local storage.");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user