Problems with Poolparty example

2 views
Skip to first unread message

arfon

unread,
May 9, 2009, 3:00:26 AM5/9/09
to Poolpartyrb
I've been trying to get up and running with this (http://github.com/
emiltin/poolparty_example/tree/master) example application but I keep
getting the following error when I issue the command 'cloud-start':

/Library/Ruby/Gems/1.8/gems/auser-poolparty-1.2.2/bin/../lib/poolparty/
net/remoter_base.rb:99:in `launch_instance!': undefined method `[]'
for nil:NilClass (NoMethodError)

Could anyone suggest what I might be doing wrong?

Many thanks

Arfon

Venkata Pingali

unread,
May 10, 2009, 11:26:47 AM5/10/09
to Poolpartyrb

This is likely a problem with setup for running ec2 commands.

Is ec2-describe-instances working for you?

These are instructions for setting up ec2 environment.
http://wiki.github.com/auser/poolparty/setting-up-ec2

HTH

Venkata Pingali

unread,
May 10, 2009, 2:03:22 PM5/10/09
to Poolpartyrb

Thanks to nzadrozny. #poolpartyrb at irc.freenode.net

(07:17:32 PM) nzadrozny: so, regarding arfon's earlier question…
(07:17:33 PM) nzadrozny: http://irclogger.com/poolpartyrb/2009-05-09#1241852949
(07:17:48 PM) nzadrozny: it's the name of his keypair
(07:18:01 PM) nzadrozny: I wrestled with that a bit this afternoon
(07:18:41 PM) nzadrozny: when PP updates the description of an
instance while waiting for it to get an IP
(07:19:14 PM) nzadrozny: the describe_instance method will sometimes
return nil
(07:19:29 PM) nzadrozny: because it selects instances based on a
matching name for the keypair


On May 10, 8:26 am, Venkata Pingali <venkata.ping...@gmail.com> wrote:
> This is likely a problem with setup for running ec2 commands.
>
> Is ec2-describe-instances working for you?
>
> These are instructions for setting up ec2 environment.http://wiki.github.com/auser/poolparty/setting-up-ec2

Arfon Smith

unread,
May 10, 2009, 2:08:05 PM5/10/09
to poolp...@googlegroups.com
Yeah, this fits. I later figure out that the EC2 instances were
spinning up but the describe_instance method was returning nil.
Reply all
Reply to author
Forward
0 new messages