mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-1191: Re-enable deployment of SystemVMs on RBD
This was reverted by0a5228922bunintentionnaly but broke this feature for RBD. Enable SystemVM deployment on RBD again (cherry picked from commit3315159de6) Signed-off-by: animesh <animesh@apache.org>
This commit is contained in:
parent
fa6da31e15
commit
7678ab4d0d
|
|
@ -183,14 +183,6 @@ public abstract class AbstractStoragePoolAllocator extends AdapterBase implement
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
DiskOfferingVO diskOffering = _diskOfferingDao.findById(dskCh.getDiskOfferingId());
|
||||
if (diskOffering.getSystemUse() && pool.getPoolType() == StoragePoolType.RBD) {
|
||||
s_logger.debug("Skipping RBD pool " + pool.getName()
|
||||
+ " as a suitable pool. RBD is not supported for System VM's");
|
||||
return false;
|
||||
}
|
||||
|
||||
Long clusterId = pool.getClusterId();
|
||||
ClusterVO cluster = _clusterDao.findById(clusterId);
|
||||
if (!(cluster.getHypervisorType() == dskCh.getHypervisorType())) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue