Ask Your Question
0

Where should I install endpoint APIs?

asked 2017-01-25 05:27:10 -0500

p.bagherpour gravatar image

updated 2017-01-25 05:28:09 -0500

Hi

Can anyone help me about location of installing image service API endpoints? I have glance and keystone in different nodes, in this case:

1- I should run this command in which node (Glance or keystone or Controller) ?

$ openstack endpoint create --region RegionOne image public http://controller:9292

2- in Command http://controller*:9292 * controller is which node? (Glance or keystone or Controller)

Thanks

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2017-01-25 06:15:30 -0500

Hi,

1 - The command can be executed in any node with access to admin credentials and that reach keystone admin URL http://ADDRESS:35357.

2 - The URL should be the IP/hostname of the server where glance-api service is running, if running under a load balancer use VIP of glance-api backend.

Regards

edit flag offensive delete link more

Comments

I got it, but can you explain me why we create endpoints on keystone node?

p.bagherpour gravatar imagep.bagherpour ( 2017-01-25 08:09:26 -0500 )edit
1

keystone is the service who manage catalog, endpoints are created there and when you auth to keystone it will send you a catalog with all endpoints address. same as openstack catalog list output. then you will send the request to service endpoint

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-01-25 08:18:37 -0500 )edit
1

Also, endpoints are not created on keystone node, are created against keystone. Keystone is a Restful API who store and retrieve info from a database

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-01-25 08:19:22 -0500 )edit
1

answered 2017-01-25 06:10:52 -0500

You should put Glance IP address.

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: 2017-01-25 05:27:10 -0500

Seen: 42 times

Last updated: Jan 25 '17