<div dir="ltr">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.<div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><p><br></p></div></div><div class="gmail_quote">On Tue, Sep 26, 2017 at 10:20 AM, Volodymyr Litovka <span dir="ltr"><<a href="mailto:doka.ua@gmx.com" target="_blank">doka.ua@gmx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<font face="SFNS Display">Hi Jay,<br>
<br>
I know about this way :-) but Pike introduced ability to resize
attached volumes:<br>
</font><br>
<font face="SFNS Display"><span style="font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">"It is now possible to signal and
perform an online volume size change as of the 2.51 microversion
using the<span class="m_-4222356466849712398Apple-converted-space"> </span></span><font face="SFNS Display"><code class="m_-4222356466849712398docutils m_-4222356466849712398literal" style="box-sizing:border-box;font-size:12.6px;padding:1px 3px;background-color:rgb(249,242,244);border-radius:4px;border:1px solid rgb(225,228,229);font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span class="m_-4222356466849712398pre" style="box-sizing:border-box">volume-extended</span></code></font><span style="color:rgb(51,51,51);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14.000000953674316px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none"><font face="SFNS
Display" color="#000000">external 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." --
<a class="m_-4222356466849712398moz-txt-link-freetext" href="https://docs.openstack.org/releasenotes/nova/pike.html" target="_blank">https://docs.openstack.org/<wbr>releasenotes/nova/pike.html</a><br>
</font><br>
</span></font><div><div class="h5">
<div class="m_-4222356466849712398moz-cite-prefix">On 9/26/17 5:04 PM, Jay Pipes wrote:<br>
</div>
<blockquote type="cite">Detach
the volume, then resize it, then re-attach.
<br>
<br>
Best,
<br>
-jay
<br>
<br>
On 09/26/2017 09:22 AM, Volodymyr Litovka wrote:
<br>
<blockquote type="cite">Colleagues,
<br>
<br>
can't find ways to resize attached volume. I'm on Pike.
<br>
<br>
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.
<br>
<br>
Well,
<br>
- Nova's API microversion is 2.51, which seems to be enough to
support "volume-extended" API call
<br>
- Properties of image are *hw_disk_bus='scsi'* and
*hw_scsi_model='virtio-scsi'*, type bare/raw, located in Cinder
<br>
- hypervisor is KVM
<br>
- volume is bootable, mounted as root, created as snapshot from
Cinder volume
<br>
- Cinder's backend is CEPH/Bluestore
<br>
<br>
and both "cinder extend" and "openstack volume set --size"
returns "Volume status must be '{'status': 'available'}' to
extend, currently in-use".
<br>
<br>
I did not find any configuration options neither in nova nor in
cinder config files, which can help with this functionality.
<br>
<br>
What I'm doing wrong?
<br>
<br>
Thank you.
<br>
<br>
-- <br>
Volodymyr Litovka
<br>
"Vision without Execution is Hallucination." -- Thomas Edison
<br>
<br>
<br>
<br>
______________________________<wbr>_________________
<br>
Mailing list:
<a class="m_-4222356466849712398moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a>
<br>
Post to : <a class="m_-4222356466849712398moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
<br>
Unsubscribe :
<a class="m_-4222356466849712398moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a>
<br>
<br>
</blockquote>
<br>
______________________________<wbr>_________________
<br>
Mailing list:
<a class="m_-4222356466849712398moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a>
<br>
Post to : <a class="m_-4222356466849712398moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
<br>
Unsubscribe :
<a class="m_-4222356466849712398moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a>
<br>
</blockquote>
<br>
<pre class="m_-4222356466849712398moz-signature" cols="72">--
Volodymyr Litovka
"Vision without Execution is Hallucination." -- Thomas Edison
</pre>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
<br></blockquote></div><br></div></div>