[Rdo-list] RDO, packstack, Keypair creation is failing

Sasha Chuzhoy sasha at redhat.com
Tue Jan 12 20:21:41 UTC 2016


You need to source the file with the variables. 
Run "source /root/keystonerc_admin" before attempting the "nova keypair-add" command.

Thanks.

Best regards,
Sasha Chuzhoy.

----- Original Message -----
> From: "Thales" <thaleslv at yahoo.com>
> To: "Sasha Chuzhoy" <sasha at redhat.com>
> Cc: "Marius Cornea" <marius at remote-lab.net>, rdo-list at redhat.com
> Sent: Tuesday, January 12, 2016 2:49:48 PM
> Subject: Re: [Rdo-list] RDO, packstack, Keypair creation is failing
> 
> Hello Sasha,
> I tried your command, and got the following error:
> [john at 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]
> 
> 
> ...John
>  
> 
>     On Monday, January 11, 2016 6:28 PM, Sasha Chuzhoy <sasha at redhat.com>
>     wrote:
>  
> 
>  Hi John,
> Does this command work for you:
>  nova keypair-add cloudkey >cloudkey.priv; chmod 600 cloudkey.priv
> 
> If it works (nova keypair-list), you could ssh to the instance launched with
> the key using:
> ssh -i cloudkey.priv <user>@<IP>
> 
> Best regards,
> Sasha Chuzhoy.
> 
> ----- Original Message -----
> > From: "Thales" <thaleslv at yahoo.com>
> > To: "Marius Cornea" <marius at remote-lab.net>
> > Cc: rdo-list at redhat.com
> > Sent: Sunday, January 10, 2016 10:50:12 PM
> > Subject: Re: [Rdo-list] RDO, packstack, Keypair creation is failing
> > 
> > Thanks, Marius!
> > 
> > I get the same error.
> > 
> > "Error (BadRequest): Keypair data is invalid: failed to generate
> > fingerprint
> > (HTTP p 400) (Requested ID: ...)"
> > 
> > I'm just staring out with OpenStack here, trying to get through my first
> > tutorial, so I'm fumbling around.
> > 
> > ...John
> > 
> 
> 




More information about the dev mailing list