hi,<br><br>I obtain to do a live migrate, I install a new front-end machine and all is ok, but I try if i have a VM runn to poweroff the cluster node that VM's use to prove if the vm change automatically to another cluster node but after 5 minutes that machine is off the onevm list show this:<br>
<br> ID USER NAME STAT CPU MEM HOSTNAME TIME<br> 10 oneadmin winxp runn 0 2048000 cluster02 00 01:50:27<br><br>And oned.log show this:<br>Wed Feb 10 10:01:15 2010 [InM][I]: ssh: connect to host cluster02 port 22: No route to host<br>
Wed Feb 10 10:01:15 2010 [InM][I]: ExitCode: 255<br>Wed Feb 10 10:01:15 2010 [InM][E]: Error monitoring host 0 : MONITOR FAILURE 0 Could not monitor host cluster02.<br><br>If possible that Opennebula can't change the vm's automatically when one cluster node is down?<br>
<br>Thank you very much,<br><br>Regards,<br><br>Sergio <br><br><div class="gmail_quote">2010/2/9 sergio garcia escriche <span dir="ltr"><<a href="mailto:sergei.garcia@gmail.com">sergei.garcia@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I have Ubuntu 9.04 in two clusters. I think all is ok, permissions too. I don't understand why i put migrate in cluster node show here:<br>
<br>virsh # list<br> Id Name State<br>----------------------------------<br>
5 one-4 paused<br><br>Thank you,<br><br>Sergio<br><br><div class="gmail_quote">2010/2/8 Ruben S. Montero <span dir="ltr"><<a href="mailto:rubensm@dacya.ucm.es" target="_blank">rubensm@dacya.ucm.es</a>></span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Sergio,<br>
<br>
You may have problems with the last version of Ubuntu (9.10) and<br>
apparmor. The default configuration of the qemu-libvirt files prevents<br>
the daemon to write checkpoint files under $ONE_LOCATION...<br>
<br>
If you are using Karmic follow slide 47 of [1]. You should apply that<br>
to all the cluster nodes.<br>
<br>
Cheers<br>
<br>
Ruben<br>
<br>
<br>
REFS<br>
[1] <a href="http://www.slideshare.net/rsmontero/building-clouds-one-14%0A2010/2/8" target="_blank">http://www.slideshare.net/rsmontero/building-clouds-one-14<br>
2010/2/8</a> Nikola Milutinović <<a href="mailto:n.milutinovic@levi9.com" target="_blank">n.milutinovic@levi9.com</a>>:<br>
<div><div></div><div>> On 2/7/2010 6:30 PM, sergio garcia escriche wrote:<br>
><br>
> ID USER NAME STAT CPU MEM HOSTNAME TIME<br>
> 47 oneadmin winxp susp 0 2048000 cluster02 01 09:08:49<br>
> When I go to the oned.log says this error:<br>
> Sun Feb 7 18:26:00 2010 [DiM][D]: Migrating VM 47<br>
> Sun Feb 7 18:26:00 2010 [VMM][D]: Message received: LOG - 47 Command<br>
> execution fail: 'touch /srv/cloud/one/var/47/images/checkpoint;virsh<br>
> --connect qemu:///system save one-47<br>
> /srv/cloud/one/var/47/images/checkpoint'<br>
> Sun Feb 7 18:26:00 2010 [VMM][D]: Message received: LOG - 47 STDERR<br>
> follows.<br>
> Sun Feb 7 18:26:00 2010 [VMM][D]: Message received: LOG - 47 Connecting to<br>
> uri: qemu:///system<br>
> Sun Feb 7 18:26:00 2010 [VMM][D]: Message received: LOG - 47 error: Failed<br>
> to save domain one-47 to /srv/cloud/one/var/47/images/checkpoint<br>
> Sun Feb 7 18:26:00 2010 [VMM][D]: Message received: LOG - 47 error:<br>
> operation failed: failed to create '/srv/cloud/one/var/47/images/checkpoint'<br>
> Sun Feb 7 18:26:00 2010 [VMM][D]: Message received: LOG - 47 ExitCode: 1<br>
> Sun Feb 7 18:26:00 2010 [VMM][D]: Message received: SAVE FAILURE 47 -<br>
><br>
> Main question is why it failed to create that checkpoint file. Are file<br>
> permissions OK? It may sound ridiculous, since the VM is running, maybe Xen<br>
> cannot create the file in that directory?<br>
><br>
> Nix.<br>
> --<br>
> Met vriendelijke groet / Kind regards,<br>
> Nikola Milutinovic<br>
> Sr Java Developer<br>
> Levi9 Global Sourcing<br>
> ________________________________<br>
> . Jan van Goyenkade 8, 1075 HP Amsterdam, The Netherlands<br>
> ( +31 (0) 20 7547900 ext 2056<br>
> ( +381 (0) 21 4895800 ext 2056<br>
> È +381 (0) 64 2202824<br>
> * n.milutinovic@Levi9.com<br>
> ^ Skype: nikola.milutinovic<br>
> ü <a href="http://www.levi9.com" target="_blank">www.levi9.com</a><br>
><br>
> Chamber of commerce Levi9 Global Sourcing BV: 34221951<br>
> Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746<br>
> ________________________________<br>
> This e-mail may contain confidential or privileged information. If you are<br>
> not (one of) the intended recipient(s), please notify the sender immediately<br>
> by reply e-mail and delete this message and any attachments permanently<br>
> without retaining a copy. Any review, disclosure, copying, distribution or<br>
> taking any action in reliance on the contents of this e-mail by persons or<br>
> entities other than the intended recipient(s) is strictly prohibited and may<br>
> be unlawful.<br>
><br>
> The services of Levi9 are exclusively subject to its general terms and<br>
> conditions. These general terms and conditions can be found on <a href="http://www.levi9.com" target="_blank">www.levi9.com</a><br>
> and a copy will be promptly submitted to you on your request and free of<br>
> charge.<br>
><br>
</div></div><div><div></div><div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Dr. Ruben Santiago Montero<br>
Associate Professor, Complutense University of Madrid<br>
<br>
URL: <a href="http://dsa-research.org/doku.php?id=people:ruben" target="_blank">http://dsa-research.org/doku.php?id=people:ruben</a><br>
Weblog: <a href="http://blog.dsa-research.org/?author=7" target="_blank">http://blog.dsa-research.org/?author=7</a><br>
</font></blockquote></div></div></div><br>
</blockquote></div><br>