Ask Your Question
1

Is the compute endpoint registration correct? [closed]

asked 2014-01-28 15:58:53 -0500

John Smith gravatar image

updated 2014-01-28 16:00:03 -0500

I'm at the endpoint registration for the compute node and the instructions state to run:

keystone endpoint-create \ --service-id=$(keystone service-list | awk '/ compute / {print $2}') \ --publicurl=http://controller:8774/v2/%(tenant_id)s \ --internalurl=http://controller:8774/v2/%(tenant_id)s \ --adminurl=http://controller:8774/v2/%(tenant_id)s

The output of the command is...

+-------------+-----------------------------------------+
|   Property  |                  Value                  |
+-------------+-----------------------------------------+
|   adminurl  | http://controller:8774/v2/%(tenant_id)s |
|      id     |     ca1a13483f5a4159a7cb2b84b89704ad    |
| internalurl | http://controller:8774/v2/%(tenant_id)s |
|  publicurl  | http://controller:8774/v2/%(tenant_id)s |
|    region   |                regionOne                |
|  service_id |     cfd20998eda04692bac6013c22c4b214    |
+-------------+-----------------------------------------+

Is tenant_id suposed to be replaced with something or is that how it is expected?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by sgordon
close date 2014-01-28 19:12:13.997370

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-01-28 19:11:26 -0500

sgordon gravatar image

updated 2014-01-28 19:11:59 -0500

These endpoints are the correct ones for the OpenStack Compute (Nova) v2 API. The %(tenant_id)s is treated as a special placeholder value by Keystone. In some guides you will see \$(tenant_id)s used instead, it has the same effect.

See also: https://ask.openstack.org/en/question/9203/what-is-tenant_ids-in-keystone-endpoints/

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-01-28 15:58:53 -0500

Seen: 256 times

Last updated: Jan 28 '14