500 error if OS-TRUST:trust is not a dict when authenticate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
wangxiyuan |
Bug Description
env: master branch
when user try to issue a token with OS-TRUST:trust if OS-TRUST:trust is not a dict, keystone will raise 500 error:
SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Nov 07 16:46:18 SZX1000339032 <email address hidden>[12272]: ERROR keystone.
Keystone should add OS-TRUST:trust into the schema check as well.
Changed in keystone: | |
assignee: | nobody → wangxiyuan (wangxiyuan) |
Changed in keystone: | |
assignee: | wangxiyuan (wangxiyuan) → Lance Bragstad (lbragstad) |
Changed in keystone: | |
assignee: | Lance Bragstad (lbragstad) → wangxiyuan (wangxiyuan) |
Changed in keystone: | |
milestone: | none → queens-3 |
Fix proposed to branch: master /review. openstack. org/522107
Review: https:/