[one-users] trouble starting first VM... stuck in 'pend' state

Javier Fontan jfontan at gmail.com
Mon Sep 13 05:49:37 PDT 2010


Hello,

Seems that there are problems monitoring the host as it does not show
information about CPU (all 0). Can you check
$ONE_LOCATION/var/oned.log for any monitoring errors? If you cannot
see anything there log into your "monaco-kvm1" node as oneadmin and
execute the biggest file at "/tmp/one-im". If there is an error it
should be seen there.

Bye

On Thu, Sep 9, 2010 at 4:26 PM, Ian Patton <ian.patton at gmail.com> wrote:
> I added a host, created a VM definition, and tried to deploy it. However,
> the VM just stays in the 'pend' state.
>
> oneadmin at monaco-ONEsrv:~> onehost list
>   ID NAME                      RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT
>    0 monaco-kvm1                 0      0      0    100       0 1609633   on
> oneadmin at monaco-ONEsrv:~> onehost show monaco-kvm1
> HOST 0 INFORMATION
> ID                    : 0
> NAME                  : monaco-kvm1
> STATE                 : MONITORED
> IM_MAD                : im_kvm
> VM_MAD                : vmm_kvm
> TM_MAD                : tm_nfs
>
> HOST SHARES
> MAX MEM               : 0
> USED MEM (REAL)       : 0
> USED MEM (ALLOCATED)  : 0
> MAX CPU               : 0
> USED CPU (REAL)       : 0
> USED CPU (ALLOCATED)  : 0
> RUNNING VMS           : 0
>
> MONITORING INFORMATION
> ARCH=x86_64
> CPUSPEED=
> FREECPU=0.0
> FREEMEMORY=16096336
> HOSTNAME=monaco-kvm1
> HYPERVISOR=kvm
> MODELNAME=Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz
> NETRX=0
> NETTX=0
> TOTALCPU=
> TOTALMEMORY=
> USEDCPU=0.0
> USEDMEMORY=
> oneadmin at monaco-ONEsrv:~> onevm list
>   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
>    0     root    one-0 pend   0       0                 00 00:27:30
>
>
> I do not understand why so little of the host data shows up.
>
> Here is the config file for the VM:
>
> CPU=4
> MEMORY=2048
>
> OS=[
>       initrd=/initrd.img,
>       kernel = /vmlinuz,
>       boot   = hd]
>
> DISK=[
>       bus=virtio,
>       readonly=no,
>
> source="/srv/cloud/one/share/vms/vm.images/SLES_11_SP1_VM_JeOS-0.0.8/SLES_11_SP1_VM_JeOS-0.0.8.vmdk",
>       target=/vda,
>       clone=yes
> ]
>
> NIC=[
>       model=virtio,
>       bridge=eth0]
>
> FEATURES=[
>       acpi=yes]
>
> RAW=[
>       type="kvm",
>       data="<devices><serial type='pty'><source path='/dev/pts/3'/><target
> port='0'/></serial><graphics type='vnc' listen='0.0.0.0'
> autoport='yes'/></devices>"]
>
> Thanks in advance for any guidance.
>
> Ian
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list