[Openstack] Error in Creating ssh keypair (Openstack Essex)

2012-10-22 Thread Pavan Kulkarni
Hi all, I am trying to add a ssh keypair in Openstack Essex on RHEL. I have id_rsa.pub which i use to create the keypair But when i run the command *nova keypair-add --pub_key id_rsa.pub mykey* *I get an error as follows* *ERROR: KeyPair data is invalid (HTTP 400)* * * I recreated the public

Re: [Openstack] Error in Creating ssh keypair (Openstack Essex)

2012-10-22 Thread Melanie Witt
Looking at the source for handling of the public key (https://github.com/openstack/nova/blob/stable/essex/nova/api/openstack/compute/contrib/keypairs.py#L108), it's failing at generating the fingerprint for your key. Then if you look at the code for that

Re: [Openstack] Error in Creating ssh keypair (Openstack Essex)

2012-10-22 Thread Pavan Kulkarni
Melanie, Thanks a lot for your help. I tried the command * ssh-keygen -q -l -f id_rsa.pub (id_rsa.pub was generated by ssh-keygen before)* It ran without throwing any error. The output was: *the fingerprint id_rsa.pub (RSA)* On Mon, Oct 22, 2012 at 3:40 PM, Melanie Witt melw...@yahoo-inc.com

[Openstack] Error in Creating ssh keypair (Openstack Essex)

2012-10-19 Thread Pavan Kulkarni
Hi all, I am trying to add a ssh keypair in Openstack Essex on RHEL. I have id_rsa.pub which i use to create the keypair But when i run the command *nova keypair-add --pub_key id_rsa.pub mykey* *I get an error as follows* *ERROR: KeyPair data is invalid (HTTP 400)* * * I recreated the public