<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">在 2015年01月05日 13:31, Eli Qiao 写道:<br>
</div>
<blockquote cite="mid:54AA21B2.9030801@linux.vnet.ibm.com"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<br>
<div class="moz-cite-prefix">在 2015年01月05日 13:10, Asselin, Ramy
写道:<br>
</div>
<blockquote
cite="mid:4BFD2A2A3BAE4A46AA43C6A2DB44D1693A438EE2@G4W3223.americas.hpqcorp.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.hoenzb
{mso-style-name:hoenzb;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Before
getting into the database, try the cinder reset-state
command. It’s available in the horizon ui starting in
Juno.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Otherwise
use the command line [1].<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
</div>
</blockquote>
</blockquote>
hi Asselin, appreciate it, sorry for reply to wrong person.<br>
<blockquote cite="mid:54AA21B2.9030801@linux.vnet.ibm.com"
type="cite">
<blockquote
cite="mid:4BFD2A2A3BAE4A46AA43C6A2DB44D1693A438EE2@G4W3223.americas.hpqcorp.net"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Ramy<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">[1]
<a moz-do-not-send="true"
href="http://docs.openstack.org/cli-reference/content/cinderclient_commands.html">http://docs.openstack.org/cli-reference/content/cinderclient_commands.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
</div>
</blockquote>
<span
style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hi
Punith, the command line is really help , thanks.<br>
but I am not sure I found it in horizon ui(latest upstream
version), is there a button , or menu to call cinder reset-state
in ui ?<br>
</span>
<blockquote
cite="mid:4BFD2A2A3BAE4A46AA43C6A2DB44D1693A438EE2@G4W3223.americas.hpqcorp.net"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif"">
Punith S [<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="mailto:punith.s@cloudbyte.com">mailto:punith.s@cloudbyte.com</a>]
<br>
<b>Sent:</b> Sunday, January 04, 2015 9:02 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for
usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [Cinder] how to delete
a volume which is in error_deleting state<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Eli,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">you have to log-in to MySQL cinder
database , and try deleting the required volume from the
volumes table using the id.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">thanks <o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, Jan 5, 2015 at 7:22 AM, Eli
Qiao <<a moz-do-not-send="true"
href="mailto:taget@linux.vnet.ibm.com" target="_blank">taget@linux.vnet.ibm.com</a>>
wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC
1.0pt;padding:0in 0in 0in
6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal"><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
style="color:#888888"><br>
<br>
<br>
<span class="hoenzb"><o:p></o:p></span></span></p>
<pre><span style="color:#888888">-- <o:p></o:p></span></pre>
<pre><span style="color:#888888">Thanks,<o:p></o:p></span></pre>
<pre><span style="color:#888888">Eli (Li Yong) Qiao</span><o:p></o:p></pre>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a moz-do-not-send="true"
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">regards,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">punith s<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a moz-do-not-send="true"
href="http://cloudbyte.com" target="_blank">cloudbyte.com</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Thanks,
Eli (Li Yong) Qiao</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Thanks,
Eli (Li Yong) Qiao</pre>
</body>
</html>