Ask Your Question
1

Adding service to Keystone in devstack

asked 2013-07-15 08:10:47 -0600

Deepak gravatar image

Hi,

Can someone please tell me how to add services to keystone in the devstack environment ? I am looking to add some IDP's into the keystone catalog. please help !! I found the keystone configuration file in etc/keystone.conf.sample please tell me if any changes in this sample file be helpful or where do I need to work to make the changes ?

Thank you

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-02-15 23:20:07 -0600

koolhead17 gravatar image

Deepak,

You will have to tweak devstack script if you want to add something more to it. There is no other shortcut. Reading devstack script will be helpful.

edit flag offensive delete link more
0

answered 2014-02-23 18:03:35 -0600

rahmu gravatar image

After running devstack, to add a service to openstack you need to run the following as an admin

ubuntu@devstack:~$ keystone service-create --name testservice --type customtype --description "foo"
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
| description |               foo                |
|      id     | 0c66370823be4ba785a41482448ef20a |
|     name    |           testservice            |
|     type    |            customtype            |
+-------------+----------------------------------+

You can associate an endpoint to this service

ubuntu@devstack:~$ keystone endpoint-create --region Region1 --service testservice --publicurl http://127.0.0.1 --adminurl http://127.0.0.1 --internalurl http://127.0.0.1
+-------------+----------------------------------+
|   Property  |              Value               |
+-------------+----------------------------------+
|   adminurl  |         http://127.0.0.1         |
|      id     | c7702766bcd042ed87595775dcc3786c |
| internalurl |         http://127.0.0.1         |
|  publicurl  |         http://127.0.0.1         |
|    region   |             Region1              |
|  service_id | 0c66370823be4ba785a41482448ef20a |
+-------------+----------------------------------+
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

Stats

Asked: 2013-07-15 08:10:47 -0600

Seen: 303 times

Last updated: Feb 23 '14