<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ruben S. Montero escribió:
<blockquote
 cite="mid:cdef3eca0905290042j79c56b4dw2ab8e9763248b162@mail.gmail.com"
 type="cite">
  <pre wrap="">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)
  </pre>
</blockquote>
<br>
Hi, and thanks for your early answer.<br>
<br>
This is the output of virsh list at the node:<br>
<br>
~$ sudo virsh list<br>
[sudo] password for oneadmin: <br>
Connecting to uri: qemu:///system<br>
Identidad Nombre               Estado<br>
----------------------------------<br>
  4 one-5                ejecutando<br>
<br>
<br>
<br>
<blockquote
 cite="mid:cdef3eca0905290042j79c56b4dw2ab8e9763248b162@mail.gmail.com"
 type="cite">
  <pre wrap="">
Also, could you send us the full log for the VM and oned.log?
  </pre>
</blockquote>
<br>
This is the full log for the VM:<br>
<br>
Thu May 28 15:47:16 2009 [DiM][I]: New VM state is ACTIVE.<br>
Thu May 28 15:47:17 2009 [LCM][I]: New VM state is PROLOG.<br>
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<br>
Thu May 28 15:47:17 2009 [TM][I]: tm_clone.sh: DST: /VM//5/images/disk.0<br>
Thu May 28 15:47:17 2009 [TM][I]: tm_clone.sh: Creating directory
/VM//5/images<br>
Thu May 28 15:47:17 2009 [TM][I]: tm_clone.sh: Executed "mkdir -p
/VM//5/images".<br>
Thu May 28 15:47:17 2009 [TM][I]: tm_clone.sh: Executed "chmod a+w
/VM//5/images".<br>
Thu May 28 15:47:17 2009 [TM][I]: tm_clone.sh: Cloning
/IMAGENES/preasterisk.img<br>
Thu May 28 15:49:17 2009 [TM][I]: tm_clone.sh: Executed "cp
/IMAGENES/preasterisk.img /VM//5/images/disk.0".<br>
Thu May 28 15:49:17 2009 [TM][I]: tm_clone.sh: Executed "chmod a+w
/VM//5/images/disk.0".<br>
Thu May 28 15:49:17 2009 [TM][I]: tm_mkswap.sh: Creating 1024Mb image
in /VM//5/images/disk.1<br>
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".<br>
Thu May 28 15:49:17 2009 [TM][I]: tm_mkswap.sh: Initializing swap space<br>
Thu May 28 15:49:17 2009 [TM][I]: tm_mkswap.sh: Executed "/sbin/mkswap
/VM//5/images/disk.1".<br>
Thu May 28 15:49:17 2009 [TM][I]: tm_mkswap.sh: Executed "chmod a+w
/VM//5/images/disk.1".<br>
Thu May 28 15:49:18 2009 [LCM][I]: New VM state is BOOT<br>
Thu May 28 15:49:18 2009 [VMM][I]: Generating deployment file:
/var/lib/one/5/deployment.0<br>
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<br>
Thu May 28 15:49:18 2009 [VMM][I]: Copy success<br>
Thu May 28 15:49:19 2009 [VMM][I]: Connecting to uri: qemu:///system<br>
Thu May 28 15:49:19 2009 [VMM][I]: ExitCode: 0<br>
Thu May 28 15:49:19 2009 [LCM][I]: New VM state is RUNNING<br>
Thu May 28 15:49:40 2009 [VMM][I]: Connecting to uri: qemu:///system<br>
Thu May 28 15:49:40 2009 [VMM][I]: error: fallo al conseguir el dominio
'-'<br>
Thu May 28 15:49:40 2009 [VMM][I]: error: Domain not found<br>
Thu May 28 15:49:40 2009 [VMM][I]: ExitCode: 1<br>
<br>
And then repeat the same message every time.<br>
<br>
This is the oned.log output:<br>
<br>
Thu May 28 17:51:32 2009 [ONE][I]: Init OpenNebula Log system<br>
Thu May 28 17:51:32 2009 [ONE][I]: Log Level: 3
[0=ERROR,1=WARNING,2=INFO,3=DEBUG]<br>
Thu May 28 17:51:32 2009 [ONE][I]:
----------------------------------------------<br>
Thu May 28 17:51:32 2009 [ONE][I]:        OpenNebula Configuration
File          <br>
Thu May 28 17:51:32 2009 [ONE][I]:
----------------------------------------------<br>
Thu May 28 17:51:32 2009 [ONE][I]: <br>
--------------------------------------------<br>
        DEBUG_LEVEL=3<br>
        HOST_MONITORING_INTERVAL=10<br>
       
IM_MAD=ARGUMENTS=im_kvm/im_kvm.conf,DEFAULT=im_kvm/im_kvm.conf,EXECUTABLE=one_im_ssh,NAME=im_kvm<br>
        MAC_PREFIX=00:03<br>
        MANAGER_TIMER=30<br>
        NETWORK_SIZE=254<br>
        PORT=2633<br>
       
TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,DEFAULT=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs<br>
        VM_DIR=/VM/<br>
       
VM_MAD=DEFAULT=vmm_kvm/vmm_kvm.conf,EXECUTABLE=one_vmm_kvm,NAME=vmm_kvm,TYPE=kvm<br>
        VM_POLLING_INTERVAL=10<br>
--------------------------------------------<br>
Thu May 28 17:51:32 2009 [ONE][I]: Bootstraping OpenNebula database.<br>
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<br>
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<br>
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<br>
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<br>
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<br>
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<br>
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<br>
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<br>
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<br>
Thu May 28 17:51:32 2009 [VMM][I]: Starting Virtual Machine Manager...<br>
Thu May 28 17:51:32 2009 [LCM][I]: Starting Life-cycle Manager...<br>
Thu May 28 17:51:32 2009 [VMM][I]: Virtual Machine Manager started.<br>
Thu May 28 17:51:32 2009 [LCM][I]: Life-cycle Manager started.<br>
Thu May 28 17:51:32 2009 [InM][I]: Starting Information Manager...<br>
Thu May 28 17:51:32 2009 [InM][I]: Information Manager started.<br>
Thu May 28 17:51:32 2009 [TrM][I]: Starting Transfer Manager...<br>
Thu May 28 17:51:32 2009 [TrM][I]: Transfer Manager started.<br>
Thu May 28 17:51:32 2009 [DiM][I]: Starting Dispatch Manager...<br>
Thu May 28 17:51:32 2009 [DiM][I]: Dispatch Manager started.<br>
Thu May 28 17:51:32 2009 [ReM][I]: Starting Request Manager...<br>
Thu May 28 17:51:32 2009 [ReM][I]: Starting XML-RPC server, port 2633
...<br>
Thu May 28 17:51:32 2009 [ReM][I]: Request Manager started.<br>
Thu May 28 17:51:32 2009 [InM][I]: Stopping Information Manager...<br>
Thu May 28 17:51:33 2009 [InM][I]: Information Manager stopped.<br>
Thu May 28 17:51:33 2009 [ONE][I]: All modules finalized, exiting.<br>
<br>
Thu May 28 17:51:34 2009 [InM][I]: Loading Information Manager drivers.<br>
Thu May 28 17:51:34 2009 [InM][I]:      Loading driver: im_kvm<br>
Thu May 28 17:51:34 2009 [InM][I]:      Driver im_kvm loaded<br>
Thu May 28 17:51:34 2009 [VMM][I]: Loading Virtual Machine Manager
drivers.<br>
Thu May 28 17:51:34 2009 [VMM][I]:      Loading driver: vmm_kvm (KVM)<br>
Thu May 28 17:51:34 2009 [VMM][I]:      Driver vmm_kvm loaded.<br>
Thu May 28 17:51:34 2009 [TM][I]: Loading Transfer Manager drivers.<br>
Thu May 28 17:51:34 2009 [VMM][I]:      Loading driver: tm_nfs<br>
Thu May 28 17:51:34 2009 [TM][I]:       Driver tm_nfs loaded.<br>
Thu May 28 17:52:01 2009 [VMM][I]: Monitoring VM 3.<br>
Thu May 28 17:52:02 2009 [VMM][I]: Monitoring VM 4.<br>
Thu May 28 17:52:02 2009 [VMM][I]: Monitoring VM 5.<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 3 Connecting
to uri: qemu:///system<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 3 error:
fallo al conseguir el dominio '-'<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 3 error:
Domain not found<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 3 ExitCode: 1<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: POLL FAILURE 3 -<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 4 Connecting
to uri: qemu:///system<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 4 error:
fallo al conseguir el dominio '-'<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 4 error:
Domain not found<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 4 ExitCode: 1<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: POLL FAILURE 4 -<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 5 Connecting
to uri: qemu:///system<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 5 error:
fallo al conseguir el dominio '-'<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 5 error:
Domain not found<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: LOG - 5 ExitCode: 1<br>
<br>
Thu May 28 17:52:02 2009 [VMM][D]: Message received: POLL FAILURE 5 -<br>
Thu May 28 17:52:31 2009 [VMM][I]: Monitoring VM 3.<br>
Thu May 28 17:52:32 2009 [VMM][I]: Monitoring VM 4.<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 3 Connecting
to uri: qemu:///system<br>
 <br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 3 error:
fallo al conseguir el dominio '-'<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 3 error:
Domain not found<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 3 ExitCode: 1<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: POLL FAILURE 3 -<br>
<br>
Thu May 28 17:52:32 2009 [VMM][I]: Monitoring VM 5.<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 4 Connecting
to uri: qemu:///system<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 4 error:
fallo al conseguir el dominio '-'<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 4 error:
Domain not found<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 4 ExitCode: 1<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: POLL FAILURE 4 -<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 5 Connecting
to uri: qemu:///system<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 5 error:
fallo al conseguir el dominio '-'<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 5 error:
Domain not found<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: LOG - 5 ExitCode: 1<br>
<br>
Thu May 28 17:52:32 2009 [VMM][D]: Message received: POLL FAILURE 5 -<br>
<br>
Thu May 28 17:53:01 2009 [VMM][I]: Monitoring VM 3.<br>
Thu May 28 17:53:02 2009 [VMM][I]: Monitoring VM 4.<br>
Thu May 28 17:53:02 2009 [VMM][I]: Monitoring VM 5.<br>
Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 3 Connecting
to uri: qemu:///system<br>
<br>
Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 3 error:
fallo al conseguir el dominio '-'<br>
<br>
Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 3 error:
Domain not found<br>
<br>
Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 3 ExitCode: 1<br>
<br>
Thu May 28 17:53:02 2009 [VMM][D]: Message received: POLL FAILURE 3 -<br>
<br>
Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 4 Connecting
to uri: qemu:///system<br>
<br>
Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 4 error:
fallo al conseguir el dominio '-'<br>
<br>
Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 4 error:
Domain not found<br>
<br>
Thu May 28 17:53:02 2009 [VMM][D]: Message received: LOG - 4 ExitCode: 1<br>
<br>
Showing the same message on every line.<br>
<br>
Thank you very much<br>
<br>
<blockquote
 cite="mid:cdef3eca0905290042j79c56b4dw2ab8e9763248b162@mail.gmail.com"
 type="cite">
  <pre wrap="">

Thanks

Ruben

2009/5/28 Fermín Manzanedo Guzmán <a class="moz-txt-link-rfc2396E" href="mailto:fmanzanedo@jetmultimedia.es"><fmanzanedo@jetmultimedia.es></a>:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>


    </pre>
  </blockquote>
  <pre wrap=""><!---->


  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<div
 style="color: rgb(0, 0, 0); margin-top: 15px; font-family: Eurostile,Arial,Helvetica,sans-serif; font-style: normal; font-variant: normal; font-weight: bold; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<h1 style="margin: 5px 0pt 0pt; font-size: 14px;">Fermin Manzanedo</h1>
<h2
 style="margin: 2px 0pt 10px; font-size: 14px; color: rgb(102, 102, 102);">Administrador
de Sistemas Senior</h2>
<a href="http://www.jetmultimedia.es/"><img
 src="cid:part1.03070402.08040505@jetmultimedia.es"
 style="border: 0pt none ;" alt="Jet Multimedia"></a>
<table celpadding="0"
 style="height: 60px; font-family: Eurostile,Arial,Helvetica,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 14px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(102, 102, 102); margin-top: 15px;"
 cellspacing="0">
  <tbody>
    <tr>
      <td><img src="cid:part2.00030503.00020006@jetmultimedia.es"
 alt="-"></td>
      <td>
      <ul
 style="margin: 3px 0pt 0pt; padding: 0pt 8px; float: left; list-style-type: none; list-style-image: none; list-style-position: outside;">
        <li style="color: rgb(240, 3, 127);">Madrid</li>
        <li>Parque Empresarial Cristalia,</li>
        <li>Vía de los Poblados nº3 Edificio 5, Planta 4ª</li>
        <li>28033 Madrid</li>
      </ul>
      </td>
      <td align="right">
      <ul
 style="margin: 3px 0pt 0pt; padding: 0pt 8px; float: left; list-style-type: none; list-style-image: none; list-style-position: outside;">
        <li><a href="mailto:fmanzanedo@jetmultimedia.es"
 style="color: rgb(240, 3, 127);">fmanzanedo@jetmultimedia.es</a></li>
        <li><span style="color: rgb(240, 3, 127);">Tel:</span> 902 01
02 01 </li>
        <li><span style="color: rgb(240, 3, 127);">Fax:</span> 902 01
00 00</li>
      </ul>
      </td>
      <td><img src="cid:part3.00020906.08030507@jetmultimedia.es"
 alt="-"></td>
    </tr>
  </tbody>
</table>
<div
 style="margin: 10px 0pt 0pt 5px; font-family: Eurostile,Arial,Helvetica,sans-serif; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(102, 102, 102); width: 90%; text-align: justify;">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</div>
</div>
</div>
</body>
</html>