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

Alvaro Canales accleo at gmail.com
Mon Jun 30 02:25:58 PDT 2008


Hello,

I keep on trying, and discovered a few things:
I get this from the one_im_ssh.log file, after submitting an image file:

> Could not execute remote script in localhost:
> /tmp/ne_im_scripts/ne_im-edc4cd6c5b8e0c6ceacc7da2cd0228ea


The thing is that if I execute it locally, then I can make it work! (and
oned.log says that the host is succesfully monitored...):

> /tmp/ne_im_scripts/ne_im-edc4cd6c5b8e0c6ceacc7da2cd0228ea
> TOTALCPU=400
> CPUSPEED=2333
> TOTALMEMORY=16776192
> FREEMEMORY=9308160
> USEDMEMORY=7468032
> USEDCPU=4
> FREECPU=396
> NETTX=21406
> NETRX=17047241
>

My local permissions are:

> ls -l /tmp/ne_im_scripts/ne_im-edc4cd6c5b8e0c6ceacc7da2cd0228ea
> -rwxr-xr-- 1 oneadmin xen 1629 Jun 30 11:18
> /tmp/ne_im_scripts/ne_im-edc4cd6c5b8e0c6ceacc7da2cd0228ea


If I try to execute bin/one_im_ssh alone, I get this:

>  bin/one_im_ssh /tmp/ne_im_scripts/ne_im-edc4cd6c5b8e0c6ceacc7da2cd0228ea
> /OVS/opennebula/libexec/madcommon.sh: line 52: /tmp/one_fifo.27687.err: No
> such file or directory


And get a new line in the one_im_ssh.log file (even if I create the fifo
manually...):

> Malformed line in configuration file: require "pp"


I guess this could be expected, as I execute one_im_ssh (and maybe I
shouldn't), but maybe it is illustrative...

I still don't know why when I submit my images, I get them in "pend" state.
If I execute "sudo /usr/sbin/xm create
/OVS/opennebula/var/VM_ID/deployment.0 -c", it works and I can log in to my
machine (do no net or DHCP).

I'm very lost, as I don't know what else I can do...
Any help would be very much appreciated, thank you very much!! :)

PS: Campeooones!!! Vivo en Alemania y... jejeje ;p





On Fri, Jun 27, 2008 at 6:29 PM, Alvaro Canales <accleo at gmail.com> 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




-- 
Álvaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20080630/5e0260f0/attachment-0003.htm>


More information about the Users mailing list