Step 5: Create a project but can't get the documented message

asked 2010-12-03 02:10:58 -0600

when I created a new project and than I run the command "nova-manage project zipfile NOVA anne" I got part of the documented message:

[root@localhost nova-2011.1]# nova-manage project zipfile NOVA anne Generating RSA private key, 1024 bit long modulus ...............++++++ ..........++++++ e is 65537 (0x10001) Traceback (most recent call last): File "/usr/local/bin/nova-manage", line 5, in <module> pkg_resources.run_script('nova==2011.1', 'nova-manage') File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/", line 489, in run_script File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/", line 1207, in run_script File "/usr/local/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 508, in <module> main() File "/usr/local/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 500, in main fn(*argv) File "/usr/local/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 362, in zipfile zip_file = self.manager.get_credentials(user_id, project_id) File "/usr/local/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/auth/", line 635, in get_credentials private_key, signed_cert = self._generate_x509_cert(, pid) File "/usr/local/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/auth/", line 697, in _generate_x509_cert signed_cert = crypto.sign_csr(csr, pid) File "/usr/local/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/", line 129, in sign_csr return _sign_csr(csr_text, FLAGS.ca_path) File "/usr/local/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/", line 148, in _sign_csr os.chdir(ca_folder) OSError: [Errno 2] No such file or directory: '/usr/local/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/..//CA'


edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2010-12-07 16:56:58 -0600

jk0 gravatar image

I've seen similar occurrences before when there were no networks available -- try adding a network and then generating the zip again:

nova-manage network create 3 16

edit flag offensive delete link more

answered 2010-12-08 02:03:24 -0600

HI Josh the network must be 3 16? I try it but the error was same

edit flag offensive delete link more

answered 2010-12-08 02:19:48 -0600

jk0 gravatar image

The network should match whatever you'd like to use in your environment (the above was just an example).

The next thing I would try is generating the root certificate:

cd /usr/local/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/CA && ./

Once this is done, give the zip another go.

edit flag offensive delete link more

answered 2010-12-09 08:34:22 -0600

Thanks Josh Kearney, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2010-12-03 02:10:58 -0600

Seen: 23 times

Last updated: Dec 09 '10