← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1359376] Re: KeyError in GroupNotFound error path

 

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

** Changed in: keystone
    Milestone: None => juno-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1359376

Title:
  KeyError in GroupNotFound error path

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  Hit the following exception:

  2014-07-23 04:31:08.206 4449 ERROR keystone.common.wsgi [-] 'group_id'
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi Traceback (most recent call last):
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi   File "/usr/lib/python2.6/site-packages/keystone/common/wsgi.py", line 207, in __call__
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi     result = method(context, **params)
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi   File "/usr/lib/python2.6/site-packages/keystone/common/controller.py", line 196, in wrapper
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi     return f(self, context, filters, **kwargs)
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi   File "/usr/lib/python2.6/site-packages/keystone/assignment/controllers.py", line 876, in list_role_assignments
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi     formatted_refs)
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi   File "/usr/lib/python2.6/site-packages/keystone/assignment/controllers.py", line 811, in _
  expand_indirect_assignments
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi     members = _get_group_members(r)
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi   File "/usr/lib/python2.6/site-packages/keystone/assignment/controllers.py", line 696, in _get_group_members
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi     'group': ref['group_id'], 'target': target,
  2014-07-23 04:31:08.206 4449 TRACE keystone.common.wsgi KeyError: 'group_id'

  It appears that the dictionary format was changed and the error path
  code was not updated to expect the new format.

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


References