Issue #8154 has been updated by Jeff McCune. File Screen_shot_2011-06-29_at_10.16.04_PM.png added
# Work Around # The keypair option with the `puppet node create --keypair` is expected to be a name listed in the "Key Pairs" page of the EC2 web console. It seems that cloud pack should be able to interrogate the EC2 API and determine if there is only one key pair listed on this page and use that by default rather than make this option mandatory. Here is a screenshot of what this mandatory option is referring to: ---------------------------------------- Bug #8154: Shave this yak: --keypair is undocumented, required, and unintuitive https://projects.puppetlabs.com/issues/8154 Author: Jeff McCune Status: Needs More Information Priority: Normal Assignee: Jeff McCune Category: Target version: Keywords: cloudpack Branch: # Overview # I'm having a heck of a time sorting out what string I need to give the --keypair option to satisfy it. Here are the things I'm trying as a brand new user to Cloud Pack: <pre> 10141 puppet node create --image ami-90f607f9 10142 puppet node create --image ami-90f607f9 --keypair ~/.ssh/ec2_jeff_initial.pem 10143 puppet node create --image ami-90f607f9 --keypair ~/.ssh/ec2_jeff_initial.pem --type 10144 puppet node create --image ami-90f607f9 --keypair ~/.ssh/ec2_jeff_initial.pem --type m1.small 10145 puppet node create --image ami-90f607f9 --keypair ~/.ssh/ec2_jeff_initial.pem --type m1.small --platform AWS 10146 ssh-add -l 10147 puppet node create --image ami-90f607f9 --keypair ec2_jeff_initial.pem --type m1.small --platform AWS 10148 puppet node create --image ami-90f607f9 --keypair ec2_jeff_initial --type m1.small --platform AWS 10149 puppet help node create </pre> I keep getting back: <pre> err: Unrecognized keypair name: ec2_jeff_initial err: Try 'puppet help node create' for usage </pre> I honestly don't even understand why I need to give this option. As a new user, I've added the SSH key to my Keychain and it's loaded in my SSH agent. My expectation is that this will "just work" once the SSH key is loaded into my agent. <pre> $ ssh-add -l 2048 07:9e:3b:bd:ea:53:11:97:72:96:47:05:e6:bd:b8:ca /Users/jeff/.ssh/id_dsa (DSA) 2048 b9:ed:d8:2b:00:6e:db:f3:2c:eb:b8:e6:af:49:06:1d /Users/jeff/.ssh/jeff_puppetlabs.key (RSA) 2048 51:f0:ff:8e:4c:7f:de:ae:6d:28:4f:78:c9:34:d0:20 ec2_jeff_initial.pem (RSA) </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
