[one-users] Problem submitting virtual machines: pend status

Alvaro Canales accleo at gmail.com
Mon Jun 30 08:54:55 PDT 2008


Hello Javier,

Attached you will find my log files. This is what I did:

> [oneadmin at iwrcgblade30 opennebula]$ one stop
>
oned and scheduler stopped
> [oneadmin at iwrcgblade30 opennebula]$ one start
>
oned and scheduler started
> [oneadmin at iwrcgblade30 opennebula]$ onehost list
>  HID NAME                      RVM   TCPU   FCPU   ACPU    TMEM    FMEM
> STAT
>    0 localhost                   0    400    365    400 1677619 9242624
> on
>    1 iwrcgblade30                4    400    389    160 1677619 9242624
> on
> [oneadmin at iwrcgblade30 opennebula]$ onevm submit
> images/ttylinux-xen.template
> ID: 10
> [oneadmin at iwrcgblade30 opennebula]$ onevm list
>   ID     NAME STAT CPU     MEM        HOSTNAME        TIME
>    6    one-6 boot   0       0    iwrcgblade30 00 02:17:17
>    7    one-7 boot   0       0    iwrcgblade30 00 01:34:37
>    8    one-8 boot   0       0    iwrcgblade30 00 00:22:33
>    9    one-9 boot   0       0    iwrcgblade30 00 00:16:28
>   10   one-10 pend   0       0                 00 00:00:06
> [oneadmin at iwrcgblade30 opennebula]$ onevm list
>   ID     NAME STAT CPU     MEM        HOSTNAME        TIME
>    6    one-6 boot   0       0    iwrcgblade30 00 02:17:33
>    7    one-7 boot   0       0    iwrcgblade30 00 01:34:53
>    8    one-8 boot   0       0    iwrcgblade30 00 00:22:49
>    9    one-9 boot   0       0    iwrcgblade30 00 00:16:44
>   10   one-10 boot   0       0    iwrcgblade30 00 00:00:22
> [oneadmin at iwrcgblade30 opennebula]$ onevm show 10
> VID            : 10
> AID            : -1
> TID            : -1
> UID            : 0
> STATE          : ACTIVE
> LCM STATE      : BOOT
> DEPLOY ID      :
> MEMORY         : 0
> CPU            : 0
> PRIORITY       : -2147483648
> RESCHEDULE     : 0
> LAST RESCHEDULE: 0
> LAST POLL      : 0
> START TIME     : 06/30 17:45:40
> STOP TIME      : 01/01 01:00:00
> NET TX         : 0
> NET RX         : 0
>
> ....: Template :....
>     CPU             : 0.6
>     DISK            : DEV
>     KERNEL          : /boot/vmlinuz-2.6.18-8.1.15.0.16.el5xen
>     MEMORY          : 64
>     NAME            : one-10
> [oneadmin at iwrcgblade30 opennebula]$

[oneadmin at iwrcgblade30 opennebula]$ cp var/*.log log/
> [oneadmin at iwrcgblade30 opennebula]$ cp var/10/* log/
> [oneadmin at iwrcgblade30 opennebula]$ tar cvzf logfiles.tar.gz log/
> log/
> log/oned.log
> log/one_im_ssh.log
> log/one_vmm_xen.log
> log/one_xmlrpc.log
> log/sched.log
> log/deployment.0
> log/vm.log
>

 As you can see, my machines keep on the "boot" state... grrr! Good news are
that they now automatically get deployed and go from "pend" state to "boot"
state automagically. Better! ;)

Best regards




On Mon, Jun 30, 2008 at 4:49 PM, Javier Fontan <jfontan at fdi.ucm.es> wrote:

>
> Hello Alvaro,
>
> Scheduler seems to be working or the VM will be kept in pend state.
>
> Can you please edit $ONE_LOCATION/etc/mad/im_sshrc and
> $ONE_LOCATION/etc/mad/vmm_xenrc to add this line:
>
> --8<------
> ONE_MAD_DEBUG=yes
> ------>8--
>
> and restart one. Then do the test again. After this please send me .log
> files from one var directory and the log file from the VM
> ($ONE_LOCATION/var/<vm_id>/vm.log)
>
> Bye
>
>
>
> On Jun 27, 2008, at 6:29 PM, Alvaro Canales wrote:
>
>  Hello!
>>
>> I have problems after submitting images: they do not get to the "runn"
>> status but to "pend". I have tried too to manually deploy an image by doing
>> "onevm deploy ....", but they change their status from "pend" to "boot".
>> What can I check?
>> Information about my environtment:
>>
>> onevm show 5
>> VID            : 5
>> AID            : -1
>> TID            : -1
>> UID            : 0
>> STATE          : ACTIVE
>> LCM STATE      : BOOT
>> DEPLOY ID      :
>> MEMORY         : 0
>> CPU            : 0
>> PRIORITY       : -2147483648
>> RESCHEDULE     : 0
>> LAST RESCHEDULE: 0
>> LAST POLL      : 0
>> START TIME     : 06/27 18:02:48
>> STOP TIME      : 01/01 01:00:00
>> NET TX         : 0
>> NET RX         : 0
>>
>> ....: Template :....
>>    CPU             : 0.6
>>    DISK            : DEV
>>    KERNEL          : /boot/vmlinuz-2.6.18-8.1.15.0.16.el5xen
>>    MEMORY          : 64
>>    NAME            : one-5
>>    RAMDISK         : /boot/initrd-2.6.18-8.1.15.0.16.el5xen.img
>>
>> oned.log only says:
>> Fri Jun 27 18:24:58 2008 [ReM][D]: VirtualMachineInfo method invoked
>> Fri Jun 27 18:25:10 2008 [InM][I]: Monitoring host localhost (0)
>> Fri Jun 27 18:25:10 2008 [InM][I]: Monitoring host iwrcgblade30 (1)
>> Fri Jun 27 18:25:12 2008 [InM][D]: Host 0 successfully monitored.
>> Fri Jun 27 18:25:12 2008 [InM][D]: Host 1 successfully monitored.
>>
>> oned.conf:
>>
>> IM_MAD=[name="one_im",executable="bin/one_im_ssh",arguments="etc/one_im_ssh.conf",owner="oneadmin"]
>> VM_POLLING_INTERVAL=10
>>
>> VM_MAD=[name="one_vmm",executable="bin/one_vmm_xen",owner="oneadmin",default="etc/default/vmm_xen.conf"]
>> PORT=2633
>>
>> default/vmm_xen.conf
>> MEMORY  =  128
>> KERNEL  = /boot/vmlinuz-2.6.18-8.1.15.0.16.el5xen
>> RAMDISK = /boot/initrd-2.6.18-8.1.15.0.16.el5xen.img
>> CREDIT  = 256
>>
>> One thing I've noticed, is that sched.log always is empty. May I have a
>> problem with mm_sched?
>> If I do a ps -ef | grep one, I see a process like this:
>> oneadmin 23860     1  0 18:07 pts/0    00:00:00
>> /OVS/opennebula/bin/mm_sched -p 2633
>>
>> Thank you very much for your time and attention!
>>
>> --
>> Álvaro _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>


-- 
Álvaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20080630/5b94e028/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logfiles.tar.gz
Type: application/x-gzip
Size: 1994 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20080630/5b94e028/attachment-0003.bin>


More information about the Users mailing list