Ask Your Question

unable to create OpenStack credentials

asked 2010-12-15 21:16:35 -0500

shinys gravatar image


I tried creating the nova credential zip file and it failed because the /usr/lib/pymodules/python2.6/nova/..//CA directory did not exist. And threw the below error. However, when I copied files from CA from source code directory (present case /home/shinys/openstack1/nova-2011.1/CA) to /usr/lib/pymodules/python2.6/nova/..//CA, it worked fine for me. Shouldn't this be an automated procedure? Well I tried the solution at ( , it didnt help.

nova-manage project zipfile shinysp shinys

pid shinysp user id/ project shinys Generating RSA private key, 1024 bit long modulus ........................................................................++++++ ..........++++++ e is 65537 (0x10001) Traceback (most recent call last): File "/usr/bin/nova-manage", line 513, in <module> main() File "/usr/bin/nova-manage", line 505, in main fn(*argv) File "/usr/bin/nova-manage", line 363, in zipfile zip_file = self.manager.get_credentials(user_id, project_id) File "/usr/lib/pymodules/python2.6/nova/auth/", line 641, in get_credentials private_key, signed_cert = self._generate_x509_cert(, pid) File "/usr/lib/pymodules/python2.6/nova/auth/", line 703, in _generate_x509_cert signed_cert = crypto.sign_csr(csr, pid) File "/usr/lib/pymodules/python2.6/nova/", line 129, in sign_csr return _sign_csr(csr_text, FLAGS.ca_path) File "/usr/lib/pymodules/python2.6/nova/", line 148, in _sign_csr os.chdir(ca_folder) OSError: [Errno 2] No such file or directory: '/usr/lib/pymodules/python2.6/nova/..//CA'

Thanks Shiny

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2010-12-30 05:17:23 -0500

dirakx gravatar image

I've solved it copyng the /var/lib/nova/CA/ files to the directory where nova-managed is launched.

hope this helps

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


Asked: 2010-12-15 21:16:35 -0500

Seen: 38 times

Last updated: Dec 30 '10