[one-users] VM unknown state. failed to get domain 'virsh'

Antonio Jurado Serrano ajurado at us.es
Fri May 11 08:24:40 PDT 2012


Hi again,

Some more info. I get the same error than in log if I run the following
command in the host:

virsh --connect qemu:///system --readonly dominfo virsh

error: failed to get domain 'virsh'
error: No se encontró dominio: no existe un dominio coincidente con el
nombre 'virsh'

But if I run:

virsh --connect qemu:///system --readonly dominfo one-40

I get the VM info.

Why is my VM getting DEPLOY_ID=virsh instead of DEPLOY_ID=one-40?

Thanks in advance,
Antonio

2012/5/9 Antonio Jurado Serrano <ajurado at us.es>

> Hi all,
>
> I'm getting "failed to get domain 'virsh'" error in vm.log after 10 min
> the VM was deployed. If I run in the host  'virsh list' I can see the VM
> running and I can ping it.
>
> I think it's about the "DEPLOY ID" but I can't solve the problem. I would
> appreciate some help with this.
>
> Some info:
>
> $cat vm.log
>
> Wed May  9 20:17:34 2012 [LCM][I]: New VM state is BOOT
> Wed May  9 20:17:34 2012 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/40/deployment.0
> Wed May  9 20:17:35 2012 [VMM][I]: ExitCode: 0
> Wed May  9 20:17:35 2012 [VMM][I]: Successfully execute network driver
> operation: pre.
> Wed May  9 20:17:36 2012 [VMM][I]: ExitCode: 0
> Wed May  9 20:17:36 2012 [VMM][I]: Successfully execute virtualization
> driver operation: deploy.
> Wed May  9 20:17:36 2012 [VMM][I]: ExitCode: 0
> Wed May  9 20:17:36 2012 [VMM][I]: Successfully execute network driver
> operation: post.
> Wed May  9 20:17:36 2012 [LCM][I]: New VM state is RUNNING
> Wed May  9 20:27:40 2012 [VMM][I]: error: failed to get domain 'virsh'
> Wed May  9 20:27:40 2012 [VMM][I]: error: No se encontró dominio: no
> existe un dominio coincidente con el nombre 'virsh'
> Wed May  9 20:27:40 2012 [VMM][I]: ExitCode: 0
> Wed May  9 20:27:40 2012 [VMM][I]: VM running but it was not found.
> Restart and delete actions available or try to recover it manually
> Wed May  9 20:27:40 2012 [LCM][I]: New VM state is UNKNOWN
>
> $onevm show 40
>
> VIRTUAL MACHINE 40
> INFORMATION
> ID                  : 40
> NAME                : one-40
> USER                : oneadmin
> GROUP               : oneadmin
> STATE               : ACTIVE
> LCM_STATE           : UNKNOWN
> HOSTNAME            : 10.1.13.11
> START TIME          : 05/09 20:15:03
> END TIME            : -
> DEPLOY ID           : virsh
>
> Regards,
> Antonio
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120511/86998f1a/attachment-0003.htm>


More information about the Users mailing list