yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #15814
[Bug 1325235] Re: Keystone fails on Python 2.6 with simplejson installed
** Changed in: keystone
Status: Fix Committed => Fix Released
** Changed in: keystone
Milestone: None => juno-1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1325235
Title:
Keystone fails on Python 2.6 with simplejson installed
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
with Ib3dc0b713ed90396919feba018772243b3b9c90f being merged into
keystone, keystone api requests fail with:
2014-05-31 18:27:09.104 11179 ERROR keystone.common.wsgi [-] __init__() got an unexpected keyword argument 'namedtuple_as_object'
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi Traceback (most recent call last):
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/keystone/common/wsgi.py", line 411, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi response = request.get_response(self.application)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/webob/request.py", line 1296, in send
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi application, catch_exc_info=False)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/webob/request.py", line 1260, in call_application
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi app_iter = application(self.environ, start_response)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/webob/dec.py", line 144, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi return resp(environ, start_response)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/routes/middleware.py", line 131, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi response = self.app(environ, start_response)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/webob/dec.py", line 144, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi return resp(environ, start_response)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/webob/dec.py", line 144, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi return resp(environ, start_response)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/routes/middleware.py", line 131, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi response = self.app(environ, start_response)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/webob/dec.py", line 144, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi return resp(environ, start_response)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/webob/dec.py", line 144, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi return resp(environ, start_response)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/routes/middleware.py", line 131, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi response = self.app(environ, start_response)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/webob/dec.py", line 144, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi return resp(environ, start_response)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/webob/dec.py", line 130, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi resp = self.call_func(req, *args, **self.kwargs)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/webob/dec.py", line 195, in call_func
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi return self.func(req, *args, **kwargs)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/keystone/common/wsgi.py", line 239, in __call__
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi return render_response(body=result, status=response_code)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/keystone/common/wsgi.py", line 610, in render_response
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi body = jsonutils.dumps(body, cls=utils.SmarterEncoder)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/keystone/openstack/common/jsonutils.py", line 168, in dumps
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi return json.dumps(value, default=default, **kwargs)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi File "/usr/lib64/python2.6/site-packages/simplejson/__init__.py", line 369, in dumps
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi **kw).encode(obj)
2014-05-31 18:27:09.104 11179 TRACE keystone.common.wsgi TypeError: __init__() got an unexpected keyword argument 'namedtuple_as_object'
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1325235/+subscriptions
References