auser / poolparty

Run a self-healing, auto-scaled and monitored cloud simply, in the clouds, on nearly any hardware, such as EC2, eucalyptus and vmware
http://www.poolpartyrb.com
MIT License
371 stars 54 forks source link

install-poolparty breaking on nil keySet from ec2.describe_keypairs #17

Closed nz closed 15 years ago

nz commented 15 years ago

Hi there,

I'm trying to run install-poolparty, but after it asks X.509 certificates it is breaking on line 98:

    keypairs = ec2.describe_keypairs["keySet"]["item"]

Some puts-debugging shows the following result from describe_keypairs…

    {
      "keySet"=>nil, "requestId"=>"6dc405e1-c0e4-4a0f-827e-00d17c8639ac",
      "xmlns"=>"http://ec2.amazonaws.com/doc/2008-12-01/"
    }

The keys are definitely copied correctly, cert files freshly created and moved to ~/.ec2 as per the instructions, and I've generated a new secret access key to see if that makes a difference.

I've also swapped an older version of the amazon-ec2 gem (0.3.1) for the latest grempe-amazon-ec2 (0.3.8). Still no dice.

Anyway, just wanted to post something here before I dive more deeply into the debugging.

nz commented 15 years ago

Duh, fresh account, just needed to create a keypair. Ha. Would probably be worth a more graceful failure there – I'll patch it and send a pull request.