<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Simon Barrett" <Simon.Barrett@tradingscreen.com><br><b>To: </b>"Omer Frenkel" <ofrenkel@redhat.com>, "Meital Bourvine" <mbourvin@redhat.com><br><b>Cc: </b>users@ovirt.org<br><b>Sent: </b>Wednesday, March 26, 2014 10:44:15 AM<br><b>Subject: </b>RE: [Users] VM Status "Unknown"<br><div><br></div><style><!--
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d; mso-fareast-language: EN-US;">Was this ever resolved? I have a similar situation where a node was reset while a VM was running on it. Now the VM is in an unknown state and I cannot stop/start etc. I also cannot put the node into maintenance mode as it thinks it still has running VM’s</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d; mso-fareast-language: EN-US;"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';">[oVirt shell (connected)]# list vms --query "id=807593a5-8667-4265-a0ab-b3e37feb1fc1" --show-all | grep status</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';">status-state : unknown </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';">[oVirt shell (connected)]# action vm 807593a5-8667-4265-a0ab-b3e37feb1fc1 stop</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> ============================ ERROR ====================================</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> status: 409</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> reason: Conflict</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> detail: Cannot stop VM. VM is not running.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> =======================================================================</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';">[oVirt shell (connected)]# action host d3a555b1-b5dd-48d1-802c-03096bdf8b00 deactivate</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> ============================ ERROR ====================================</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> status: 409</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> reason: Conflict</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> detail: Cannot switch Host to Maintenance mode.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';">Host still has running VMs on it and is in Non Responsive state.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> =======================================================================</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New"" data-mce-style="font-size: 11.0pt; font-family: 'Courier New';"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d; mso-fareast-language: EN-US;">Thanks,</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d; mso-fareast-language: EN-US;"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d; mso-fareast-language: EN-US;"> </span></p></div></blockquote><div>your host in non-responsive, means the engine cant verify its status and the vms status on it.<br></div><div>if you dont have power management (i guess you dont) and you absolutely sure the vms are really not running there anymore<br></div><div>you can mark the host as been rebooted, and clear the its state.<br></div><div>in the UI - right click the host and choose "confirm rebooted"<br></div><div>in rest i think its called manual fence<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d; mso-fareast-language: EN-US;"> </span></p><div><div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm" data-mce-style="border: none; border-top: solid #E1E1E1 1.0pt; padding: 3.0pt 0cm 0cm 0cm;"><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';" lang="EN-US">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" data-mce-style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';" lang="EN-US"> users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] <b>On Behalf Of </b>Omer Frenkel<br> <b>Sent:</b> 12 January 2014 08:47<br> <b>To:</b> Meital Bourvine<br> <b>Cc:</b> users@ovirt.org<br> <b>Subject:</b> Re: [Users] VM Status "Unknown"</span></p></div></div><div><div><p class="MsoNormal"><span style="color:black" data-mce-style="color: black;"> </span></p></div><div><p class="MsoNormal"><span style="color:black" data-mce-style="color: black;"> </span></p></div><div class="MsoNormal" style="text-align:center" data-mce-style="text-align: center;" align="center"><hr id="zwchr" align="center" size="2" width="100%"></div><blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt" data-mce-style="border: none; border-left: solid #1010FF 1.5pt; padding: 0cm 0cm 0cm 4.0pt; margin-left: 3.75pt; margin-top: 5.0pt; margin-bottom: 5.0pt;"><p class="MsoNormal"><b><span style="font-family:"Helvetica","sans-serif";color:black" data-mce-style="font-family: 'Helvetica','sans-serif'; color: black;">From: </span></b><span style="font-family:"Helvetica","sans-serif";color:black" data-mce-style="font-family: 'Helvetica','sans-serif'; color: black;">"Meital Bourvine" <<a href="mailto:mbourvin@redhat.com" target="_blank" data-mce-href="mailto:mbourvin@redhat.com">mbourvin@redhat.com</a>><br> <b>To: </b>"Ryan Womer" <<a href="mailto:Ryan.Womer@cytechservices.com" target="_blank" data-mce-href="mailto:Ryan.Womer@cytechservices.com">Ryan.Womer@cytechservices.com</a>><br> <b>Cc: </b><a href="mailto:users@ovirt.org" target="_blank" data-mce-href="mailto:users@ovirt.org">users@ovirt.org</a><br> <b>Sent: </b>Friday, January 10, 2014 11:54:51 AM<br> <b>Subject: </b>Re: [Users] VM Status "Unknown"</span></p><div><p class="MsoNormal"><span style="font-family:"Helvetica","sans-serif";color:black" data-mce-style="font-family: 'Helvetica','sans-serif'; color: black;"> </span></p></div><div><div><p class="MsoNormal"><span style="color:black" data-mce-style="color: black;">Can you please provide vdsm.log (of both hosts) and engine.log?</span></p></div></div></blockquote><div><p class="MsoNormal"><span style="color:black" data-mce-style="color: black;">also, what version are you using?</span></p></div><div><p class="MsoNormal"><span style="color:black" data-mce-style="color: black;">we had some bugs around this solved for 3.3</span></p></div><div><p class="MsoNormal"><span style="color:black" data-mce-style="color: black;"> </span></p></div><blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt" data-mce-style="border: none; border-left: solid #1010FF 1.5pt; padding: 0cm 0cm 0cm 4.0pt; margin-left: 3.75pt; margin-top: 5.0pt; margin-bottom: 5.0pt;"><div><div><p class="MsoNormal"><span style="color:black" data-mce-style="color: black;"> </span></p></div><div class="MsoNormal" style="text-align:center" data-mce-style="text-align: center;" align="center"><hr id="zwchr" align="center" size="2" width="100%"></div><blockquote style="border:none;border-left:solid #1010FF 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt" data-mce-style="border: none; border-left: solid #1010FF 1.5pt; padding: 0cm 0cm 0cm 4.0pt; margin-left: 3.75pt; margin-top: 5.0pt; margin-bottom: 5.0pt;"><p class="MsoNormal"><b><span style="font-family:"Helvetica","sans-serif";color:black" data-mce-style="font-family: 'Helvetica','sans-serif'; color: black;">From: </span></b><span style="font-family:"Helvetica","sans-serif";color:black" data-mce-style="font-family: 'Helvetica','sans-serif'; color: black;">"Ryan Womer" <<a href="mailto:Ryan.Womer@cytechservices.com" target="_blank" data-mce-href="mailto:Ryan.Womer@cytechservices.com">Ryan.Womer@cytechservices.com</a>><br> <b>To: </b><a href="mailto:users@ovirt.org" target="_blank" data-mce-href="mailto:users@ovirt.org">users@ovirt.org</a><br> <b>Sent: </b>Thursday, January 9, 2014 10:43:37 PM<br> <b>Subject: </b>[Users] VM Status "Unknown"</span></p><div><p class="MsoNormal"><span style="font-family:"Helvetica","sans-serif";color:black" data-mce-style="font-family: 'Helvetica','sans-serif'; color: black;"> </span></p></div><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="color:black" data-mce-style="color: black;">During a migration, the destination host lost connectivity to the san and crashed. </span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="color:black" data-mce-style="color: black;">Once the server came back up, 3 VMs that didn’t finish migrating have been stuck in status “Unknown.” Vdsclient doesn’t list any of the vms on either host. Qemu doesn’t have them listed as mounted on either host. Action vm start and stop result in “Status: 409”. </span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" data-mce-style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="color:black" data-mce-style="color: black;">The disks for all 3 VMs are listed as green in the WebAdmin. I’ve tried “action vm <name> start” “action vm <name> stop” “update vm <name> --status-state down” no joy. They remain in “unknown.”</span></p></div><p class="MsoNormal"><span style="font-family:"Helvetica","sans-serif";color:black" data-mce-style="font-family: 'Helvetica','sans-serif'; color: black;"><br> _______________________________________________<br> Users mailing list<br> <a href="mailto:Users@ovirt.org" target="_blank" data-mce-href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank" data-mce-href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a></span><br data-mce-bogus="1"></p></blockquote><div><p class="MsoNormal"><span style="color:black" data-mce-style="color: black;"> </span></p></div></div><p class="MsoNormal"><span style="font-family:"Helvetica","sans-serif";color:black" data-mce-style="font-family: 'Helvetica','sans-serif'; color: black;"><br> _______________________________________________<br> Users mailing list<br> <a href="mailto:Users@ovirt.org" target="_blank" data-mce-href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank" data-mce-href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a></span><br data-mce-bogus="1"></p></blockquote><div><p class="MsoNormal"><span style="color:black" data-mce-style="color: black;"> </span></p></div></div></div></blockquote><div><br></div></div></body></html>