Hello Carlos,

Here it is:

<VM>
    <ID>1772</ID>
    <UID>2</UID>
    <GID>1</GID>
    <UNAME>pmes</UNAME>
    <GNAME>users</GNAME>
    <NAME>one-1772</NAME>
    <PERMISSIONS>
      <OWNER_U>1</OWNER_U>
      <OWNER_M>1</OWNER_M>
      <OWNER_A>0</OWNER_A>
      <GROUP_U>0</GROUP_U>
      <GROUP_M>0</GROUP_M>
      <GROUP_A>0</GROUP_A>
      <OTHER_U>0</OTHER_U>
      <OTHER_M>0</OTHER_M>
      <OTHER_A>0</OTHER_A>
    </PERMISSIONS>
    <LAST_POLL>0</LAST_POLL>
    <STATE>1</STATE>
    <LCM_STATE>0</LCM_STATE>
    <RESCHED>0</RESCHED>
    <STIME>1359470286</STIME>
    <ETIME>0</ETIME>
    <DEPLOY_ID/>
    <MEMORY>0</MEMORY>
    <CPU>0</CPU>
    <NET_TX>0</NET_TX>
    <NET_RX>0</NET_RX>
    <TEMPLATE>
      <CONTEXT>
        <DISK_ID><![CDATA[3]]></DISK_ID>
<FILES><![CDATA[/data2/OpenNebula/context/init.sh /data2/OpenNebula/context/.bashrc]]></FILES>
        <HOME><![CDATA[sdb]]></HOME>
<PUBLICKEY><![CDATA[ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCwJ9tdVzK/ZDFXXFRYr0Pr2L69iCwsDc9e4DrmkTKfG+KzRtv7phF5K/6SHgvUzjzjBfpk2gF61tUVFvU9wkGfj+Nyx/wdKiWkTxq/mYwx9gOkVFv/SBGMe48TRySuDuRCigkgalWKeAX37s8Fl0lu1SZTeu+elX2iqPnXsCBpofa+M8P+6O4lo2kalveuWPfrrpN/wlhCuVUWA9t+DVd0Eq/Ki7S92YIm5D529TnX2VZKSTVZckf5aRUuLtQlIaiIUGNU5/SRoVQkj4kdT0b4wmEcItseVpCDyhAqtdpKb root@debian-27981
]]></PUBLICKEY>
        <TARGET><![CDATA[hdb]]></TARGET>
        <USER><![CDATA[user]]></USER>
        <WDIR><![CDATA[/home/user/IT/]]></WDIR>
      </CONTEXT>
      <CPU><![CDATA[1]]></CPU>
      <DISK>
        <CLONE><![CDATA[YES]]></CLONE>
<DATASTORE><![CDATA[default]]></DATASTORE>
<DATASTORE_ID><![CDATA[1]]></DATASTORE_ID>
        <DEV_PREFIX><![CDATA[hd]]></DEV_PREFIX>
        <DISK_ID><![CDATA[0]]></DISK_ID>
        <DRIVER><![CDATA[qcow2]]></DRIVER>
<IMAGE><![CDATA[gene-detection]]></IMAGE>
        <IMAGE_ID><![CDATA[54]]></IMAGE_ID>
        <READONLY><![CDATA[NO]]></READONLY>
        <SAVE><![CDATA[NO]]></SAVE>
<SOURCE><![CDATA[/home/Computational/jalvarez/one/var/datastores/1/c51ea7f0ce71274c15868eb569b893f1]]></SOURCE>
        <TARGET><![CDATA[hda]]></TARGET>
        <TM_MAD><![CDATA[shared]]></TM_MAD>
        <TYPE><![CDATA[FILE]]></TYPE>
      </DISK>
      <DISK>
        <DEV_PREFIX><![CDATA[hd]]></DEV_PREFIX>
        <DISK_ID><![CDATA[1]]></DISK_ID>
        <FORMAT><![CDATA[ext3]]></FORMAT>
        <SIZE><![CDATA[1024]]></SIZE>
        <TARGET><![CDATA[sdb]]></TARGET>
        <TYPE><![CDATA[fs]]></TYPE>
      </DISK>
      <DISK>
        <DEV_PREFIX><![CDATA[hd]]></DEV_PREFIX>
        <DISK_ID><![CDATA[2]]></DISK_ID>
        <SIZE><![CDATA[1024]]></SIZE>
        <TARGET><![CDATA[sdc]]></TARGET>
        <TYPE><![CDATA[swap]]></TYPE>
      </DISK>
      <MEMORY><![CDATA[2048]]></MEMORY>
      <NAME><![CDATA[one-1772]]></NAME>
      <NIC/>
      <OS>
        <ARCH><![CDATA[x86_64]]></ARCH>
        <BOOT><![CDATA[hd]]></BOOT>
      </OS>
      <VCPU><![CDATA[1]]></VCPU>
      <VMID><![CDATA[1772]]></VMID>
    </TEMPLATE>
    <HISTORY_RECORDS/>
  </VM>

Best,

Javi

On 31/01/13 17:35, Carlos Martín Sánchez wrote:
Hi,

Could you paste the opennebula version, and the VM xml? To do so, start the opennebula core only, and get the vm pool xml:

$ oned
$ onevm list -x
$ pkill oned

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org <http://www.OpenNebula.org> | [email protected] <mailto:[email protected]> | @OpenNebula <http://twitter.com/opennebula>


On Thu, Jan 31, 2013 at 4:30 PM, Javier Alvarez <[email protected] <mailto:[email protected]>> wrote:

    Hello,

    OpenNebula is crashing right after starting it and I cannot
    identify the reason, but it looks like it is related with a VM in
    PENDING state that it cannot be booted nor removed. All
    OpenNebula's processes suddenly die when the scheduler tries to
    dispatch that VM or if I try to delete it.

    oned.log shows the following output:

    Thu Jan 31 16:12:47 2013 [InM][D]: Host 0 successfully monitored.
    Thu Jan 31 16:12:59 2013 [ReM][D]: Req:3440 UID:0 HostPoolInfo invoked
    Thu Jan 31 16:12:59 2013 [ReM][D]: Req:3440 UID:0 HostPoolInfo
    result SUCCESS, "<HOST_POOL><HOST><ID..."
    Thu Jan 31 16:12:59 2013 [ReM][D]: Req:6624 UID:0
    VirtualMachinePoolInfo invoked, -2, -1, -1, -1
    Thu Jan 31 16:12:59 2013 [ReM][D]: Req:6624 UID:0
    VirtualMachinePoolInfo result SUCCESS, "<VM_POOL><VM><ID>164..."
    Thu Jan 31 16:12:59 2013 [ReM][D]: Req:4784 UID:0 AclInfo invoked
    Thu Jan 31 16:12:59 2013 [ReM][D]: Req:4784 UID:0 AclInfo result
    SUCCESS, "<ACL_POOL><ACL><ID>0..."
    Thu Jan 31 16:12:59 2013 [ReM][D]: Req:7920 UID:0
    VirtualMachineDeploy invoked, 1772, 0

    and sched.log the following:

    Thu Jan 31 16:12:29 2013 [SCHED][I]: Starting scheduler loop...
    Thu Jan 31 16:12:29 2013 [SCHED][I]: Scheduler loop started.
    Thu Jan 31 16:12:59 2013 [HOST][D]: Discovered Hosts (enabled):
     0
    Thu Jan 31 16:12:59 2013 [VM][D]: Pending and rescheduling VMs:
     1772
    Thu Jan 31 16:12:59 2013 [SCHED][I]: Selected hosts:
             PRI    HID  VM: 1772
            -----------------------
            -1      0

    Thu Jan 31 16:12:59 2013 [VM][I]: Dispatching virtual machine 1772
    to host 0
    Thu Jan 31 16:12:59 2013 [VM][E]: Exception raised: Unable to
    transport XML to server and get XML response back.  libcurl failed
    to execute the HTTP POST transaction, explaining:  couldn't
    connect to host

    Thu Jan 31 16:13:29 2013 [HOST][E]: Exception raised: Unable to
    transport XML to server and get XML response back.  libcurl failed
    to execute the HTTP POST transaction, explaining:  couldn't
    connect to host
    Thu Jan 31 16:13:29 2013 [POOL][E]: Could not retrieve pool info
    from ONE

    How can I make OpenNebula to print more information about the error?

    Thanks,

    Javi

-- Javier Álvarez Cid-Fuentes
    Grid Computing and Clusters Group
    Barcelona Supercomputing Center (BSC-CNS)
    Tel. (+34) 93 413 72 46 <tel:%28%2B34%29%2093%20413%2072%2046>


    WARNING / LEGAL TEXT: This message is intended only for the use of the
    individual or entity to which it is addressed and may contain
    information which is privileged, confidential, proprietary, or exempt
    from disclosure under applicable law. If you are not the intended
    recipient or the person responsible for delivering the message to the
    intended recipient, you are strictly prohibited from disclosing,
    distributing, copying, or in any way using this message. If you have
    received this communication in error, please notify the sender and
    destroy and delete any copies you may have received.

    http://www.bsc.es/disclaimer
    _______________________________________________
    Users mailing list
    [email protected] <mailto:[email protected]>
    http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




--
Javier Álvarez Cid-Fuentes
Grid Computing and Clusters Group
Barcelona Supercomputing Center (BSC-CNS)
Tel. (+34) 93 413 72 46



WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to