Skip to content

Commit 7678ab4

Browse files
widochaturvedia
authored andcommitted
CLOUDSTACK-1191: Re-enable deployment of SystemVMs on RBD
This was reverted by 0a52289 unintentionnaly but broke this feature for RBD. Enable SystemVM deployment on RBD again (cherry picked from commit 3315159) Signed-off-by: animesh <animesh@apache.org>
1 parent fa6da31 commit 7678ab4

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎engine/storage/src/org/apache/cloudstack/storage/allocator/AbstractStoragePoolAllocator.java‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,6 @@ protected boolean filter(ExcludeList avoid, StoragePool pool, DiskProfile dskCh,
183183
return false;
184184
}
185185

186-
187-
DiskOfferingVO diskOffering = _diskOfferingDao.findById(dskCh.getDiskOfferingId());
188-
if (diskOffering.getSystemUse() && pool.getPoolType() == StoragePoolType.RBD) {
189-
s_logger.debug("Skipping RBD pool " + pool.getName()
190-
+ " as a suitable pool. RBD is not supported for System VM's");
191-
return false;
192-
}
193-
194186
Long clusterId = pool.getClusterId();
195187
ClusterVO cluster = _clusterDao.findById(clusterId);
196188
if (!(cluster.getHypervisorType() == dskCh.getHypervisorType())) {

0 commit comments

Comments
 (0)