openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #18468
[OpenStack] Nova API does not start
Hello,
I have just installed the Folsom package of Nova API and am unable to get
it to start.
Here's the error log:
2012-11-09 14:28:40 DEBUG nova.wsgi [-] Loading app metadata from
/etc/nova/api-paste.ini from (pid=25593) load_app
/usr/lib/python2.7/dist-packages/nova/wsgi.py:371
2012-11-09 14:28:40 CRITICAL nova [-] <module 'nova.api.metadata.handler'
from '/usr/lib/python2.7/dist-packages/nova/api/metadata/handler.pyc'> has
no 'Versions' attribute
2012-11-09 14:28:40 TRACE nova Traceback (most recent call last):
2012-11-09 14:28:40 TRACE nova File "/usr/bin/nova-api", line 50, in
<module>
2012-11-09 14:28:40 TRACE nova server = service.WSGIService(api)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/nova/service.py", line 577, in __init__
2012-11-09 14:28:40 TRACE nova self.app = self.loader.load_app(name)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/nova/wsgi.py", line 372, in load_app
2012-11-09 14:28:40 TRACE nova return deploy.loadapp("config:%s" %
self.config_path, name=name)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in
loadapp
2012-11-09 14:28:40 TRACE nova return loadobj(APP, uri, name=name, **kw)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in
loadobj
2012-11-09 14:28:40 TRACE nova return context.create()
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in
create
2012-11-09 14:28:40 TRACE nova return self.object_type.invoke(self)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in
invoke
2012-11-09 14:28:40 TRACE nova **context.local_conf)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in
fix_call
2012-11-09 14:28:40 TRACE nova val = callable(*args, **kw)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 25, in
urlmap_factory
2012-11-09 14:28:40 TRACE nova app = loader.get_app(app_name,
global_conf=global_conf)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in
get_app
2012-11-09 14:28:40 TRACE nova name=name,
global_conf=global_conf).create()
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 362, in
app_context
2012-11-09 14:28:40 TRACE nova APP, name=name, global_conf=global_conf)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in
get_context
2012-11-09 14:28:40 TRACE nova global_additions=global_additions)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 559, in
_pipeline_app_context
2012-11-09 14:28:40 TRACE nova APP, pipeline[-1], global_conf)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 458, in
get_context
2012-11-09 14:28:40 TRACE nova section)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 517, in
_context_from_explicit
2012-11-09 14:28:40 TRACE nova value = import_string(found_expr)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 22, in
import_string
2012-11-09 14:28:40 TRACE nova return
pkg_resources.EntryPoint.parse("x=" + s).load(False)
2012-11-09 14:28:40 TRACE nova File
"/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1994, in load
2012-11-09 14:28:40 TRACE nova raise ImportError("%r has no %r
attribute" % (entry,attr))
2012-11-09 14:28:40 TRACE nova ImportError: <module
'nova.api.metadata.handler' from
'/usr/lib/python2.7/dist-packages/nova/api/metadata/handler.pyc'> has no
'Versions' attribute
2012-11-09 14:28:40 TRACE nova
A similar error has been posted on Launchpad, but it has expired [1].
Any ideas?
[1] https://answers.launchpad.net/nova/+question/211675
Follow ups