Jazz9 opened a new issue #2650: Ceph RBD Feature flag update
URL: https://github.com/apache/cloudstack/issues/2650
 
 
    * Improvement Request
    Cloudstack Ceph Integration
   
   When use Ceph >= Jewel / KVM with Cloudstack the RBD feature codes are not 
the new default values.
   
   ##### SUMMARY
   When Cloudstack creates a VM from template it manually specifies the feature 
set and forces layering only. If you manually clone the volume via the rbd 
command line tool, the expected features are retained from the parent template. 
   
   The features that I require are for these use cases:
    
   1.Using 'rbd du' the get the real disk usage of a volume without fast-diff 
is very slow. We need to schedule this after hours on large images.
   2.We are starting to use rbd mirroring across to our secondary DC and this 
requires exclusive-lock.
   3.Deep flatten can not be turned on after image creation. I am not sure if I 
require this feature at this time.
   
   
   ##### STEPS TO REPRODUCE
   <!--
   Ceph Luminous, Ubuntu 16.04 KVM, qemu-img Luminous
   -->
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Example of VM volume from template: - 
   
   user@NAS-AUBUN-RK3-CEPH01:~# rbd info 
AUBUN-KVM-CLUSTER01-SSD/feeb52ec-f111-4a0d-9785-23aadd7650a5
   
   rbd image 'feeb52ec-f111-4a0d-9785-23aadd7650a5':
           size 150 GB in 38400 objects
           order 22 (4096 kB objects)
           block_name_prefix: rbd_data.142926a5ee64
           format: 2
           features: layering
           flags:
           create_timestamp: Fri Apr 27 12:46:21 2018
           parent: 
AUBUN-KVM-CLUSTER01-SSD/d7dcd9e4-ed55-44ae-9a71-52c9307e53b4@cloudstack-base-snap
           overlap: 150 GB
   
   Note the features are not the same as the parent : -
   
   user@NAS-AUBUN-RK3-CEPH01:~# rbd info 
AUBUN-KVM-CLUSTER01-SSD/d7dcd9e4-ed55-44ae-9a71-52c9307e53b4
   rbd image 'd7dcd9e4-ed55-44ae-9a71-52c9307e53b4':
           size 150 GB in 38400 objects
           order 22 (4096 kB objects)
           block_name_prefix: rbd_data.141d274b0dc51
           format: 2
           features: layering, exclusive-lock, object-map, fast-diff, 
deep-flatten
           flags:
           create_timestamp: Fri Apr 27 12:37:05 2018
   
   
   ~~~
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to