i see that i can in fact run cloud commands as ./bin/<command>, when
i'm inside the poolparty dir. however, the same errors result.
emil
Thanks for updating the wiki. I gave it another try. Here's what
happened.
I created the ec2 keypair manually using the ec2-add-keypair, and
updated clouds.rb to point to the new keypair file.
When starting the cloud I now got a bit further, but got this error:
~/poolparty$ ./bin/cloud-start -s clouds.rb
*** Starting cloud hello_world
0 running instances (1 - 1)
./bin/../lib/../vendor/gems/suitcase/lib/suitcase/zipper.rb:41:in
`add': undefined method `each' for #<PoolParty::Key:0x1a2a480>
(NoMethodError)
from ./bin/../lib/poolparty/poolparty/../provision/boot_strapper.rb:
68:in `pack_the_dependencies'
from ./bin/../lib/poolparty/poolparty/../provision/boot_strapper.rb:
97:in `default_commands'
from ./bin/../lib/poolparty/poolparty/../provision/boot_strapper.rb:
55:in `initialize'
from ./bin/cloud-start:15:in `new'
from ./bin/cloud-start:15
from ./bin/../lib/poolparty/net/remoter/cloud_control.rb:18:in `call'
from ./bin/../lib/poolparty/net/remoter/cloud_control.rb:18:in
`launch_instance!'
from ./bin/../lib/poolparty/net/remoter/cloud_control.rb:30:in `call'
from ./bin/../lib/poolparty/net/remoter/cloud_control.rb:30:in
`when_instance_is_responding'
from ./bin/../lib/poolparty/net/remoter/cloud_control.rb:17:in
`launch_instance!'
from ./bin/cloud-start:14
from ./bin/cloud-start:9:in `each'
from ./bin/cloud-start:9
Mike I think you mentioned something abouth this in an earlier mail?
I'm running from a simple 'git clone' of the master.
In any case, it seems that the cloud was in fact started, because I
can now do:
./bin/cloud-list
*** Listing cloud hello_world
****** Active instances
master 174.129.183.90 i-70187719
Trying to ssh to the instance first revealed a problem with the
permissions of the keypair file:
~/poolparty$ ./bin/cloud-ssh
master 174.129.183.90 i-70187719
Warning: Permanently added '174.129.183.90' (RSA) to the list of known
hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for '/Users/emiltin/poolparty/keypair' are too open.
It is recommended that your private key files are NOT accessible by
others.
This private key will be ignored.
bad permissions: ignore key: /Users/emiltin/poolparty/keypair
ro...@174.129.183.90's password:
I changed the perm to 600 on the keyfile using 'chmod 600 keypair',
and tried again:
~/poolparty$ ./bin/cloud-ssh
master 174.129.183.90 i-70187719
At this point, os x pops up a dialog and ask me for the password for
the keyfile. I didn't set any, so here things go wrong, and I'm once
again asked for a password on the remove server:
ro...@174.129.183.90's password:
This is problably just a problem with the way I created the keyfile.
Shutting down - no problem:
~/poolparty$ ./bin/cloud-terminate
Shutting down i-70187719
~/poolparty$ ./bin/cloud-list
*** Listing cloud hello_world
****** Active instances
~/poolparty$
What's the best way to stay updated with poolparty - pulling from the
master?
Thanks!
Emil Tin