Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here are error in file /var/log/api.log

2013-04-26 10:41:45 ERROR cinder.api.openstack [req-5413c638-472b-4731-8f48-f5da746fc1ba 82e5f815c6d64a47916be10aae890926 93d99faec60246899e1f4ae20b00c504] Caught error: 'RequestContext' object has no attribute 'service_catalog' 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack Traceback (most recent call last): 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/cinder/api/openstack/__init__.py", line 78, in __call__ 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack return req.get_response(self.application) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py", line 1053, in get_response 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack application, catch_exc_info=False) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/request.py", line 1022, in call_application 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack app_iter = application(self.environ, start_response) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159, in __call__ 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack return resp(environ, start_response) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/keystone/middleware/auth_token.py", line 278, in __call__ 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack return self.app(env, start_response) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159, in __call__ 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack return resp(environ, start_response) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159, in __call__ 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack return resp(environ, start_response) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/Routes-1.12.3-py2.6.egg/routes/middleware.py", line 131, in __call__ 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack response = self.app(environ, start_response) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 159, in __call__ 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack return resp(environ, start_response) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 147, in __call__ 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack resp = self.call_func(req, args, *self.kwargs) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/WebOb-1.0.8-py2.6.egg/webob/dec.py", line 208, in call_func 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack return self.func(req, args, *kwargs) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/cinder/api/openstack/wsgi.py", line 801, in __call__ 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack content_type, body, accept) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/cinder/api/openstack/wsgi.py", line 849, in _process_stack 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack action_result = self.dispatch(meth, request, action_args) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/cinder/api/openstack/wsgi.py", line 924, in dispatch 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack return method(req=request, **action_args) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/cinder/api/openstack/volume/volumes.py", line 243, in detail 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack return self._items(req, entity_maker=_translate_volume_detail_view) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/cinder/api/openstack/volume/volumes.py", line 255, in _items 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack volumes = self.volume_api.get_all(context, search_opts=search_opts) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/nova/volume/cinder.py", line 148, in get_all 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack items = cinderclient(context).volumes.list(detailed=True) 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack File "/usr/lib/python2.6/site-packages/nova/volume/cinder.py", line 56, in cinderclient 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack 'access': {'serviceCatalog': context.service_catalog or {}} 2013-04-26 10:41:45 4512 TRACE cinder.api.openstack AttributeError: 'RequestContext' object has no attribute 'service_catalog'