se-bre opened a new issue #2868: Ceph - resize volume doesn't work
URL: https://github.com/apache/cloudstack/issues/2868
 
 
   ##### ISSUE TYPE
   
    * Bug Report
   
   ##### COMPONENT NAME
   
   ~~~
   Ceph / primary storage
   ~~~
   
   ##### CLOUDSTACK VERSION
   
   ~~~
   4.11.0 / 4.9
   ~~~
   
   ##### CONFIGURATION
   
   Ceph as primary storage
   
   
   ##### OS / ENVIRONMENT
   
   Ubuntu 16.04
   libvirt 1.3.1
   
   ##### SUMMARY
   
   Volume resize does not work for running VM.
   Cloudstack resizes the ceph rbd but running vm doesn't recognise
   
   
   ##### STEPS TO REPRODUCE
   
   resize volume (attached to a running vm)
   
   ##### EXPECTED RESULTS
   
   lsblk should show new size
   
   ##### ACTUAL RESULTS
   
   lsblk shows old size
   
   workaround:
   
   - detach - reattach volume
   
   - stop - start vm
   
   - virsh command on hypervisor
   
   get volume on hypervisor:
   ~~~
       virsh qemu-monitor-command <vm_name or domain_id> info block --hmp
       
       drive-virtio-disk0 (#block155): 
rbd:pool/xyz:id=cloudstack:key=xyz==:auth_supported=cephx\;none:mon_host=ceph.mon\:6789
 (raw)
           [...]
           
   ~~~
   disk name `drive-virtio-disk0`
   
   update blockdevice size information for vm
   ~~~
   virsh qemu-monitor-command <vm_name or domain_id> 'block_resize <disk_name> 
<new_size>G'
   ~~~
   
   log entries `/var/log/cloudstack/agent/resizevolume.log`:
   ~~~
   Mon Oct  1 11:42:31 CEST 2018 - failed to live resize pool/xyz to size of 
10485760 kb
   ~~~

----------------------------------------------------------------
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