openstack installing...
时间:2011-02-16 来源:sikoui
No such file or directory: '/usr/local/lib/python2.6/dist-packages/nova-2011.1-py2.6.egg/nova/..//CA'
Add
--ca_path=/var/lib/nova/CA/
in /etc/nova/nova.conf and make sure you followed the step for rsyncing contents of CA directory.
为什么还是错呢。
[root@localhost nova]# nova-manage project zipfile anne_project anne
2011-02-16 16:57:21,896 CRITICAL nova.root [-] [Errno 2] No such file or directory: '/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/..//CA'
(nova.root): TRACE: Traceback (most recent call last):
(nova.root): TRACE: File "/usr/bin/nova-manage", line 5, in <module>
(nova.root): TRACE: pkg_resources.run_script('nova==2011.1', 'nova-manage')
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 464, in run_script
(nova.root): TRACE: self.require(requires)[0].run_script(script_name, ns)
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1197, in run_script
(nova.root): TRACE: execfile(script_filename, namespace, namespace)
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 694, in <module>
(nova.root): TRACE: main()
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 686, in main
(nova.root): TRACE: fn(*argv)
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 422, in zipfile
(nova.root): TRACE: zip_file = self.manager.get_credentials(user_id, project_id)
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/auth/manager.py", line 689, in get_credentials
(nova.root): TRACE: private_key, signed_cert = crypto.generate_x509_cert(user.id, pid)
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/crypto.py", line 202, in generate_x509_cert
(nova.root): TRACE: (serial, signed_csr) = sign_csr(csr, project_id)
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/crypto.py", line 245, in sign_csr
(nova.root): TRACE: return _sign_csr(csr_text, ca_folder())
(nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/crypto.py", line 261, in _sign_csr
(nova.root): TRACE: os.chdir(ca_folder)
(nova.root): TRACE: OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/..//CA'
(nova.root): TRACE: