On Tue, Jun 24, 2014 at 02:58:49PM +0530, Udara Liyanage wrote:
Oh Sorry I was refering to keypair-add
Please check
$ nova --debug keypair-add[. . .]
If it still hangs, see if you can do some debugging by enabling pdb
import pdb; pdb.set_trace()
Some notes from a previous Nova Key pairs debugging:
http://kashyapc.com/2013/03/27/debugging-nova-a-small-illustration-with-pdb/
On Tue, Jun 24, 2014 at 2:53 PM, Kashyap Chamarthy
<kchamart(a)redhat.com>
wrote:
> On Tue, Jun 24, 2014 at 11:45:42AM +0530, Udara Liyanage wrote:
> > Hi,
> >
> > Installed RDO on CentOS. However nova keypair-create test> test.pem
> > keep on hangs and no key pairs are created. What could be the
> > solution?
>
> Hmm, I'm using Fedora though, I don't see nova 'keypair-create'
command
> from Nova upstream sources.
>
> It's 'keypair-add' isn't it?
>
> $ nova --help | grep keypair
> keypair-add Create a new key pair for use with servers.
> keypair-delete Delete keypair given by its name.
> keypair-list Print a list of keypairs for a user
> keypair-show Show details about the given keypair.
>
>
> To use keypair-add, try that:
>
> $ nova keypair-add key1 > key1.priv
> $ chmod 600 oskey1.priv
>
>
> I checked with this version:
>
> $ rpm -q openstack-nova
> openstack-nova-2014.1-2.fc21.noarch
>
--
/kashyap