[one-users] error: Domain not found

Fermín Manzanedo Guzmán fmanzanedo at jetmultimedia.es
Fri May 29 01:34:28 PDT 2009


Ruben S. Montero escribió:
> Hi,
>
> It seems like some kind of problem at the hypervisor level. I understand that
> the machine actually boots and it is running, right? (I mean in the
> node, could you log in the node and check it with virsh list)
>   

Hi, and thanks for your early answer.

This is the output of virsh list at the node:

~$ sudo virsh list
[sudo] password for oneadmin:
Connecting to uri: qemu:///system
Identidad Nombre               Estado
----------------------------------
  4 one-5                ejecutando



> Also, could you send us the full log for the VM and oned.log?
>   

This is the full log for the VM:

Thu May 28 15:47:16 2009 [DiM][I]: New VM state is ACTIVE.
Thu May 28 15:47:17 2009 [LCM][I]: New VM state is PROLOG.
Thu May 28 15:47:17 2009 [TM][I]: tm_clone.sh:
pre10:/IMAGENES/preasterisk.img 172.16.23.17:/VM//5/images/disk.0
Thu May 28 15:47:17 2009 [TM][I]: tm_clone.sh: DST: /VM//5/images/disk.0
Thu May 28 15:47:17 2009 [TM][I]: tm_clone.sh: Creating directory
/VM//5/images
Thu May 28 15:47:17 2009 [TM][I]: tm_clone.sh: Executed "mkdir -p
/VM//5/images".
Thu May 28 15:47:17 2009 [TM][I]: tm_clone.sh: Executed "chmod a+w
/VM//5/images".
Thu May 28 15:47:17 2009 [TM][I]: tm_clone.sh: Cloning
/IMAGENES/preasterisk.img
Thu May 28 15:49:17 2009 [TM][I]: tm_clone.sh: Executed "cp
/IMAGENES/preasterisk.img /VM//5/images/disk.0".
Thu May 28 15:49:17 2009 [TM][I]: tm_clone.sh: Executed "chmod a+w
/VM//5/images/disk.0".
Thu May 28 15:49:17 2009 [TM][I]: tm_mkswap.sh: Creating 1024Mb image in
/VM//5/images/disk.1
Thu May 28 15:49:17 2009 [TM][I]: tm_mkswap.sh: Executed "dd
if=/dev/zero of=/VM//5/images/disk.1 bs=1 count=1 seek=1024M".
Thu May 28 15:49:17 2009 [TM][I]: tm_mkswap.sh: Initializing swap space
Thu May 28 15:49:17 2009 [TM][I]: tm_mkswap.sh: Executed "/sbin/mkswap
/VM//5/images/disk.1".
Thu May 28 15:49:17 2009 [TM][I]: tm_mkswap.sh: Executed "chmod a+w
/VM//5/images/disk.1".
Thu May 28 15:49:18 2009 [LCM][I]: New VM state is BOOT
Thu May 28 15:49:18 2009 [VMM][I]: Generating deployment file:
/var/lib/one/5/deployment.0
Thu May 28 15:49:18 2009 [VMM][I]: Command: scp
/var/lib/one/5/deployment.0 172.16.23.17:/VM//5/images/deployment.0
Thu May 28 15:49:18 2009 [VMM][I]: Copy success
Thu May 28 15:49:19 2009 [VMM][I]: Connecting to uri: qemu:///system
Thu May 28 15:49:19 2009 [VMM][I]: ExitCode: 0
Thu May 28 15:49:19 2009 [LCM][I]: New VM state is RUNNING
Thu May 28 15:49:40 2009 [VMM][I]: Connecting to uri: qemu:///system
Thu May 28 15:49:40 2009 [VMM][I]: error: fallo al conseguir el dominio '-'
Thu May 28 15:49:40 2009 [VMM][I]: error: Domain not found
Thu May 28 15:49:40 2009 [VMM][I]: ExitCode: 1

And then repeat the same message every time.

This is the oned.log output:

Thu May 28 17:51:32 2009 [ONE][I]: Init OpenNebula Log system
Thu May 28 17:51:32 2009 [ONE][I]: Log Level: 3
[0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Thu May 28 17:51:32 2009 [ONE][I]:
----------------------------------------------
Thu May 28 17:51:32 2009 [ONE][I]:        OpenNebula Configuration
File         
Thu May 28 17:51:32 2009 [ONE][I]:
----------------------------------------------
Thu May 28 17:51:32 2009 [ONE][I]:
--------------------------------------------
        DEBUG_LEVEL=3
        HOST_MONITORING_INTERVAL=10
       
IM_MAD=ARGUMENTS=im_kvm/im_kvm.conf,DEFAULT=im_kvm/im_kvm.conf,EXECUTABLE=one_im_ssh,NAME=im_kvm
        MAC_PREFIX=00:03
        MANAGER_TIMER=30
        NETWORK_SIZE=254
        PORT=2633
       
TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,DEFAULT=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs
        VM_DIR=/VM/
       
VM_MAD=DEFAULT=vmm_kvm/vmm_kvm.conf,EXECUTABLE=one_vmm_kvm,NAME=vmm_kvm,TYPE=kvm
        VM_POLLING_INTERVAL=10
--------------------------------------------
Thu May 28 17:51:32 2009 [ONE][I]: Bootstraping OpenNebula database.
Thu May 28 17:51:32 2009 [ONE][E]: SQL command was: CREATE TABLE vm_pool
(oid INTEGER PRIMARY KEY,uid INTEGER,last_poll INTEGER, template_id
INTEGER,state INTEGER,lcm_state INTEGER,stime INTEGER,etime
INTEGER,deploy_id TEXT,memory INTEGER,cpu INTEGER,net_tx INTEGER,net_rx
INTEGER), error: table vm_pool already exists
Thu May 28 17:51:32 2009 [ONE][E]: SQL command was: CREATE TABLE
vm_attributes (id INTEGER, name TEXT, type INTEGER, value TEXT), error:
table vm_attributes already exists
Thu May 28 17:51:32 2009 [ONE][E]: SQL command was: CREATE TABLE history
(vid INTEGER,seq INTEGER,host_name TEXT,vm_dir TEXT,hid INTEGER,vm_mad
TEXT,tm_mad TEXT,stime INTEGER,etime INTEGER,pstime INTEGER,petime
INTEGER,rstime INTEGER,retime INTEGER,estime INTEGER,eetime
INTEGER,reason INTEGER,PRIMARY KEY(vid,seq)), error: table history
already exists
Thu May 28 17:51:32 2009 [ONE][E]: SQL command was: CREATE TABLE
host_pool (oid INTEGER PRIMARY KEY,host_name TEXT,state INTEGER,im_mad
TEXT,vm_mad TEXT,tm_mad TEXT,last_mon_time INTEGER,managed INTEGER),
error: table host_pool already exists
Thu May 28 17:51:32 2009 [ONE][E]: SQL command was: CREATE TABLE
host_attributes (id INTEGER, name TEXT, type INTEGER, value TEXT,
PRIMARY KEY(id,name)), error: table host_attributes already exists
Thu May 28 17:51:32 2009 [ONE][E]: SQL command was: CREATE TABLE
host_shares (hid INTEGER PRIMARY KEY, endpoint TEXT,disk_usage
INTEGER,mem_usage INTEGER,cpu_usage INTEGER,max_disk INTEGER,max_mem
INTEGER,max_cpu INTEGER,running_vms INTEGER), error: table host_shares
already exists
Thu May 28 17:51:32 2009 [ONE][E]: SQL command was: CREATE TABLE
network_pool (oid INTEGER,uid INTEGER, name TEXT PRIMARY KEY,type
INTEGER, bridge TEXT), error: table network_pool already exists
Thu May 28 17:51:32 2009 [ONE][E]: SQL command was: CREATE TABLE
vn_template (id INTEGER, name TEXT, type INTEGER, value TEXT), error:
table vn_template already exists
Thu May 28 17:51:32 2009 [ONE][E]: SQL command was: CREATE TABLE leases
(oid INTEGER,ip INTEGER, mac_prefix INTEGER,mac_suffix INTEGER,vid
INTEGER, used INTEGER, PRIMARY KEY(oid,ip)), error: table leases already
exists
Thu May 28 17:51:32 2009 [VMM][I]: Starting Virtual Machine Manager...
Thu May 28 17:51:32 2009 [LCM][I]: Starting Life-cycle Manager...
Thu May 28 17:51:32 2009 [VMM][I]: Virtual Machine Manager started.
Thu May 28 17:51:32 2009 [LCM][I]: Life-cycle Manager started.
Thu May 28 17:51:32 2009 [InM][I]: Starting Information Manager...
Thu May 28 17:51:32 2009 [InM][I]: Information Manager started.
Thu May 28 17:51:32 2009 [TrM][I]: Starting Transfer Manager...
Thu May 28 17:51:32 2009 [TrM][I]: Transfer Manager started.
Thu May 28 17:51:32 2009 [DiM][I]: Starting Dispatch Manager...
Thu May 28 17:51:32 2009 [DiM][I]: Dispatch Manager started.
Thu May 28 17:51:32 2009 [ReM][I]: Starting Request Manager...
Thu May 28 17:51:32 2009 [ReM][I]: Starting XML-RPC server, port 2633 ...
Thu May 28 17:51:32 2009 [ReM][I]: Request Manager started.
Thu May 28 17:51:32 2009 [InM][I]: Stopping Information Manager...
Thu May 28 17:51:33 2009 [InM][I]: Information Manager stopped.
Thu May 28 17:51:33 2009 [ONE][I]: All modules finalized, exiting.

Thu May 28 17:51:34 2009 [InM][I]: Loading Information Manager drivers.
Thu May 28 17:51:34 2009 [InM][I]:      Loading driver: im_kvm
Thu May 28 17:51:34 2009 [InM][I]:      Driver im_kvm loaded
Thu May 28 17:51:34 2009 [VMM][I]: Loading Virtual Machine Manager drivers.
Thu May 28 17:51:34 2009 [VMM][I]:      Loading driver: vmm_kvm (KVM)
Thu May 28 17:51:34 2009 [VMM][I]:      Driver vmm_kvm loaded.
Thu May 28 17:51:34 2009 [TM][I]: Loading Transfer Manager drivers.
Thu May 28 17:51:34 2009 [VMM][I]:      Loading driver: tm_nfs
Thu May 28 17:51:34 2009 [TM][I]:       Driver tm_nfs loaded.
Thu May 28 17:52:01 2009 [VMM][I]: Monitoring VM 3.
Thu May 28 17:52:02 2009 [VMM][I]: Monitoring VM 4.
Thu May 28 17:52:02 2009 [VMM][I]: Monitoring VM 5.
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 3 Connecting
to uri: qemu:///system

Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 3 error:
fallo al conseguir el dominio '-'

Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 3 error:
Domain not found

Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 3 ExitCode: 1

Thu May 28 17:52:02 2009 [VMM][D]: Message received: POLL FAILURE 3 -

Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 4 Connecting
to uri: qemu:///system

Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 4 error:
fallo al conseguir el dominio '-'

Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 4 error:
Domain not found

Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 4 ExitCode: 1

Thu May 28 17:52:02 2009 [VMM][D]: Message received: POLL FAILURE 4 -

Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 5 Connecting
to uri: qemu:///system

Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 5 error:
fallo al conseguir el dominio '-'

Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 5 error:
Domain not found

Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 5 ExitCode: 1

Thu May 28 17:52:02 2009 [VMM][D]: Message received: POLL FAILURE 5 -
Thu May 28 17:52:31 2009 [VMM][I]: Monitoring VM 3.
Thu May 28 17:52:32 2009 [VMM][I]: Monitoring VM 4.
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 3 Connecting
to uri: qemu:///system
 
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 3 error:
fallo al conseguir el dominio '-'

Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 3 error:
Domain not found

Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 3 ExitCode: 1

Thu May 28 17:52:32 2009 [VMM][D]: Message received: POLL FAILURE 3 -

Thu May 28 17:52:32 2009 [VMM][I]: Monitoring VM 5.
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 4 Connecting
to uri: qemu:///system

Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 4 error:
fallo al conseguir el dominio '-'

Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 4 error:
Domain not found

Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 4 ExitCode: 1

Thu May 28 17:52:32 2009 [VMM][D]: Message received: POLL FAILURE 4 -

Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 5 Connecting
to uri: qemu:///system

Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 5 error:
fallo al conseguir el dominio '-'

Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 5 error:
Domain not found

Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 5 ExitCode: 1

Thu May 28 17:52:32 2009 [VMM][D]: Message received: POLL FAILURE 5 -

Thu May 28 17:53:01 2009 [VMM][I]: Monitoring VM 3.
Thu May 28 17:53:02 2009 [VMM][I]: Monitoring VM 4.
Thu May 28 17:53:02 2009 [VMM][I]: Monitoring VM 5.
Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 3 Connecting
to uri: qemu:///system

Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 3 error:
fallo al conseguir el dominio '-'

Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 3 error:
Domain not found

Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 3 ExitCode: 1

Thu May 28 17:53:02 2009 [VMM][D]: Message received: POLL FAILURE 3 -

Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 4 Connecting
to uri: qemu:///system

Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 4 error:
fallo al conseguir el dominio '-'

Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 4 error:
Domain not found

Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 4 ExitCode: 1

Showing the same message on every line.

Thank you very much

>
> Thanks
>
> Ruben
>
> 2009/5/28 Fermín Manzanedo Guzmán <fmanzanedo at jetmultimedia.es>:
>   
>> Hello.
>>
>> We are trying to implement opennebula using ubuntu 9.04 and kvm:
>>
>> We can make the cloud (currently with only two nodes plus the manager),
>> add the shared filesystem to implement live migrations in the future,
>> and assign VM to the nodes but then, our oned.log shows:
>>
>> [...]
>> Thu May 28 18:01:32 2009 [VMM][D]: Message received: LOG - 5 Connecting
>> to uri: qemu:///system
>> Thu May 28 18:01:32 2009 [VMM][D]: Message received: LOG - 5 error:
>> fallo al conseguir el dominio '-'
>> Thu May 28 18:01:32 2009 [VMM][D]: Message received: LOG - 5 error:
>> Domain not found
>> Thu May 28 18:01:32 2009 [VMM][D]: Message received: LOG - 5 ExitCode: 1
>> Thu May 28 18:01:32 2009 [VMM][D]: Message received: POLL FAILURE 5 -
>> [...]
>>
>> onevm list shows VM running and onevm show shows active state an running
>> lcm state but can't stop, resume or any other command via onevm:
>>
>> Thu May 28 18:14:02 2009 [DiM][D]: Stopping VM 5
>> Thu May 28 18:14:02 2009 [VMM][D]: Message received: LOG - 5 Connecting
>> to uri: qemu:///system
>> Thu May 28 18:14:02 2009 [VMM][D]: Message received: LOG - 5 error: la
>> orden «save» requiere la opción <file>
>> Thu May 28 18:14:02 2009 [VMM][D]: Message received: LOG - 5 ExitCode: 1
>> Thu May 28 18:14:02 2009 [VMM][D]: Message received: SAVE FAILURE 5 la
>> orden «save» requiere la opción <file>
>> Thu May 28 18:14:03 2009 [VMM][D]: Message received: LOG - 5 Connecting
>> to uri: qemu:///system
>> Thu May 28 18:14:03 2009 [VMM][D]: Message received: LOG - 5 error:
>> fallo al conseguir el dominio '-'
>> Thu May 28 18:14:03 2009 [VMM][D]: Message received: LOG - 5 error:
>> Domain not found
>> Thu May 28 18:14:03 2009 [VMM][D]: Message received: LOG - 5 ExitCode: 1
>> Thu May 28 18:14:03 2009 [VMM][D]: Message received: POLL FAILURE 5 -
>>
>> We searched about thin in the documentation and over the internet, but
>> didn't find anything about it that solves the problem.
>>
>> Do you have any idea why we are seeing this error and how to solve it?
>>
>> Thanks in advance. Regards.
>>
>> --
>> Fermin Manzanedo
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>     
>
>
>
>   


-- 


  Fermin Manzanedo


    Administrador de Sistemas Senior

Jet Multimedia <http://www.jetmultimedia.es/>
- 	

    * Madrid
    * Parque Empresarial Cristalia,
    * Vía de los Poblados nº3 Edificio 5, Planta 4ª
    * 28033 Madrid

	

    * fmanzanedo at jetmultimedia.es <mailto:fmanzanedo at jetmultimedia.es>
    * Tel: 902 01 02 01
    * Fax: 902 01 00 00

	-

Jet Multimedia España, S.A. ® Aviso legal: Este mensaje electrónico está
dirigido únicamente a la(s) dirección(es) indicadas anteriormente; el
carácter confidencial, personal e intransferible del mismo está
protegido legalmente. Cualquier revelación, uso o reenvío no autorizado,
completo o en parte, está prohibido. Si ha recibido este mensaje por
equivocación, notifíquelo inmediatamente a la persona que lo ha enviado
y borre el mensaje original junto con sus ficheros anexos sin leerlo ni
grabarlo, total o parcialmente. Gracias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090529/64c41fa8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jm_logo_200px.gif
Type: image/gif
Size: 2910 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090529/64c41fa8/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parente_izq_mail_60px.gif
Type: image/gif
Size: 1072 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090529/64c41fa8/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parente_der_mail_60px.gif
Type: image/gif
Size: 1079 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090529/64c41fa8/attachment-0005.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090529/64c41fa8/attachment-0001.pgp>


More information about the Users mailing list