Hi Kashif,<div><br></div><div>Check your cloud-init settings and ensure that the user that you want to set the keypair for is configured correctly.  It may be injecting the keypair for a different user than you expect.</div>
<div><br></div><div>Darren</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 22 October 2012 17:03, Kashif Mohammad <span dir="ltr"><<a href="mailto:k.mohammad1@physics.ox.ac.uk" target="_blank">k.mohammad1@physics.ox.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi<br>
I have prepared a fedora 16 image and installed cloud-init in it. After adding to glance, I can instantiate a instance from that image, assign a public ip to it and can log in into the image through ssh with password. But somehow keypair is not inserted into the image so I can not log in to the instance using ssh keys.<br>

.ssh/authorized_key file is blank. I also want to understand that how this works i.e how a instance fetch a user key pair from server.<br>
<br>
It is working for standard ubuntu images for OpenStack.<br>
<br>
Thanks<br>
Kashif<br>
<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</blockquote></div><br></div>