openstack installing...

3684 단어 openstack
Troubleshooting
 
 
If you get an error similar to this   
  
 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 anne2011-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 (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 (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:
setup.py
추가: import os
import subprocess
from nova import log as logging
logging.basicConfig()
from setuptools import setup, find_packages from setuptools.command.sdist import sdist from nova.utils import parse_mailmap, str_dict_replace from nova import version if os.path.isdir('.bzr'):
...
/ usr / lib / python 2.6 / site - packages / pkgresources. py 에 도 추가
from nova import log as logging logging.basicConfig()
CA 를 / usr / lib / python 2.6 / site - packages / nova - 2011.1 - py 2.6. egg /    맞아요...근 데 이거 진짜 됐어?
nova - manage procject zipfile IRT anne 명령 으로 생 성 된 nova. zip 에는 아무것도 없습니다. 아, 이전 작업 이 잘못된 것 같 습 니 다. 혹시. / openssl 설정 입 니까?
내 가 nova. conf 를 써 도 호출 되 지 않 았 어. 어, 머리 가 커.
nova, 완전한 설치 문서 주세요.

좋은 웹페이지 즐겨찾기