You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2018/05/08 09:30:50 UTC

[cloudstack] branch 4.11 updated: ceph: Fixes #2611 use raw disk type for rdb (#2623)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.11
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.11 by this push:
     new a53dcd6  ceph: Fixes #2611 use raw disk type for rdb  (#2623)
a53dcd6 is described below

commit a53dcd6aa94b8aa7bae83b28df157866675d9921
Author: Nathan Johnson <na...@nathanjohnson.org>
AuthorDate: Tue May 8 04:30:44 2018 -0500

    ceph: Fixes #2611 use raw disk type for rdb  (#2623)
    
    Fix issue where kvm / ceph cannot create volumes. Fixes #2611
---
 .../kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
index 792fc69..64d2a04 100644
--- a/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
+++ b/plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
@@ -661,7 +661,7 @@ public class LibvirtStorageAdaptor implements StorageAdaptor {
 
         switch (pool.getType()) {
             case RBD:
-                return createPhysicalDiskByLibVirt(name, pool, format, provisioningType, size);
+                return createPhysicalDiskByLibVirt(name, pool, PhysicalDiskFormat.RAW, provisioningType, size);
             case NetworkFilesystem:
             case Filesystem:
                 switch (format) {

-- 
To stop receiving notification emails like this one, please contact
rohit@apache.org.