← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1490743] Re: Attempt to call strftime on a str fails revocation_list

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

-- 
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/1490743

Title:
  Attempt to call strftime on a str fails revocation_list

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  This bug is nearly identical to the old bug
  https://bugs.launchpad.net/keystone/+bug/1285871 , same symptom and
  nearly identical code  . It is currently causing barbican to fail for
  us.

  2015-08-21 03:17:05.244 22742 ERROR keystone.common.wsgi [-] 'str' object has no a
  ttribute 'strftime'
  2015-08-21 03:17:05.244 22742 TRACE keystone.common.wsgi Traceback (most recent ca
  ll last):
  2015-08-21 03:17:05.244 22742 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/common/wsgi.py", line 239, in __call__
  2015-08-21 03:17:05.244 22742 TRACE keystone.common.wsgi     result = method(context, **params)
  2015-08-21 03:17:05.244 22742 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/common/controller.py", line 158, in inner
  2015-08-21 03:17:05.244 22742 TRACE keystone.common.wsgi     return f(self, context, *args, **kwargs)
  2015-08-21 03:17:05.244 22742 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/keystone/auth/controllers.py", line 549, in revocation_list
  2015-08-21 03:17:05.244 22742 TRACE keystone.common.wsgi     t['expires'] = timeutils.isotime(expires)
  2015-08-21 03:17:05.244 22742 TRACE keystone.common.wsgi   File "/usr/lib/python2.7/site-packages/oslo_utils/timeutils.py", line 52, in isotime
  2015-08-21 03:17:05.244 22742 TRACE keystone.common.wsgi     st = at.strftime(_ISO8601_TIME_FORMAT
  2015-08-21 03:17:05.244 22742 TRACE keystone.common.wsgi AttributeError: 'str' object has no attribute 'strftime'
  2015-08-21 03:17:05.244 22742 TRACE keystone.common.wsgi 
  2015-08-21 03:17:05.263 22742 INFO eventlet.wsgi.server [-] 100.72.132.128,10.50.249.37 - - [21/Aug/2015 03:17:05] "GET /v3/auth/tokens/OS-PKI/revoked HTTP/1.1" 500 470 0.063453

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


References