← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1204221] Re: Authorization Failed: Could not find user, None. (HTTP 404)

 

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

** Changed in: keystone
    Milestone: None => havana-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/1204221

Title:
  Authorization Failed: Could not find user, None. (HTTP 404)

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  assignment/core.py:
      def _get_group_project_roles():
          ...
         metadata_ref = self._get_metadata(
                             group_id=x['id'],
                              domain_id=project_ref['domain_id'])

  self._get_metadata() gets called with user_id=None

  assignment/backends/ldap.py:
      def _get_metadata():
          ...
          if (not self.get_project(tenant_id) or
                  user_id and not self.identity_api.get_user(user_id)):

  self.identity_api.get_user(user_id) raises "Could not find user" since
  user_id = None

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