Not able to access users using keystone api v2.0 in mitaka.
I have managed to enable keystone API v2.0 with Mitaka by adding default_domain_id
in keystone.conf.
However when I try to do user-list using
keystone user-list
It shows me an error of The request you have made requires authentication. (HTTP 401)
my openrc file contains following code.
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=root
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://controller:35357/v2.0/
export OS_IDENTITY_API_VERSION=2.0
export OS_IMAGE_API_VERSION=2
export OS_REGION_NAME=regionOne
If I run following openrc. I am not getting any error but user-list but user list is empty.
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=root
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://controller:35357/v2.0/
export OS_IDENTITY_API_VERSION=2.0
export OS_IMAGE_API_VERSION=2
export OS_REGION_NAME=regionOne
export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0
export OS_SERVICE_TOKEN=1649b3af04ce0d62265b
please let me know what am I doing wrong.
Perhaps the OS_PROJECT_NAME in the first openrc confuses keystone.
@bernd-bausch Even after changing OS_PROJECT_NAME to admin. The problem remains the same
check this link https://ask.openstack.org/en/question... you might find something helpful. Can you please elaborate your question with some more information.