← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1657978] Re: Internal Server Error: KeyError: 'domain'

 

Eric, per your comment in #7, i will mark this as fix released for
Mitaka and Newton and invalid for Ocata. see
https://review.openstack.org/#/q/I213876e30fc0521195848479278080bdac8387de,n,z
for details.

** Also affects: keystone/newton
   Importance: Undecided
       Status: New

** Also affects: keystone/mitaka
   Importance: Undecided
       Status: New

** Also affects: keystone/ocata
   Importance: Medium
     Assignee: Eric Brown (ericwb)
       Status: New

** Changed in: keystone/ocata
       Status: New => Invalid

** Changed in: keystone/newton
       Status: New => Fix Released

** Changed in: keystone/newton
   Importance: Undecided => Medium

** Changed in: keystone/mitaka
       Status: New => Fix Released

** Changed in: keystone/ocata
     Assignee: Eric Brown (ericwb) => (unassigned)

** Changed in: keystone/mitaka
   Importance: Undecided => Medium

** Changed in: keystone/ocata
   Importance: Medium => Undecided

** Changed in: keystone/newton
     Assignee: (unassigned) => Eric Brown (ericwb)

** Changed in: keystone/mitaka
     Assignee: (unassigned) => Eric Brown (ericwb)

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

Title:
  Internal Server Error: KeyError: 'domain'

Status in OpenStack Identity (keystone):
  Invalid
Status in OpenStack Identity (keystone) mitaka series:
  Fix Released
Status in OpenStack Identity (keystone) newton series:
  Fix Released
Status in OpenStack Identity (keystone) ocata series:
  Invalid

Bug description:
  I get the following message in Horizon when trying to authenticate a
  federated user with a misconfigured mapping (in Mitaka)

  {"error": {"message": "An unexpected error prevented the server from
  fulfilling your request: 'domain' (Disable insecure_debug mode to
  suppress these details.)", "code": 500, "title": "Internal Server
  Error"}}

  
  This is my mapping.json. Notice no domain is part of the "group" parameter (even though there is one at one level higher). 
  [
      {
          "local": [
              {
                  "domain": {
                      "name": "Default"
                  }, 
                  "group": {
                      "name": "Federated Users"
                  }, 
                  "user": {
                      "name": "{0}", 
                      "email": "{1}"
                  }, 
                  "groups": "{2}"
              }
          ], 
          "remote": [
              {
                  "type": "REMOTE_USER"
              }, 
              {
                  "type": "MELLON_userEmail"
              }, 
              {
                  "type": "MELLON_groups"
              }
          ]
      }
  ]

  
  This is the log output of the keyerror containing the assertion.

  http://paste.openstack.org/show/595730/

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


References