Re: [Openstack] Key injection failure on boot

2013-01-13 Thread Scott Moser
On Fri, 11 Jan 2013, David Kranz wrote: > Thanks Vish, but I am still a little confused. I am using an ubuntu precise > cloudimg and normally when I pass a keyname to "boot", the public key shows up > in ~ubuntu/.ssh/authorized_keys. If you've installed a newer version of python-boto into the ima

Re: [Openstack] Key injection failure on boot

2013-01-11 Thread Vishvananda Ishaya
If it isn't showing up sometimes, there should be some data in the guest console log from cloud-init about failing to download the key or failing to get metadata or something. If you could track down what is going on there it would be very helpful. If you have some other means to login to the in

Re: [Openstack] Key injection failure on boot

2013-01-11 Thread David Kranz
Thanks Vish, but I am still a little confused. I am using an ubuntu precise cloudimg and normally when I pass a keyname to "boot", the public key shows up in ~ubuntu/.ssh/authorized_keys. Looking at the console log, I presume it is the guest cloud-init that is doing that. But sometimes not. This

Re: [Openstack] Key injection failure on boot

2013-01-11 Thread Vishvananda Ishaya
Key name is the recommended method, but injecting it into the guest is not. The key should be downloaded from the metadata server using a guest process like cloud-init. Vish On Jan 11, 2013, at 10:20 AM, David Kranz wrote: > Sometimes when I boot a bunch of vms seconds apart, using the key_na