openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #06228
Re: novaclient + keystone (HTTP 404, The resource could not be found.)
> On Fri, Dec 16, 2011 at 10:46 AM, Dong-In David Kang <dkang@xxxxxxx>
> wrote:
> >> The server has either erred or is incapable of performing the
> >> requested operation. (HTTP 500)
> >
> > It was due to the version of webob.
> > The installed version was 1.2b.
> > After reverting it to 1.1.1, it works fine.
>
> Hmmm, could it be related to this?
>
> https://bugs.launchpad.net/swift/+bug/888371
>
> If so, looks like this is a bug that applies to Nova as well?
>
> -jay
>
I think they are similar.
Here is the log of nova-api.
David.
2011-12-16 10:01:51,998 INFO nova.api.openstack.wsgi [b4427885-3601-47c3-9870-4260a3753f7d 2 1] GET http://10.0.10.1:8774/v1.1/1/servers/detail?fresh=1324047711.96
2011-12-16 10:01:51,998 DEBUG nova.api.openstack.wsgi [b4427885-3601-47c3-9870-4260a3753f7d 2 1] Unrecognized Content-Type provided in request from (pid=11529) deserialize_body /usr/local/nova/nova/api/openstack/wsgi.py:257
2011-12-16 10:01:51,998 ERROR nova.api.openstack.v2 [b4427885-3601-47c3-9870-4260a3753f7d 2 1] Caught error: The attribute None is deprecated: disabled starting WebOb 1.2, use GET instead
(nova.api.openstack.v2): TRACE: Traceback (most recent call last):
(nova.api.openstack.v2): TRACE: File "/usr/local/nova/nova/api/openstack/v2/__init__.py", line 61, in __call__
(nova.api.openstack.v2): TRACE: return req.get_response(self.application)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/request.py", line 1149, in get_response
(nova.api.openstack.v2): TRACE: application, catch_exc_info=False)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/request.py", line 1118, in call_application
(nova.api.openstack.v2): TRACE: app_iter = application(self.environ, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/keystone/middleware/auth_token.py", line 310, in __call__
(nova.api.openstack.v2): TRACE: return self._forward_request(env, start_response, proxy_headers)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/keystone/middleware/auth_token.py", line 488, in _forward_request
(nova.api.openstack.v2): TRACE: return self.app(env, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 146, in __call__
(nova.api.openstack.v2): TRACE: return resp(environ, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 146, in __call__
(nova.api.openstack.v2): TRACE: return resp(environ, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 132, in __call__
(nova.api.openstack.v2): TRACE: resp = self.call_func(req, *args, **self.kwargs)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 197, in call_func
(nova.api.openstack.v2): TRACE: return self.func(req, *args, **kwargs)
(nova.api.openstack.v2): TRACE: File "/usr/local/nova/nova/api/openstack/wsgi.py", line 499, in __call__
(nova.api.openstack.v2): TRACE: response = req.get_response(self.application)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/request.py", line 1149, in get_response
(nova.api.openstack.v2): TRACE: application, catch_exc_info=False)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/request.py", line 1118, in call_application
(nova.api.openstack.v2): TRACE: app_iter = application(self.environ, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 146, in __call__
(nova.api.openstack.v2): TRACE: return resp(environ, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/routes/middleware.py", line 131, in __call__
(nova.api.openstack.v2): TRACE: response = self.app(environ, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 146, in __call__
(nova.api.openstack.v2): TRACE: return resp(environ, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 132, in __call__
(nova.api.openstack.v2): TRACE: resp = self.call_func(req, *args, **self.kwargs)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 197, in call_func
(nova.api.openstack.v2): TRACE: return self.func(req, *args, **kwargs)
(nova.api.openstack.v2): TRACE: File "/usr/local/nova/nova/api/openstack/wsgi.py", line 567, in __call__
(nova.api.openstack.v2): TRACE: action_result = self.dispatch(request, action, args)
(nova.api.openstack.v2): TRACE: File "/usr/local/nova/nova/api/openstack/wsgi.py", line 599, in dispatch
(nova.api.openstack.v2): TRACE: return controller_method(req=request, **action_args)
(nova.api.openstack.v2): TRACE: File "/usr/local/nova/nova/api/openstack/v2/extensions.py", line 166, in process
(nova.api.openstack.v2): TRACE: res = req.get_response(self.application)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/request.py", line 1149, in get_response
(nova.api.openstack.v2): TRACE: application, catch_exc_info=False)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/request.py", line 1118, in call_application
(nova.api.openstack.v2): TRACE: app_iter = application(self.environ, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 146, in __call__
(nova.api.openstack.v2): TRACE: return resp(environ, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/routes/middleware.py", line 131, in __call__
(nova.api.openstack.v2): TRACE: response = self.app(environ, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 146, in __call__
(nova.api.openstack.v2): TRACE: return resp(environ, start_response)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 132, in __call__
(nova.api.openstack.v2): TRACE: resp = self.call_func(req, *args, **self.kwargs)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/dec.py", line 197, in call_func
(nova.api.openstack.v2): TRACE: return self.func(req, *args, **kwargs)
(nova.api.openstack.v2): TRACE: File "/usr/local/nova/nova/api/openstack/wsgi.py", line 567, in __call__
(nova.api.openstack.v2): TRACE: action_result = self.dispatch(request, action, args)
(nova.api.openstack.v2): TRACE: File "/usr/local/nova/nova/api/openstack/wsgi.py", line 599, in dispatch
(nova.api.openstack.v2): TRACE: return controller_method(req=request, **action_args)
(nova.api.openstack.v2): TRACE: File "/usr/local/nova/nova/api/openstack/v2/servers.py", line 82, in detail
(nova.api.openstack.v2): TRACE: servers = self._get_servers(req, is_detail=True)
(nova.api.openstack.v2): TRACE: File "/usr/local/nova/nova/api/openstack/v2/servers.py", line 101, in _get_servers
(nova.api.openstack.v2): TRACE: search_opts.update(req.str_GET)
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/descriptors.py", line 86, in fget
(nova.api.openstack.v2): TRACE: warn()
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/descriptors.py", line 83, in warn
(nova.api.openstack.v2): TRACE: 3
(nova.api.openstack.v2): TRACE: File "/usr/lib/python2.6/site-packages/webob/util.py", line 51, in warn_deprecation
(nova.api.openstack.v2): TRACE: raise DeprecationWarning(text)
(nova.api.openstack.v2): TRACE: DeprecationWarning: The attribute None is deprecated: disabled starting WebOb 1.2, use GET instead
(nova.api.openstack.v2): TRACE:
Follow ups
References