<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px"><div id="yui_3_16_0_1_1452626715534_2781"><span id="yui_3_16_0_1_1452626715534_3065">Hello Sasha,</span></div><div id="yui_3_16_0_1_1452626715534_2782"><span><br></span></div><div id="yui_3_16_0_1_1452626715534_2784"><span id="yui_3_16_0_1_1452626715534_2785">I tried your command, and got the following error:</span></div><div id="yui_3_16_0_1_1452626715534_2784"><span><br></span></div><div class="" style="font-family: 'Trebuchet MS', sans-serif; font-size: 15px; background: rgb(240, 240, 240);" dir="ltr" id="yui_3_16_0_1_1452626715534_2890"><pre style="margin-top: 0px; margin-bottom: 0px; padding: 5px 0px; font-family: 'Bitstream Vera Sans Mono', monospace; font-size: 13px;" id="yui_3_16_0_1_1452626715534_2892" class="">[john@localhost ~]$ nova keypair-add cloudkey > cloudkey.priv; chmod 600 cloudkey.priv
ERROR (CommandError): You must provide a username or user id via --os-username, --os-user-id, env[OS_USERNAME] or env[OS_USER_ID]
</pre><pre style="margin-top: 0px; margin-bottom: 0px; padding: 5px 0px; font-family: 'Bitstream Vera Sans Mono', monospace; font-size: 13px;" id="yui_3_16_0_1_1452626715534_2892" class=""><br></pre></div><div id="yui_3_16_0_1_1452626715534_2716" dir="ltr"><span id="yui_3_16_0_1_1452626715534_2715"><br></span></div><div id="yui_3_16_0_1_1452626715534_2716" dir="ltr">...John</div><div id="yui_3_16_0_1_1452626715534_2716"><br></div> <div class="qtdSeparateBR" id="yui_3_16_0_1_1452626715534_2707"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_1_1452626715534_2704" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12px;" id="yui_3_16_0_1_1452626715534_2703"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_1_1452626715534_2702"> <div dir="ltr" id="yui_3_16_0_1_1452626715534_2706"><font size="2" face="Arial" id="yui_3_16_0_1_1452626715534_2705"> On Monday, January 11, 2016 6:28 PM, Sasha Chuzhoy <sasha@redhat.com> wrote:<br></font></div> <br><br> <div class="y_msg_container" id="yui_3_16_0_1_1452626715534_2701">Hi John,<br clear="none">Does this command work for you:<br clear="none"> nova keypair-add cloudkey >cloudkey.priv; chmod 600 cloudkey.priv<br clear="none"><br clear="none">If it works (nova keypair-list), you could ssh to the instance launched with the key using:<br clear="none">ssh -i cloudkey.priv <user>@<IP><br clear="none"><br clear="none">Best regards,<br clear="none">Sasha Chuzhoy.<br clear="none"><br clear="none">----- Original Message -----<br clear="none">> From: "Thales" <<a shape="rect" ymailto="mailto:thaleslv@yahoo.com" href="mailto:thaleslv@yahoo.com" id="yui_3_16_0_1_1452626715534_3159">thaleslv@yahoo.com</a>><br clear="none">> To: "Marius Cornea" <<a shape="rect" ymailto="mailto:marius@remote-lab.net" href="mailto:marius@remote-lab.net" id="yui_3_16_0_1_1452626715534_3158">marius@remote-lab.net</a>><br clear="none">> Cc: <a shape="rect" ymailto="mailto:rdo-list@redhat.com" href="mailto:rdo-list@redhat.com" id="yui_3_16_0_1_1452626715534_3410">rdo-list@redhat.com</a><br clear="none">> Sent: Sunday, January 10, 2016 10:50:12 PM<br clear="none">> Subject: Re: [Rdo-list] RDO, packstack, Keypair creation is failing<br clear="none">> <br clear="none">> Thanks, Marius!<br clear="none">> <br clear="none">> I get the same error.<br clear="none">> <br clear="none">> "Error (BadRequest): Keypair data is invalid: failed to generate fingerprint<br clear="none">> (HTTP p 400) (Requested ID: ...)"<br clear="none">> <br clear="none">> I'm just staring out with OpenStack here, trying to get through my first<br clear="none">> tutorial, so I'm fumbling around.<br clear="none">> <br clear="none">> ...John<br clear="none">> <br clear="none"><br></div> </div> </div> </div></div></body></html>