Ask Your Question
0

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

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

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/pkg_resources.py", line 489, in run_script File "/usr/local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", 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/manager.py", line 635, in get_credentials private_key, signed_cert = self._generate_x509_cert(user.id, pid) File "/usr/local/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/auth/manager.py", 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/crypto.py", 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/crypto.py", 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'

Regards

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

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

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 10.0.0.0/8 3 16

edit flag offensive delete link more
0

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

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

edit flag offensive delete link more
0

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

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 && ./genrootca.sh

Once this is done, give the zip another go.

edit flag offensive delete link more
0

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

Thanks Josh Kearney, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 7 times

Last updated: Dec 09 '10