Ask Your Question
0

Error During "Create the Identity service API endpoint"

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

Muhammad Bayat gravatar image

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

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 \
identity

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

Comments

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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

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

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

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

1 follower

Stats

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

Seen: 1,454 times

Last updated: Sep 01 '15