issue token with project-scope get error: "object of type 'NoneType' has no len()"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Bi wei |
Bug Description
/v3/auth/tokens POST method for "Password authentication with scoped authorization".
When sets project-scoped with project ID key but the value is a domain id as following:
{
"auth": {
"identity": {
],
}
}
},
"scope": {
}
}
}
}
It returns:
{
"error": {
"message": "object of type 'NoneType' has no len()",
"code": 400,
"title": "Bad Request"
}
}
This message is unreadable for users.
summary: |
- Identity API v3 (CURRENT) : POST method for "Password authentication - with scoped authorization" returns message: "object of type 'NoneType' - has no len()" when sets "default" for "project" + issue token with project-scope get error: "object of type 'NoneType' has + no len()" |
description: | updated |
Changed in keystone: | |
assignee: | nobody → Bi wei (biwei) |
Changed in keystone: | |
importance: | Undecided → Low |
Changed in keystone: | |
milestone: | none → rocky-rc1 |
So what exactly the expected result in this situation.?