<html><head><style type="text/css">body,p,td,div,span{font-size:13px; font-family:Arial, Helvetica, sans-serif;};body{border: 0; margin: 0; padding: {0}px; height: {1}px; cursor: text}body p{margin:0px;}</style></head><body>Hello Ruben,<br><br>Indeed this happens for some of them, but for some others they are still in UNKNOWs state.<br>Here is an extract of the VM log :<br><br>"<span style="color: rgb(34, 34, 34);">Thu Mar 21 11:55:56 2013 [LCM][I]: New VM state is SAVE_SUSPEND</span><pre style="color: rgb(34, 34, 34);">Thu Mar 21 11:57:49 2013 [VMM][I]: ExitCode: 0
Thu Mar 21 11:57:49 2013 [VMM][I]: Successfully execute virtualization driver operation: save.
Thu Mar 21 11:57:50 2013 [VMM][I]: ExitCode: 0
Thu Mar 21 11:57:50 2013 [VMM][I]: Successfully execute network driver operation: clean.
Thu Mar 21 11:57:50 2013 [DiM][I]: New VM state is SUSPENDED
Tue Mar 26 17:27:48 2013 [DiM][I]: New VM state is ACTIVE.
Tue Mar 26 17:27:48 2013 [LCM][I]: Restoring VM
Tue Mar 26 17:27:48 2013 [LCM][I]: New state is BOOT_SUSPENDED
Tue Mar 26 17:27:49 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:27:49 2013 [VMM][I]: Successfully execute network driver operation: pre.
Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:28:37 2013 [VMM][I]: Successfully execute virtualization driver operation: restore.
Tue Mar 26 17:28:37 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:28:37 2013 [VMM][I]: Successfully execute network driver operation: post.
Tue Mar 26 17:28:38 2013 [LCM][I]: New VM state is RUNNING
Tue Mar 26 17:28:38 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:28:39 2013 [VMM][I]: VM running but it was not found. Restart and delete actions available or try to recover it manually
Tue Mar 26 17:28:39 2013 [LCM][I]: New VM state is UNKNOWN
Tue Mar 26 17:36:48 2013 [LCM][I]: New VM state is BOOT_UNKNOWN
Tue Mar 26 17:36:48 2013 [VMM][I]: Generating deployment file: /var/lib/one/294/deployment.1
Tue Mar 26 17:36:52 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:36:52 2013 [VMM][I]: Successfully execute network driver operation: pre.
Tue Mar 26 17:36:52 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one/datastores/0/294/deployment.1 whitefall.local 294 whitefall.local
Tue Mar 26 17:36:52 2013 [VMM][I]: error: Failed to create domain from /var/lib/one/datastores/0/294/deployment.1
Tue Mar 26 17:36:52 2013 [VMM][I]: error: operation failed: domain 'one-294' already exists with uuid 326bc42b-1f8a-8984-e610-4c35f0bdd56f
<span class="vm_log_error">Tue Mar 26 17:36:52 2013 [VMM][E]: Could not create domain from /var/lib/one/datastores/0/294/deployment.1</span>
Tue Mar 26 17:36:52 2013 [VMM][I]: ExitCode: 255
Tue Mar 26 17:36:52 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.
<span class="vm_log_error">Tue Mar 26 17:36:52 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one/datastores/0/294/deployment.1</span>
Tue Mar 26 17:36:52 2013 [LCM][I]: Fail to boot VM. New VM state is UNKNOWN
Tue Mar 26 17:37:21 2013 [LCM][I]: New VM state is BOOT_UNKNOWN
Tue Mar 26 17:37:21 2013 [VMM][I]: Generating deployment file: /var/lib/one/294/deployment.1
Tue Mar 26 17:37:22 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:37:22 2013 [VMM][I]: Successfully execute network driver operation: pre.
Tue Mar 26 17:37:22 2013 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one/datastores/0/294/deployment.1 whitefall.local 294 whitefall.local
Tue Mar 26 17:37:22 2013 [VMM][I]: error: Failed to create domain from /var/lib/one/datastores/0/294/deployment.1
Tue Mar 26 17:37:22 2013 [VMM][I]: error: operation failed: domain 'one-294' already exists with uuid 326bc42b-1f8a-8984-e610-4c35f0bdd56f
<span class="vm_log_error">Tue Mar 26 17:37:22 2013 [VMM][E]: Could not create domain from /var/lib/one/datastores/0/294/deployment.1</span>
Tue Mar 26 17:37:22 2013 [VMM][I]: ExitCode: 255
Tue Mar 26 17:37:22 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy.
<span class="vm_log_error">Tue Mar 26 17:37:22 2013 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one/datastores/0/294/deployment.1</span>
Tue Mar 26 17:37:23 2013 [LCM][I]: Fail to boot VM. New VM state is UNKNOWN
Tue Mar 26 17:38:39 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:38:41 2013 [VMM][I]: VM running but it was not found. Restart and delete actions available or try to recover it manually
Tue Mar 26 17:48:45 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:48:45 2013 [VMM][I]: VM running but it was not found. Restart and delete actions available or try to recover it manually
Tue Mar 26 17:58:45 2013 [VMM][I]: ExitCode: 0
Tue Mar 26 17:58:45 2013 [VMM][I]: VM running but it was not found. Restart and delete actions available or try to recover it manually </pre><span style="color: rgb(34, 34, 34);">Tue Mar 26 18:08:45 2013 [VMM][I]: ExitCode: 0</span>"<br><br>The RESTART didn't do anything.<br><br>Here is the oned.log's extract for the same VM : <br><br>"Tue Mar 26 22:18:45 2013 [VMM][I]: Monitoring VM 294.<br><div>Tue Mar 26 22:18:45 2013 [VMM][D]: Message received: LOG I 294 ExitCode: 0</div>Tue Mar 26 22:18:45 2013 [VMM][D]: Message received: POLL SUCCESS 294 STATE=d"<br><br>The VMs that are in UNKNOWN state are located on 2 different hosts.<br>All hosts are configurated in the same way.<br><br>Thanks in advance<br>Cyrille<br><br><br>At Tuesday, 26/03/2013 on 18:53 Ruben S. Montero wrote:<br><blockquote style="border:0;border-left: 2px solid #22437f; padding:0px; margin:0px; padding-left:5px; margin-left: 5px; "><div dir="ltr">They should appear after a while, when the VM is monitored... Look for messages Monitoring VM... in oned.log.<div><br></div><div style="">Cheers</div><div style=""><br></div><div style="">Ruben</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Mar 26, 2013 at 5:39 PM, Duverne, Cyrille <span dir="ltr"><<a href="mailto:cyrille.duverne@euranova.eu" target="_blank">cyrille.duverne@euranova.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hello,<br><br>I just finished the reboot of our lab after electric shutdown, everything went fine.<br><br>But some of the VMs are stuck in UNKNOWN state after resuming them.<br>I tried to restart them, but they are actually running on the Hypervisors, it's just that sunstone is displaying UNKNOWN.<br>
<br>Any thought to solve this ?<br><br>Thanks in advance<span class="HOEnZb"><font color="#888888"><br>Cyrille<br><br></font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a target="_blank" class="blue" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a target="_blank" class="blue" href="http://www.OpenNebula.org">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula
</div></blockquote></body></html>