Ask Your Question
0

Tenant ID for nova endpoint

asked 2014-09-07 16:15:48 -0500

Robert gravatar image

I am trying to install Openstack Icehouse by install guide on http://docs.openstack.org/icehouse/in... .

I am stuck on step 10 and I do not understand which tenant id should I use or how to get it?

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
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-09-07 16:44:32 -0500

larsks gravatar image

You don't insert a tenant ID there. You are setting the URLs to literally contain %(tenant_id)s. At the time a client queries the keystone service catalog, keystone will subsitute this token with an appropriate value. For example, in my environment, the compute endpoint I see from one tenant is:

http://127.0.0.1:8774/v2/95d9bbd9b446438a89a353d8adb60704

And from another tenant, I see:

http://127.0.0.1:8774/v2/e4099fa0b2524798b9666d26c95e6f47
edit flag offensive delete link more

Comments

Why do you use two tenants? Are you admin and user or ?

Robert gravatar imageRobert ( 2014-09-17 17:31:10 -0500 )edit

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: 2014-09-07 16:15:48 -0500

Seen: 1,022 times

Last updated: Sep 07 '14