Internal Server Error: KeyError: 'domain'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned | ||
Mitaka |
Fix Released
|
Medium
|
Eric Brown | ||
Newton |
Fix Released
|
Medium
|
Eric Brown | ||
Ocata |
Invalid
|
Undecided
|
Unassigned |
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": [
{
},
},
},
}
],
"remote": [
{
},
{
},
{
}
]
}
]
This is the log output of the keyerror containing the assertion.
Changed in keystone: | |
assignee: | nobody → Eric Brown (ericwb) |
I think that this should be mostly solved via a better, more strict validation of the mapping JSON.