Configuration error: Client configured to run without a service catalog.

asked 2016-04-11 04:42:15 -0600

SyCode7 gravatar image

I have this strange error that possible relates to my inability to set up my openstack installation properly. The full error is below , can anyone kindly tell me what this means.. thanks

root@xxxxxxxxx:~# keystone token-get WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). Configuration error: Client configured to run without a service catalog. Run the client using --os-auth-url or OS_AUTH_URL, instead of --os-endpoint or OS_SERVICE_ENDPOINT, for example.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-04-11 05:09:54 -0600

dbaxps gravatar image

updated 2016-04-11 05:16:47 -0600

Source keystonerc_admin on Ubuntu name of file exporting credentials is different like openrc_admin.sh or something like that

unset OS_SERVICE_TOKEN
export OS_USERNAME=admin
export OS_PASSWORD=f6a9398960534797
export OS_AUTH_URL=http://192.169.142.127:5000/v2.0
export PS1='[\u@\h \W(keystone_admin)]\$ '
export OS_TENANT_NAME=admin
export OS_REGION_NAME=RegionOne

On HA Controller I needed :-

# cat keystonerc_admin
export OS_USERNAME=admin
export OS_TENANT_NAME=admin
export OS_PROJECT_NAME=admin
export OS_REGION_NAME=regionOne
export OS_PASSWORD=keystonetest
export OS_AUTH_URL=http://controller-vip.example.com:35357/v2.0/
export OS_SERVICE_ENDPOINT=http://controller-vip.example.com:35357/v2.0 
export OS_SERVICE_TOKEN=$(cat /root/keystone_service_token)
export PS1='[\u@\h \W(keystone_admin)]\$ '

Then run :-

# keystone get-token
edit flag offensive delete link more

Comments

@dbaxps...thanks for your reply. What is the deffrence between admin openrc and keystonerc_admin ??

SyCode7 gravatar imageSyCode7 ( 2016-04-11 10:37:16 -0600 )edit

I believe no difference. I hardly remind what I did on Ubuntu 14.04 after devstack completion
a kind of openrc admin and openrc demo

dbaxps gravatar imagedbaxps ( 2016-04-11 10:47:29 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-04-11 04:42:15 -0600

Seen: 424 times

Last updated: Apr 11 '16