Ask Your Question
0

Manila-api failure in Liberty

asked 2015-10-28 20:35:08 -0600

ifeoktistov gravatar image

updated 2015-10-31 05:47:10 -0600

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 ...
(more)
edit retag flag offensive close merge delete

Comments

looks like a version mismatch. Perhaps you have Kilo parts and Liberty parts or Manila mixed on the same system.

Bernd Bausch gravatar imageBernd Bausch ( 2015-10-31 05:49:22 -0600 )edit

It's brand new vm. Openstack with Manila component was installed with RDO packstack. No other tools were used.

ifeoktistov gravatar imageifeoktistov ( 2015-10-31 10:40:41 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-11-25 03:32:19 -0600

Viswanath gravatar image

Even I get the same error.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2015-10-28 20:35:08 -0600

Seen: 128 times

Last updated: Nov 25 '15