← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1600395] [NEW] AttributeError: 'object' object has no attribute 'payload'

 

Public bug reported:

When running Rally against our Mitaka deployment we found the following
traceback in the logs.

2016-07-06 06:44:14.631 18323 DEBUG keystone.middleware.auth [req-9b8bc44b-e7fa-4a6f-92fd-7a443d8b34ce - - - - -] There is either no auth token in the request or the certificate issuer is not trusted. No auth context will be set. _build_auth_context /usr/lib/python2.7/dist-packages/keystone/middleware/auth.py:71
2016-07-06 06:44:14.633 18323 INFO keystone.common.wsgi [req-9b8bc44b-e7fa-4a6f-92fd-7a443d8b34ce - - - - -] POST http://10.111.109.81:5000/v2.0/tokens
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi [req-9b8bc44b-e7fa-4a6f-92fd-7a443d8b34ce - - - - -] 'object' object has no attribute 'payload'
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi Traceback (most recent call last):
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 249, in __call__
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     result = method(context, **params)
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/oslo_log/versionutils.py", line 165, in wrapped
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     return func_or_cls(*args, **kwargs)
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/keystone/token/controllers.py", line 130, in authenticate
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     user_ref['id'], tenant_ref['id'])
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line 124, in wrapped
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     __ret_val = __f(*args, **kwargs)
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/dogpile/cache/region.py", line 1053, in decorate
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     should_cache_fn)
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/dogpile/cache/region.py", line 657, in get_or_create
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     async_creator) as value:
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/dogpile/core/dogpile.py", line 158, in __enter__
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     return self._enter()
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/dogpile/core/dogpile.py", line 91, in _enter
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     value = value_fn()
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/dogpile/cache/region.py", line 610, in get_value
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     value = self.backend.get(key)
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/keystone/common/cache/_context_cache.py", line 98, in get
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     self._set_local_cache(key, value)
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/keystone/common/cache/_context_cache.py", line 66, in _set_local_cache
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     serialize = {'payload': value.payload, 'metadata': value.metadata}
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi AttributeError: 'object' object has no attribute 'payload'
2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi 
2016-07-06 06:44:14.732 18323 INFO eventlet.wsgi.server [req-9b8bc44b-e7fa-4a6f-92fd-7a443d8b34ce - - - - -] 10.111.109.191,10.111.109.89 - - [06/Jul/2016 06:44:14] "POST /v2.0/tokens HTTP/1.1" 500 400 0.102036

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1600395

Title:
  AttributeError: 'object' object has no attribute 'payload'

Status in OpenStack Identity (keystone):
  New

Bug description:
  When running Rally against our Mitaka deployment we found the
  following traceback in the logs.

  2016-07-06 06:44:14.631 18323 DEBUG keystone.middleware.auth [req-9b8bc44b-e7fa-4a6f-92fd-7a443d8b34ce - - - - -] There is either no auth token in the request or the certificate issuer is not trusted. No auth context will be set. _build_auth_context /usr/lib/python2.7/dist-packages/keystone/middleware/auth.py:71
  2016-07-06 06:44:14.633 18323 INFO keystone.common.wsgi [req-9b8bc44b-e7fa-4a6f-92fd-7a443d8b34ce - - - - -] POST http://10.111.109.81:5000/v2.0/tokens
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi [req-9b8bc44b-e7fa-4a6f-92fd-7a443d8b34ce - - - - -] 'object' object has no attribute 'payload'
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi Traceback (most recent call last):
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/keystone/common/wsgi.py", line 249, in __call__
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     result = method(context, **params)
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/oslo_log/versionutils.py", line 165, in wrapped
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     return func_or_cls(*args, **kwargs)
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/keystone/token/controllers.py", line 130, in authenticate
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     user_ref['id'], tenant_ref['id'])
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/keystone/common/manager.py", line 124, in wrapped
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     __ret_val = __f(*args, **kwargs)
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/dogpile/cache/region.py", line 1053, in decorate
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     should_cache_fn)
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/dogpile/cache/region.py", line 657, in get_or_create
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     async_creator) as value:
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/dogpile/core/dogpile.py", line 158, in __enter__
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     return self._enter()
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/dogpile/core/dogpile.py", line 91, in _enter
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     value = value_fn()
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/dogpile/cache/region.py", line 610, in get_value
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     value = self.backend.get(key)
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/keystone/common/cache/_context_cache.py", line 98, in get
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     self._set_local_cache(key, value)
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi   File "/usr/lib/python2.7/dist-packages/keystone/common/cache/_context_cache.py", line 66, in _set_local_cache
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi     serialize = {'payload': value.payload, 'metadata': value.metadata}
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi AttributeError: 'object' object has no attribute 'payload'
  2016-07-06 06:44:14.729 18323 ERROR keystone.common.wsgi 
  2016-07-06 06:44:14.732 18323 INFO eventlet.wsgi.server [req-9b8bc44b-e7fa-4a6f-92fd-7a443d8b34ce - - - - -] 10.111.109.191,10.111.109.89 - - [06/Jul/2016 06:44:14] "POST /v2.0/tokens HTTP/1.1" 500 400 0.102036

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1600395/+subscriptions


Follow ups