Ask Your Question
0

unable to create OpenStack credentials

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

shinys gravatar image

Hi,

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 https://answers.launchpad.net/nova/+question/134376 (https://answers.launchpad.net/nova/+q...) , 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/manager.py", line 641, in get_credentials private_key, signed_cert = self._generate_x509_cert(user.id, pid) File "/usr/lib/pymodules/python2.6/nova/auth/manager.py", line 703, in _generate_x509_cert signed_cert = crypto.sign_csr(csr, pid) File "/usr/lib/pymodules/python2.6/nova/crypto.py", line 129, in sign_csr return _sign_csr(csr_text, FLAGS.ca_path) File "/usr/lib/pymodules/python2.6/nova/crypto.py", 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
0

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

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

Stats

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

Seen: 22 times

Last updated: Dec 30 '10