mirror of https://github.com/apache/cloudstack.git
bug 5147: we ensure that if the sp under maintenance is the only one in the cluster, we just stop the vms with no migration (base case)
This commit is contained in:
parent
e7c280214b
commit
8d38e230a5
|
|
@ -2009,7 +2009,7 @@ public class StorageManagerImpl implements StorageManager {
|
|||
//if they dont, then just stop all vms on this one
|
||||
count = _storagePoolDao.countBy(primaryStorage.getPodId(), Status.Up);
|
||||
|
||||
if(count == 1)
|
||||
if(count == 0)
|
||||
restart = false;
|
||||
|
||||
//2. Get a list of all the volumes within this storage pool
|
||||
|
|
|
|||
Loading…
Reference in New Issue