[one-users] VMs stuck in PEND state

opennebula at nerling.ch opennebula at nerling.ch
Wed Nov 10 05:22:03 PST 2010


Hallo Fernando.
try to log in the host and look if there is a folder names /tmp/one.
If not it could be related to the bug: http://dev.opennebula.org/issues/385

please post the output from:
#onehost show 1
#onehost show -x 1

I thought before your host has an id of 0.

Marlon Nerling

Quoting Fernando Morgenstern <fernando at consultorpc.com>:

> Hello,
>
> Thanks for the answer.
>
> You are right, the host is showing an error state and i didn't  
> verified it. How can i know what is causing the error in host?
>
> $ onehost list
>   ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT
>    1 node01            default    0      0      0    100      0K      0K  err
>
> $ onevm show 0
> VIRTUAL MACHINE 0 INFORMATION
> ID             : 0
> NAME           : ttylinux
> STATE          : DONE
> LCM_STATE      : LCM_INIT
> START TIME     : 11/09 19:06:37
> END TIME       : 11/09 19:11:09
> DEPLOY ID:     : -
>
> VIRTUAL MACHINE MONITORING
> NET_RX         : 0
> USED MEMORY    : 0
> USED CPU       : 0
> NET_TX         : 0
>
> VIRTUAL MACHINE TEMPLATE
> CPU=0.1
> DISK=[
>   DISK_ID=0,
>   READONLY=no,
>   SOURCE=/home/oneadmin/ttylinux.img,
>   TARGET=hda ]
> FEATURES=[
>   ACPI=no ]
> MEMORY=64
> NAME=ttylinux
> NIC=[
>   BRIDGE=br0,
>   IP=*****,
>   MAC=02:00:5d:9f:d0:68,
>   NETWORK=Small network,
>   NETWORK_ID=0 ]
> VMID=0
>
> $ onehost show 0
> Error: [HostInfo] Error getting HOST [0].
>
> Thanks!
>
> Em 10/11/2010, às 06:45, opennebula at nerling.ch escreveu:
>
>> Hallo Fernando.
>> Could you please post the output of:
>> #onehost list
>> #onevm show 0
>> #onehost show 0
>>
>> It seems that none of your Hosts are enabled!
>> Tue Nov  9 20:31:18 2010 [HOST][D]: Discovered Hosts (enabled):
>>
>> best regards
>>
>> Marlon Nerling
>>
>> Zitat von Fernando Morgenstern <fernando at consultorpc.com>:
>>
>>> Hello,
>>>
>>> This is the first time that i'm using open nebula, so i tried to  
>>> do it with express script which ran fine. I'm using CentOS 5.5  
>>> with Xen.
>>>
>>> The first thing that i'm trying to do is getting the following vm running:
>>>
>>> NAME   = ttylinux
>>> CPU    = 0.1
>>> MEMORY = 64
>>>
>>> DISK   = [
>>>  source   = "/var/lib/one/images/ttylinux.img",
>>>  target   = "hda",
>>>  readonly = "no" ]
>>>
>>> NIC    = [ NETWORK = "Small network" ]
>>>
>>> FEATURES=[ acpi="no" ]
>>>
>>>
>>> So i used:
>>>
>>> onevm create ttylinux.one
>>>
>>> The issue is that it keeps stuck in PEND state:
>>>
>>> onevm list
>>>   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
>>>    3 oneadmin ttylinux pend   0      0K                 00 00:20:03
>>>
>>>
>>> At oned log the following messages keeps repeating:
>>>
>>> Tue Nov  9 20:29:48 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
>>> Tue Nov  9 20:29:59 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
>>> Tue Nov  9 20:30:18 2010 [ReM][D]: HostPoolInfo method invoked
>>> Tue Nov  9 20:30:18 2010 [ReM][D]: VirtualMachinePoolInfo method invoked
>>>
>>> And at sched.log, i see this:
>>>
>>> Tue Nov  9 20:31:18 2010 [HOST][D]: Discovered Hosts (enabled):
>>> Tue Nov  9 20:31:18 2010 [VM][D]: Pending virtual machines : 3
>>> Tue Nov  9 20:31:18 2010 [RANK][W]: No rank defined for VM
>>> Tue Nov  9 20:31:18 2010 [SCHED][I]: Select hosts
>>> 	PRI	HID
>>> 	-------------------
>>> Virtual Machine: 3
>>>
>>>
>>> Any ideas of what might be happening?
>>>
>>> I saw other threads here at the list with similar problems, but  
>>> their solution didn't applied to my case.
>>>
>>> Best Regards,
>>>
>>> Fernando.
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>




More information about the Users mailing list