[openstack-dev] [manila] manila-api failure in liberty

2015-11-05 Thread Igor Feoktistov
Hi Valeriy,

Thank you. Updated api-paste.ini resolved the issue with manila-api failure

Thanks,
Igor.

> Hello Igor,
> 
> Mentioned error indicates that file "etc/manila/api-paste.ini" was not
> updated with one from new version of Manila. This file has dependency on
> version of project and can differ from release to release. So, just copy
> liberty version of this file to "/etc/manila/api-paste.ini" and then run
> Liberty Manila API service.

> -- 
> Kind Regards
> Valeriy Ponomaryov
> www.mirantis.com
> vponomaryov at mirantis.com
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [manila] manila-api failure in liberty

2015-11-05 Thread Valeriy Ponomaryov
Hello Igor,

Mentioned error indicates that file "etc/manila/api-paste.ini" was not
updated with one from new version of Manila. This file has dependency on
version of project and can differ from release to release. So, just copy
liberty version of this file to "/etc/manila/api-paste.ini" and then run
Liberty Manila API service.

-- 
Kind Regards
Valeriy Ponomaryov
www.mirantis.com
vponomar...@mirantis.com
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [manila] manila-api failure in liberty

2015-10-28 Thread Igor Feoktistov
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:  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 
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:  has no 'Versions' 
attribute
2015-10-28 15:39:58.458 8267 ERROR manila 

Thanks,
Igor.



   
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev