From 79c366db2b14f66d830834d5d117aff3be2bcebb Mon Sep 17 00:00:00 2001 From: Wido den Hollander Date: Tue, 27 Aug 2013 17:03:56 +0200 Subject: [PATCH] CLOUDSTACK-1191: Re-enable deployment of SystemVMs on RBD This was reverted by 0a5228922b822b57af72249912ed854281e1d85a unintentionnaly but broke this feature for RBD. Enable SystemVM deployment on RBD again --- .../storage/allocator/AbstractStoragePoolAllocator.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/engine/storage/src/org/apache/cloudstack/storage/allocator/AbstractStoragePoolAllocator.java b/engine/storage/src/org/apache/cloudstack/storage/allocator/AbstractStoragePoolAllocator.java index 9d5d7a41cd1..81800c627e4 100755 --- a/engine/storage/src/org/apache/cloudstack/storage/allocator/AbstractStoragePoolAllocator.java +++ b/engine/storage/src/org/apache/cloudstack/storage/allocator/AbstractStoragePoolAllocator.java @@ -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())) {