<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>You cinder volume is attached to server ( VM) with ID b998107b-e708-42a5-8790-4727fed879a3 . Unless you delete this server, you won't be<br>able to delete attached volume ( it's attached on /dev/vda )<br><br>B.<br><br><div><hr id="stopSpelling">Date: Wed, 14 May 2014 16:02:23 +0530<br>From: anandts124@gmail.com<br>To: rdo-list@redhat.com<br>Subject: [Rdo-list] Cinder volume deleting issue<br><br><div dir="ltr"><div>Hi all,</div><div><br></div><div>I have multinode setup on openstack+havana+rdo on CentOS6.5</div><div><br></div><div>Issue- Can't able to delete cinder volume. </div><div><br></div><div>when try to delete through command line</div>
<div><br></div><div>[root@cinder ~(keystone_admin)]# cinder list</div><div>+--------------------------------------+--------+--------------+------+-------------+----------+--------------------------------------+</div><div>
|                  ID                  | Status | Display Name | Size | Volume Type | Bootable |             Attached to              |</div><div>+--------------------------------------+--------+--------------+------+-------------+----------+--------------------------------------+</div>
<div>| fe0fdad1-2f8a-4cce-a173-797391dbc7ad | in-use |     vol2     |  10  |     None    |   true   | b998107b-e708-42a5-8790-4727fed879a3 |</div><div>+--------------------------------------+--------+--------------+------+-------------+----------+------------------------------</div>
<div><br></div><div>[root@cinder ~(keystone_admin)]# cinder delete fe0fdad1-2f8a-4cce-a173-797391dbc7ad</div><div>Delete for volume fe0fdad1-2f8a-4cce-a173-797391dbc7ad failed: Invalid volume: Volume status must be available or error, but current status is: in-use (HTTP 400) (Request-ID: req-d9be63f0-476a-4ecd-8655-20491336ee8b)</div>
<div>ERROR: Unable to delete any of the specified volumes.</div><div><br></div><div><br></div><div>when try to delete through dashboard, screen shot attached with the mail.</div><div><br></div><div>This occured when a cinder volume attached instance is deleted from the database without detaching the volume. Now the volume is in use and attached to NONE.</div>
<div><br></div><div><br></div><div>Please find the cinder logs here , <a href="http://paste.openstack.org/show/80333/" target="_blank">http://paste.openstack.org/show/80333/</a></div><div><br></div><div>Any work around to this problem.</div>
</div>
<br>_______________________________________________
Rdo-list mailing list
Rdo-list@redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list</div>                                      </div></body>
</html>