Revision history [back]

click to hide/show revision 1
initial version

Manila-api failure in Liberty

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 18:33:01.644 17451 CRITICAL manila [-] ImportError: <module 'manila.api.versions'="" from="" '="" usr="" lib="" python2.7="" site-packages="" manila="" api="" versions.pyc'=""> has no 'Versions' attribute 2015-10-28 18:33:01.644 17451 ERROR manila Traceback (most recent call last): 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/bin/manila-api", line 10, in <module> 2015-10-28 18:33:01.644 17451 ERROR manila sys.exit(main()) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/manila/cmd/api.py", line 49, in main 2015-10-28 18:33:01.644 17451 ERROR manila server = service.WSGIService('osapi_share') 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/manila/service.py", line 276, in __init__ 2015-10-28 18:33:01.644 17451 ERROR manila self.app = self.loader.load_app(name) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/manila/wsgi.py", line 546, in load_app 2015-10-28 18:33:01.644 17451 ERROR manila return deploy.loadapp("config:%s" % self.config_path, name=name) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp 2015-10-28 18:33:01.644 17451 ERROR manila return loadobj(APP, uri, name=name, *kw) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj 2015-10-28 18:33:01.644 17451 ERROR manila return context.create() 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create 2015-10-28 18:33:01.644 17451 ERROR manila return self.object_type.invoke(self) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke 2015-10-28 18:33:01.644 17451 ERROR manila *context.local_conf) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call 2015-10-28 18:33:01.644 17451 ERROR manila val = callable(args, *kw) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/manila/api/__init__.py", line 35, in root_app_factory 2015-10-28 18:33:01.644 17451 ERROR manila return paste.urlmap.urlmap_factory(loader, global_conf, **local_conf) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory 2015-10-28 18:33:01.644 17451 ERROR manila app = loader.get_app(app_name, global_conf=global_conf) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app 2015-10-28 18:33:01.644 17451 ERROR manila name=name, global_conf=global_conf).create() 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 362, in app_context 2015-10-28 18:33:01.644 17451 ERROR manila APP, name=name, global_conf=global_conf) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 450, in get_context 2015-10-28 18:33:01.644 17451 ERROR manila global_additions=global_additions) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context 2015-10-28 18:33:01.644 17451 ERROR manila APP, pipeline[-1], global_conf) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 458, in get_context 2015-10-28 18:33:01.644 17451 ERROR manila section) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit 2015-10-28 18:33:01.644 17451 ERROR manila value = import_string(found_expr) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 22, in import_string 2015-10-28 18:33:01.644 17451 ERROR manila return pkg_resources.EntryPoint.parse("x=" + s).load(False) 2015-10-28 18:33:01.644 17451 ERROR manila File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2265, in load 2015-10-28 18:33:01.644 17451 ERROR manila raise ImportError("%r has no %r attribute" % (entry,attr)) 2015-10-28 18:33:01.644 17451 ERROR manila ImportError: <module 'manila.api.versions'="" from="" '="" usr="" lib="" python2.7="" site-packages="" manila="" api="" versions.pyc'=""> has no 'Versions' attribute 2015-10-28 18:33:01.644 17451 ERROR manila

Manila-api failure in Liberty

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 18:33:01.644 17451 CRITICAL manila [-] ImportError: <module 'manila.api.versions'="" from="" '="" usr="" lib="" python2.7="" site-packages="" manila="" api="" versions.pyc'=""> 'manila.api.versions' from '/usr/lib/python2.7/site-packages/manila/api/versions.pyc'> has no 'Versions' attribute
2015-10-28 18:33:01.644 17451 ERROR manila Traceback (most recent call last):
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/bin/manila-api", line 10, in <module>
2015-10-28 18:33:01.644 17451 ERROR manila     sys.exit(main())
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/manila/cmd/api.py", line 49, in main
2015-10-28 18:33:01.644 17451 ERROR manila     server = service.WSGIService('osapi_share')
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/manila/service.py", line 276, in __init__
2015-10-28 18:33:01.644 17451 ERROR manila     self.app = self.loader.load_app(name)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/manila/wsgi.py", line 546, in load_app
2015-10-28 18:33:01.644 17451 ERROR manila     return deploy.loadapp("config:%s" % self.config_path, name=name)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2015-10-28 18:33:01.644 17451 ERROR manila     return loadobj(APP, uri, name=name, *kw)
**kw)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2015-10-28 18:33:01.644 17451 ERROR manila     return context.create()
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 710, in create
2015-10-28 18:33:01.644 17451 ERROR manila     return self.object_type.invoke(self)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2015-10-28 18:33:01.644 17451 ERROR manila     *context.local_conf)
**context.local_conf)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/util.py", line 56, in fix_call
2015-10-28 18:33:01.644 17451 ERROR manila     val = callable(args, *kw)
callable(*args, **kw)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/manila/api/__init__.py", line 35, in root_app_factory
2015-10-28 18:33:01.644 17451 ERROR manila     return paste.urlmap.urlmap_factory(loader, global_conf, **local_conf)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/urlmap.py", line 25, in urlmap_factory
2015-10-28 18:33:01.644 17451 ERROR manila     app = loader.get_app(app_name, global_conf=global_conf)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2015-10-28 18:33:01.644 17451 ERROR manila     name=name, global_conf=global_conf).create()
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 362, in app_context
2015-10-28 18:33:01.644 17451 ERROR manila     APP, name=name, global_conf=global_conf)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 450, in get_context
2015-10-28 18:33:01.644 17451 ERROR manila     global_additions=global_additions)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 559, in _pipeline_app_context
2015-10-28 18:33:01.644 17451 ERROR manila     APP, pipeline[-1], global_conf)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 458, in get_context
2015-10-28 18:33:01.644 17451 ERROR manila     section)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit
2015-10-28 18:33:01.644 17451 ERROR manila     value = import_string(found_expr)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py", line 22, in import_string
2015-10-28 18:33:01.644 17451 ERROR manila     return pkg_resources.EntryPoint.parse("x=" + s).load(False)
2015-10-28 18:33:01.644 17451 ERROR manila   File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2265, in load
2015-10-28 18:33:01.644 17451 ERROR manila     raise ImportError("%r has no %r attribute" % (entry,attr))
2015-10-28 18:33:01.644 17451 ERROR manila ImportError: <module 'manila.api.versions'="" from="" '="" usr="" lib="" python2.7="" site-packages="" manila="" api="" versions.pyc'=""> 'manila.api.versions' from '/usr/lib/python2.7/site-packages/manila/api/versions.pyc'> has no 'Versions' attribute
2015-10-28 18:33:01.644 17451 ERROR manila 

manila