Ask Your Question

Error During "Create the Identity service API endpoint"

asked 2015-08-31 15:18:23 -0500

Muhammad Bayat gravatar image

updated 2015-09-01 02:13:25 -0500

Hi, when I try to Create the Identity service API endpoint by this command

openstack endpoint create \
--publicurl http://controller:5000/v2.0 \
--internalurl http://controller:5000/v2.0 \
--adminurl http://controller:35357/v2.0 \
--region RegionOne \

I face this error " openstack Authorization Failed: Cannot authenticate without an auth_url"

I reboot the controller and tried again but this time saw "error: openstack"

Pls help me to solve this issue

edit retag flag offensive close merge delete


Can you use --debug when running the command to create the endpoint and paste the content of the output (openstack --debug endpoint create <options>). For the autentication error, check if OS_TOKEN and OS_URL are exported

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2015-09-01 02:12:47 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-01-27 08:18:01 -0500

jckreddy gravatar image

There will be two reasons

Cause1 : OS_AUTH_URL environmental variable not set Cause2 : (token_auth) uses V2 (OS_URL) and (admin/demo) uses V3 (OS_AUTH_URL)

You can assign OS_AUTH_URL variable and try it again with the following cmd
export OS_AUTH_URL=http://${HOSTNAME}:35357/v3

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-08-31 14:49:28 -0500

Seen: 1,526 times

Last updated: Sep 01 '15