<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body 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;
        -moz-text-size-adjust: auto; -webkit-text-stroke-width: 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="Apple-converted-space"> </span></span><font
        face="SFNS Display"><code class="docutils literal"
          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;
          -moz-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><span
            class="pre" 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; orphans: auto; text-align: left; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-size-adjust: auto;
        -webkit-text-stroke-width: 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="moz-txt-link-freetext" href="https://docs.openstack.org/releasenotes/nova/pike.html">https://docs.openstack.org/releasenotes/nova/pike.html</a><br>
        </font><br>
      </span></font>
    <div class="moz-cite-prefix">On 9/26/17 5:04 PM, Jay Pipes wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:43c4f809-c26b-f01c-3d5d-4ad640f22181@gmail.com">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>
        _______________________________________________
        <br>
        Mailing list:
        <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
        <br>
        Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
        <br>
        Unsubscribe :
        <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
        <br>
        <br>
      </blockquote>
      <br>
      _______________________________________________
      <br>
      Mailing list:
      <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
      <br>
      Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
      <br>
      Unsubscribe :
      <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Volodymyr Litovka
  "Vision without Execution is Hallucination." -- Thomas Edison
</pre>
  </body>
</html>