Hi Javier,<br><br>Your workaround definitely solve my problem.<br><br>Thank you so much!<br><br><div class="gmail_quote">2012/5/15 Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@opennebula.org" target="_blank">jfontan@opennebula.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The problem you are facing is most probably caused by the system<br>
language being Spanish. You can notice the error message in the log:<br>
<div class="im"><br>
Wed May  9 20:27:40 2012 [VMM][I]: error: No se encontró dominio: no<br>
existe un dominio coincidente con el nombre 'virsh'<br>
<br>
</div>This leads to an incorrect parsing of the virsh command output. To<br>
solve this you can change the file<br>
/var/lib/one/remotes/scripts_common.sh and add this line:<br>
<br>
export LANG=C<br>
<br>
After this you need to issue the command:<br>
<br>
onehost sync<br>
<br>
This will actualize the file in your nodes in the next monitoring<br>
cycle. After they are actualized the next VMs create should be OK.<br>
<br>
You can also modify that file in the nodes<br>
(/var/tmp/one/scripts_common.sh) if you don't want to wait for the<br>
monitoring cycle.<br>
<div><div class="h5"><br>
On Wed, May 9, 2012 at 8:42 PM, Antonio Jurado Serrano <<a href="mailto:ajurado@us.es">ajurado@us.es</a>> wrote:<br>
> Hi all,<br>
><br>
> I'm getting "failed to get domain 'virsh'" error in vm.log after 10 min the<br>
> VM was deployed. If I run in the host  'virsh list' I can see the VM running<br>
> and I can ping it.<br>
><br>
> I think it's about the "DEPLOY ID" but I can't solve the problem. I would<br>
> appreciate some help with this.<br>
><br>
> Some info:<br>
><br>
> $cat vm.log<br>
><br>
> Wed May  9 20:17:34 2012 [LCM][I]: New VM state is BOOT<br>
> Wed May  9 20:17:34 2012 [VMM][I]: Generating deployment file:<br>
> /srv/cloud/one/var/40/deployment.0<br>
> Wed May  9 20:17:35 2012 [VMM][I]: ExitCode: 0<br>
> Wed May  9 20:17:35 2012 [VMM][I]: Successfully execute network driver<br>
> operation: pre.<br>
> Wed May  9 20:17:36 2012 [VMM][I]: ExitCode: 0<br>
> Wed May  9 20:17:36 2012 [VMM][I]: Successfully execute virtualization<br>
> driver operation: deploy.<br>
> Wed May  9 20:17:36 2012 [VMM][I]: ExitCode: 0<br>
> Wed May  9 20:17:36 2012 [VMM][I]: Successfully execute network driver<br>
> operation: post.<br>
> Wed May  9 20:17:36 2012 [LCM][I]: New VM state is RUNNING<br>
> Wed May  9 20:27:40 2012 [VMM][I]: error: failed to get domain 'virsh'<br>
> Wed May  9 20:27:40 2012 [VMM][I]: error: No se encontró dominio: no existe<br>
> un dominio coincidente con el nombre 'virsh'<br>
> Wed May  9 20:27:40 2012 [VMM][I]: ExitCode: 0<br>
> Wed May  9 20:27:40 2012 [VMM][I]: VM running but it was not found. Restart<br>
> and delete actions available or try to recover it manually<br>
> Wed May  9 20:27:40 2012 [LCM][I]: New VM state is UNKNOWN<br>
><br>
> $onevm show 40<br>
><br>
> VIRTUAL MACHINE 40<br>
> INFORMATION<br>
> ID                  : 40<br>
> NAME                : one-40<br>
> USER                : oneadmin<br>
> GROUP               : oneadmin<br>
> STATE               : ACTIVE<br>
> LCM_STATE           : UNKNOWN<br>
> HOSTNAME            : 10.1.13.11<br>
> START TIME          : 05/09 20:15:03<br>
> END TIME            : -<br>
> DEPLOY ID           : virsh<br>
><br>
> Regards,<br>
> Antonio<br>
><br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">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>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Javier Fontán Muiños<br>
Project Engineer<br>
OpenNebula - The Open Source Toolkit for Data Center Virtualization<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jfontan@opennebula.org">jfontan@opennebula.org</a> | @OpenNebula<br>
</font></span></blockquote></div><br>