Ask Your Question
0

keystone service-create --name=keystone --type=identity \ > --description="Keystone Identity Service" Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL] [closed]

asked 2014-02-09 00:54:12 -0500

Indeep_Minku-OPENSTACK gravatar image

Hello , I am defining services and API endpoints . I am creating a service entry for the identity service by running this command ->

keystone service-create --name=keystone --type=identity --description="Keystone Identity Service"

But whenever i run this command i get this error.

Expecting an auth URL via either --os-auth-url or env[OS_AUTH_URL]

Please provide me with any solutions. Thanks in advace.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by smaffulli
close date 2014-02-09 15:26:15.559582

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-02-09 07:14:47 -0500

Indeep_Minku-OPENSTACK gravatar image

updated 2014-02-09 07:15:27 -0500

I got it... Just added --os-endpoint=http://controller:35357/v2.0 After editing , final command will look like this-

keystone --os-auth-url=http://controller:35357/v2.0 --os-endpoint=http://controller:35357/v2.0 service-create --name=keystone --type=identity --description="Keystone Identity Service"

edit flag offensive delete link more
1

answered 2014-02-09 04:52:57 -0500

updated 2014-02-09 04:53:48 -0500

Refer to this question.

edit flag offensive delete link more

Comments

I have tried.. but still its not working. this time i wrote keystone --os-auth-url=http://controller:35357/v2.0 service-create --name=keystone --type=identity --description="Keystone Identity Service" On running this command i get - Expecting an endpoint provided via either --os-endpoint

Indeep_Minku-OPENSTACK gravatar imageIndeep_Minku-OPENSTACK ( 2014-02-09 07:02:33 -0500 )edit

Hi Indeep, good to see that you found it yourself. You can edit your ~/.bashrc and add export OS_SERVICE_ENDPOINT=http://controller:35357/v2.0 export OS_AUTH_URL=http://controller:35357/v2.0 to avoid entering such credentials everytime.

prasoontelang gravatar imageprasoontelang ( 2014-02-09 08:33:12 -0500 )edit

Thanx prasoontelang.. Can you please help me with one more doubt - How and where to create keystonerc file. Thanx again in advance

Indeep_Minku-OPENSTACK gravatar imageIndeep_Minku-OPENSTACK ( 2014-02-09 08:38:14 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-02-09 00:54:12 -0500

Seen: 1,233 times

Last updated: Feb 09 '14