[Openstack] extend attached volumes

Jay Pipes jaypipes at gmail.com
Tue Sep 26 14:04:39 UTC 2017


Detach the volume, then resize it, then re-attach.

Best,
-jay

On 09/26/2017 09:22 AM, Volodymyr Litovka wrote:
> Colleagues,
> 
> can't find ways to resize attached volume. I'm on Pike.
> 
> As far as I understand, it required to be supported in Nova, because 
> Cinder need to check with Nova whether it's possible to extend this volume.
> 
> Well,
> - Nova's API microversion is 2.51, which seems to be enough to support 
> "volume-extended" API call
> - Properties of image are *hw_disk_bus='scsi'* and 
> *hw_scsi_model='virtio-scsi'*, type bare/raw, located in Cinder
> - hypervisor is KVM
> - volume is bootable, mounted as root, created as snapshot from Cinder 
> volume
> - Cinder's backend is CEPH/Bluestore
> 
> and both "cinder extend" and "openstack volume set --size" returns 
> "Volume status must be '{'status': 'available'}' to extend, currently 
> in-use".
> 
> I did not find any configuration options neither in nova nor in cinder 
> config files, which can help with this functionality.
> 
> What I'm doing wrong?
> 
> Thank you.
> 
> -- 
> Volodymyr Litovka
>    "Vision without Execution is Hallucination." -- Thomas Edison
> 
> 
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 



More information about the Openstack mailing list