在使用rpmbuild对nova进行打包时出现如下错误
reading sources... [ 6%] devref/api
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
ImportError: No module named cloud
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
ImportError: No module named backup_schedules
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
ImportError: No module named faults
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
ImportError: No module named flavors
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
ImportError: No module named images
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
ImportError: No module named servers
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
ImportError: No module named sharedipgroups
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
ImportError: No module named images
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
ImportError: No module named metadatarequesthandler
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/sphinx/ext/autodoc.py", line 321, in import_object
__import__(self.modname)
File "/home/kevin/rpmbuild/BUILD/nova-2014.1.vs2.dev5.g74906de/nova/tests/__init__.py", line 37, in <module>
% os.environ.get('EVENTLET_NO_GREENDNS'))
ImportError: eventlet imported before nova/cmd/__init__ (env var set to None)
但不影响生产包,是sphinx.ext.autodao 出现的问题,但不知道如何解决,求高手帮忙,多谢
|