Ask Your Question
1

Keystone client not working in Kilo But openstack client works

asked 2015-05-14 12:32:30 -0600

Karthik Prasad gravatar image

I'm trying to install kilo on ubuntu 15.04, I'm following kilo ubuntu installation document. I could install kilo successfully. I had created admin-openrc.sh file to store env variable as shown below.

export OS_PROJECT_DOMAIN_ID=default
export OS_USER_DOMAIN_ID=default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=******
export OS_AUTH_URL=http://********:35357/v3

Once I load the env variables using source command, I could issue all the opestack client commands say

openstack token issue 
openstack user list

However When I run keystone commands such as

keystone user-list

I get error

Authorization Failed: The resource could not be found. (HTTP 404) (Request-ID: req-e14502f2-28c9-4d91-b07c-`e05eb2fbc3f9)

The debug is run give following details

INFO:urllib3.connectionpool:Starting new HTTP connection (1): kp-controller
DEBUG:urllib3.connectionpool:"POST /v3/tokens HTTP/1.1" 404 93
DEBUG:keystoneclient.session:Request returned failure status: 404
Authorization Failed: The resource could not be found. (HTTP 404) (Request-ID: req-50d75e92-2f99-40ef-9430-9971259f74dd

Some where I read keystone client does not support v3 API but I'm not sure on its validity. If its true, are there any patches for that or are there any keystone client which could be explicitly installed

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-05-14 18:09:39 -0600

That is correct and keystone client won't work with those environment variables. BTW keystone command line client is deprecated. If you want to use keystoneclient change

export OS_AUTH_URL=http://**:35357/v2.0

edit flag offensive delete link more

Comments

Yes, I tried same away, thanks for info

Karthik Prasad gravatar imageKarthik Prasad ( 2015-05-15 07:45:40 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

3 followers

Stats

Asked: 2015-05-14 12:32:30 -0600

Seen: 6,934 times

Last updated: May 14 '15