Reviewed: https://review.openstack.org/587399 Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=ec3fbf34e37c0c8130996c6cb7851ee7777dba7b Submitter: Zuul Branch: master
commit ec3fbf34e37c0c8130996c6cb7851ee7777dba7b Author: biwei <[email protected]> Date: Tue Jul 31 08:04:16 2018 -0400 Fix a bug that issue token with project-scope gets error Make sure the project ref contains domain info before looking up domain. Change-Id: Iea82898c213bf833b6d2fdbf7cca694a4e0afd33 Closes-bug: #1784536 ** Changed in: keystone Status: In Progress => Fix Released -- 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/1784536 Title: issue token with project-scope get error: "object of type 'NoneType' has no len()" Status in OpenStack Identity (keystone): Fix Released 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": { "methods": [ "password" ], "password": { "user": { "id": "a83947b5fc594f3ca92f1f2f254f6459", "password": "devstack" } } }, "scope": { "project": { "id": "default" } } } } It returns: { "error": { "message": "object of type 'NoneType' has no len()", "code": 400, "title": "Bad Request" } } This message is unreadable for users. To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1784536/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

