I think this feature is actually implemented in nova. So you have to use the nova volume-extend option to do what you want. This is just my interpretation of the release notes though. I haven't tried it.
On Tue, Sep 26, 2017 at 10:20 AM, Volodymyr Litovka <doka...@gmx.com> wrote: > Hi Jay, > > I know about this way :-) but Pike introduced ability to resize attached > volumes: > > "It is now possible to signal and perform an online volume size change as > of the 2.51 microversion using the volume-extendedexternal event. Nova > will perform the volume extension so the host can detect its new size. It > will also resize the device in QEMU so instance can detect the new disk > size without rebooting." -- https://docs.openstack.org/ > releasenotes/nova/pike.html > > On 9/26/17 5:04 PM, Jay Pipes wrote: > > 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@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > > > -- > Volodymyr Litovka > "Vision without Execution is Hallucination." -- Thomas Edison > > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/ > openstack > >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack