<div dir="ltr">Hi all,<div><br></div><div>  I am trying to add a ssh keypair in Openstack Essex on RHEL.</div><div>I have id_rsa.pub which i use to create the keypair</div><div><br></div><div>But when i run the command</div>
<div><b>nova keypair-add --pub_key id_rsa.pub mykey</b></div><div><b>I get an error as follows</b></div><div><b>"ERROR: KeyPair data is invalid (HTTP 400)"</b></div><div><b><br></b></div><div>I recreated the public key etc, but did'nt help</div>
<div>Any idea regarding this error is appreciated.Thanks<br clear="all"><div><br></div>-- <br><div dir="ltr"><div><br></div>--With Regards<br>Pavan Kulkarni</div><br>
</div></div>