[one-users] VM creation to EC2 stuck in "pending"

Sufiah Marcellina (Excell Data Corporation) a-sumarc at microsoft.com
Thu May 27 10:01:21 PDT 2010


Thank you Tino for your reply.

I am unable to run the ec2 commands, it says:
oneadmin at OpenNebula:~/images$ ec2-run-instances ami-55739e3c
Unknown host: 'https://ec2.amazonaws.com'

Like I mentioned before, I am behind a proxy and I do have my https_proxy setup:
oneadmin at OpenNebula:~/images$ env | grep http
http_proxy=http://my.proxy.com:80
https_proxy=http://my.proxy.com:80

One.log:
Thu May 27 06:58:45 2010 [VMM][I]: Monitoring VM 22.
Thu May 27 06:58:45 2010 [InM][I]: Monitoring host ec2 (5)
Thu May 27 06:58:45 2010 [VMM][I]: Monitoring VM 23.
Thu May 27 06:58:45 2010 [VMM][I]: Monitoring VM 24.
Thu May 27 06:58:45 2010 [VMM][I]: Monitoring VM 25.
Thu May 27 06:58:45 2010 [InM][D]: Host 5 successfully monitored.
Thu May 27 06:58:48 2010 [VMM][D]: Message received: LOG - 22 ssh: connect to host 10.200.41.208 port 22: No route to host

Thu May 27 06:58:48 2010 [VMM][D]: Message received: LOG - 22 ExitCode: 255

Thu May 27 06:58:48 2010 [VMM][D]: Message received: POLL FAILURE 22 -

Thu May 27 06:58:51 2010 [VMM][D]: Message received: LOG - 23 ssh: connect to host 10.200.41.208 port 22: No route to host

Thu May 27 06:58:51 2010 [VMM][D]: Message received: LOG - 23 ExitCode: 255

Thu May 27 06:58:51 2010 [VMM][D]: Message received: POLL FAILURE 23 -

Thu May 27 06:58:51 2010 [VMM][D]: Message received: LOG - 24 ExitCode: 0

Thu May 27 06:58:51 2010 [VMM][D]: Message received: POLL SUCCESS 24 USEDMEMORY=524288 STATE=a

Thu May 27 06:58:51 2010 [VMM][D]: Message received: LOG - 25 ExitCode: 0

Thu May 27 06:58:51 2010 [VMM][D]: Message received: POLL SUCCESS 25 USEDMEMORY=524288 STATE=a

Thu May 27 06:59:15 2010 [VMM][I]: Monitoring VM 22.
Thu May 27 06:59:15 2010 [InM][I]: Monitoring host ec2 (5)
Thu May 27 06:59:15 2010 [VMM][I]: Monitoring VM 23.
Thu May 27 06:59:15 2010 [VMM][I]: Monitoring VM 24.
Thu May 27 06:59:15 2010 [VMM][I]: Monitoring VM 25.
Thu May 27 06:59:15 2010 [InM][D]: Host 5 successfully monitored.


Regards,
Sufiah 


-----Original Message-----
From: tinova79 at gmail.com [mailto:tinova79 at gmail.com] On Behalf Of Tino Vazquez
Sent: Thursday, May 27, 2010 8:36 AM
To: Sufiah Marcellina (Excell Data Corporation)
Cc: Users at lists.opennebula.org
Subject: Re: [one-users] VM creation to EC2 stuck in "pending"

Hi Sufiah,

1) can you use the ec2 commands (eg "ec2-run-instances") correctly?

2) can you send all or the relevent parts of oned.log?

Regards,

-Tino

--
Constantino Vázquez, Grid & Virtualization Technology
Engineer/Researcher: http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org Globus GridWay Metascheduler: http://www.GridWay.org OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



On Thu, May 27, 2010 at 3:56 AM, Sufiah Marcellina (Excell Data
Corporation) <a-sumarc at microsoft.com> wrote:
> Hi,
>
>
>
> I added EC2 as one of the hosts successfully, however when I try to 
> spin up a VM it get stuck on pending state and there is nothing in the 
> log file
>
> I've setup ec2 driver in oned.conf and ec2 certificate in vmm_ec2rc.
>
>
>
> oneadmin at OpenNebula:~/images$ onehost list
>
> HID NAME                      RVM   TCPU   FCPU   ACPU    TMEM    FMEM 
> STAT
>
>    3 a.b.c.d                            5    800    697    300 8192660
> 7402532  off
>
>    4 e.f.g.h                           4    800    776    400 8192660
> 7385400  off
>
>    5 ec2                                   0    500    500    500 
> 8912896
> 8912896   on
>
>
>
> oneadmin at OpenNebula:~/images$ cat ec2vm.template
>
> EC2 = [
>
>         AMI="ami-55739e3c",
>
>         AUTHORIZED_PORTS="22",
>
>         KEYPAIR="xxxxxxxxxxx",
>
>         INSTANCETYPE=m1.small]
>
>
>
> I am behind a proxy, would this cause the problem?
>
> I do have http_proxy and https_proxy setup on my ENV
>
>
>
> Please help thank you.
>
>
>
> Regards,
>
> Sufiah
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>




More information about the Users mailing list