Ask Your Question

Revision history [back]

Today, I just setup Keystone Grizzly and want to migration my Folsom implementation to Grizzly version. My backend Identity service is OpenLDAP(stores User, Tenant, Role information). After configuring the keystone.conf file for Grizzly and issue the command get -> http://146.89.7.107:35357/v3/users, I am returned back with a list of user with info ->

#

{ "users": [ { "password": "secrete", "id": "nsoadmin-cn-1", "links": { "self": "http://localhost:5000/v3/users/nsoadmin-cn-1" }, "name": "nsoadmin-1" }, { "password": "secrete", "id": "nsoadmin-cn-2", "links": { "self": "http://localhost:5000/v3/users/nsoadmin-cn-2" }, "name": "nsoadmin-2" }, ....

#

However, from the official doc, it should be returned with information such like ->

#

[ { "default_project_id": "--default-project-id--", "description": "a user", "domain_id": "1789d1", "email": "...", "enabled": true, "id": "--user-id--", "links": { "self": "http://identity:35357/v3/users/--user-id--" }, "name": "admin" }, { "default_project_id": "--default-project-id--", "description": "another user", "domain_id": "1789d1", "email": "...", "enabled": true, "id": "--user-id--", "links": { "self": "http://identity:35357/v3/users/--user-id--" }, "name": "someone" } ]

#

,which is with more information such like ,domain and project.

Also, when I issue the command wanting to get a scoped token ->

#

curl -X POST -d '{"auth":{"tenantName": "admin-tenant", "passwordCredentials":{"username": "nsoadmin-1", "password": "secrete"}}}' -H "Content-type: application/json" http://146.89.7.95:5000/v2.0/tokens | python -m json.tool

#

I faced with the error message-> "message": "An unexpected error prevented the server from fulfilling your request. 'domain_id'", "title": "Internal Server Error"

Can anyone give me an insight here?