yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19303
[Bug 1359376] [NEW] KeyError in GroupNotFound error path
Public bug reported:
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.
** Affects: keystone
Importance: Undecided
Assignee: Matthew Edmonds (edmondsw)
Status: In Progress
** Changed in: keystone
Status: New => In Progress
** Changed in: keystone
Assignee: (unassigned) => Matthew Edmonds (edmondsw)
--
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):
In Progress
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
Follow ups
References