<div dir="ltr">Also important to note, you should check the 'provider_location' column for the volumes in error_deleting, otherwise you may have the space potentially allocated on the backend, but cinder thinking it's deleted.<div>I also like to update 'deleted_at' to "NOW"</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 5, 2015 at 10:41 AM, Erlon Cruz <span dir="ltr"><<a href="mailto:sombrafam@gmail.com" target="_blank">sombrafam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This is usually is related to mis-configuration on the backend driver. For example, if you create a volume, shutdown the driver to change some configuration, the backend driver can get confused while trying to delete the volume or even can't be able to locate the volume in the storage array. S</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 5, 2015 at 3:35 AM, Eli Qiao <span dir="ltr"><<a href="mailto:taget@linux.vnet.ibm.com" target="_blank">taget@linux.vnet.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <br>
    <div>在 2015年01月05日 13:02, Punith S 写道:<br>
    </div><span>
    <blockquote type="cite">
      <div dir="ltr">Hi Eli,
        <div><br>
        </div>
        <div>you have to log-in to MySQL cinder database , and try
          deleting the required volume from the volumes table using the
          id.</div>
        <div>if it fails due to foreign key constraints in volume
          metadata table, try deleting the corresponding volume metadata
          and then try to delete the required volume row.</div>
        <div><br>
        </div>
      </div>
    </blockquote></span>
    hi Punith, I did as your suggestion, it works. but is that
    reasonable not to delete a error_deleting even that status keeping
    for a quite long time?<br>
    thanks.<div><div><br>
    <blockquote type="cite">
      <div dir="ltr">
        <div>thanks  </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Jan 5, 2015 at 7:22 AM, Eli
          Qiao <span dir="ltr"><<a href="mailto:taget@linux.vnet.ibm.com" target="_blank">taget@linux.vnet.ibm.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> <br>
              hi all,<br>
              how to delete a cinder volume which is in error_deleting
              status ?<br>
              I don't find force delete options in 'cinder delete', 
              then how we fix it if we got such situation ?<br>
              [tagett@stack-01 devstack]$ cinder list<br>
+--------------------------------------+----------------+-------------+------+-------------+----------+--------------------------------------+<br>
              |                  ID                  |     Status    
              |     Name    | Size | Volume Type | Bootable
              |             Attached to              |<br>
+--------------------------------------+----------------+-------------+------+-------------+----------+--------------------------------------+<br>
              | 3e0acd0a-f28f-4fe3-b6e9-e65d5c40740b |     in-use     |
              with_cirros |  4   | lvmdriver-1 |   true   |
              428f0235-be54-462f-8916-f32965d42e63 |<br>
              | 7039c683-2341-4dd7-a947-e35941245ec4 | error_deleting
              |     None    |  4   | lvmdriver-1 |  false  
              |                                      |<br>
              | d576773f-6865-4959-ba26-13602ed32e89 | error_deleting
              |     None    |  4   | lvmdriver-1 |  false  
              |                                      |<br>
+--------------------------------------+----------------+-------------+------+-------------+----------+--------------------------------------+<br>
              [tagett@stack-01 devstack]$ cinder delete 
              7039c683-2341-4dd7-a947-e35941245ec4<br>
              Delete for volume 7039c683-2341-4dd7-a947-e35941245ec4
              failed: Bad Request (HTTP 400) (Request-ID:
              req-e4d8cdd9-6ed5-4a7f-81de-7f38f2163d33)<br>
              ERROR: Unable to delete any of specified volumes.<span><font color="#888888"><br>
                  <br>
                  <pre cols="72">-- 
Thanks,
Eli (Li Yong) Qiao</pre>
                  <div> </div>
                </font></span></div>
            <br>
            _______________________________________________<br>
            OpenStack-dev mailing list<br>
            <a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
            <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all"><span class="HOEnZb"><font color="#888888">
        <div><br>
        </div>
        -- <br>
        <div>
          <div dir="ltr">regards,
            <div><br>
            </div>
            <div>punith s</div>
            <div><a href="http://cloudbyte.com" target="_blank">cloudbyte.com</a></div>
          </div>
        </div>
      </font></span></div><span class="HOEnZb"><font color="#888888">
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
OpenStack-dev mailing list
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
Thanks,
Eli (Li Yong) Qiao</pre>
  </font></span></div></div></div><span class="HOEnZb"><font color="#888888">

<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></font></span></blockquote></div><br></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>