[openstack-dev] manila-api failure in liberty
Igor Feoktistov
ifeoktistov at yahoo.com
Thu Oct 29 04:56:31 UTC 2015
The API service fails to load with the error below.
The scheduler and share services seems to load fine. What could be wrong?
I compared api/versions.py for kilo and liberty. And it seems liberty is missing Versions class.
I appreciate your hep on this.
2015-10-28 15:39:58.458 8267 CRITICAL manila [-] ImportError: <module 'manila.api.versions' from '/usr/lib/python2.7/site-packages/manila/api/versions.py'> has no 'Versions' attribute
2015-10-28 15:39:58.458 8267 ERROR manila Traceback (most recent call last):
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/bin/manila-api", line 10, in <module>
2015-10-28 15:39:58.458 8267 ERROR manila sys.exit(main())
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/manila/cmd/api.py", line 48, in main
2015-10-28 15:39:58.458 8267 ERROR manila server = service.WSGIService('osapi_share')
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/manila/service.py", line 276, in __init__
2015-10-28 15:39:58.458 8267 ERROR manila self.app = self.loader.load_app(name)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/manila/wsgi.py", line 546, in load_app
2015-10-28 15:39:58.458 8267 ERROR manila return deploy.loadapp("config:%s" % self.config_path, name=name)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2015-10-28 15:39:58.458 8267 ERROR manila return loadobj(APP, uri, name=name, **kw)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2015-10-28 15:39:58.458 8267 ERROR manila return context.create()
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-10-28 15:39:58.458 8267 ERROR manila return self.object_type.invoke(self)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2015-10-28 15:39:58.458 8267 ERROR manila **context.local_conf)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
2015-10-28 15:39:58.458 8267 ERROR manila val = callable(*args, **kw)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/manila/api/__init__.py", line 35, in root_app_factory
2015-10-28 15:39:58.458 8267 ERROR manila return paste.urlmap.urlmap_factory(loader, global_conf, **local_conf)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory
2015-10-28 15:39:58.458 8267 ERROR manila app = loader.get_app(app_name, global_conf=global_conf)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2015-10-28 15:39:58.458 8267 ERROR manila name=name, global_conf=global_conf).create()
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 362, in app_context
2015-10-28 15:39:58.458 8267 ERROR manila APP, name=name, global_conf=global_conf)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 450, in get_context
2015-10-28 15:39:58.458 8267 ERROR manila global_additions=global_additions)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context
2015-10-28 15:39:58.458 8267 ERROR manila APP, pipeline[-1], global_conf)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 458, in get_context
2015-10-28 15:39:58.458 8267 ERROR manila section)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit
2015-10-28 15:39:58.458 8267 ERROR manila value = import_string(found_expr)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 22, in import_string
2015-10-28 15:39:58.458 8267 ERROR manila return pkg_resources.EntryPoint.parse("x=" + s).load(False)
2015-10-28 15:39:58.458 8267 ERROR manila File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2265, in load
2015-10-28 15:39:58.458 8267 ERROR manila raise ImportError("%r has no %r attribute" % (entry,attr))
2015-10-28 15:39:58.458 8267 ERROR manila ImportError: <module 'manila.api.versions' from '/usr/lib/python2.7/site-packages/manila/api/versions.py'> has no 'Versions' attribute
2015-10-28 15:39:58.458 8267 ERROR manila
Thanks,
Igor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151029/b6e858d7/attachment.html>
More information about the OpenStack-dev
mailing list