I think devstack is still using tempalte catalog
devstack/files/keystone.conf
[catalog]
driver = keystone.catalog.backends.templated.TemplatedCatalog
template_file = %KEYSTONE_DIR%/etc/default_catalog.templates
These are my commands, you can add for other service:
keystone endpoint-create --region RegionOne --service_id aca8502b8c5c4936bcf1ee510b34cb43 --publicurl http://localhost:\$\(compute_port\)s/v1.1/\$\(tenant_id\)s --adminurl http://localhost:\$\(compute_port\)s/v1.1/\$\(tenant_id\)s --internalurl http://localhost:\$\(compute_port\)s/v1.1/\$\(tenant_id\)s
-----openstack-bounces+gongysh=cn.ibm....@lists.launchpad.net wrote: -----
devstack/files/keystone.conf
[catalog]
driver = keystone.catalog.backends.templated.TemplatedCatalog
template_file = %KEYSTONE_DIR%/etc/default_catalog.templates
These are my commands, you can add for other service:
keystone service-create --name "Identity Service" --type identity
keystone endpoint-create --region RegionOne --service_id 1d2eb30e5674414884947a33b505d614 --publicurl http://localhost:5000/v2.0 --adminurl http://localhost:35357/v2.0 --internalurl http://localhost:5000/v2.0
keystone service-create --name "Image Service" --type glance
keystone endpoint-create --region RegionOne --service_id 8f2e683b8d8a4dbaa0c84afed1ceb848 --publicurl http://localhost:9292/v1 --adminurl http://localhost:9292/v1 --internalurl http://localhost:9292/v1
keystone service-create --name "compute Service" --type computekeystone endpoint-create --region RegionOne --service_id aca8502b8c5c4936bcf1ee510b34cb43 --publicurl http://localhost:\$\(compute_port\)s/v1.1/\$\(tenant_id\)s --adminurl http://localhost:\$\(compute_port\)s/v1.1/\$\(tenant_id\)s --internalurl http://localhost:\$\(compute_port\)s/v1.1/\$\(tenant_id\)s
-----openstack-bounces+gongysh=cn.ibm....@lists.launchpad.net wrote: -----
To: "openstack@lists.launchpad.net (openstack@lists.launchpad.net)" <openstack@lists.launchpad.net>
From: Lorin Hochstein <lo...@nimbisservices.com>
Sent by: openstack-bounces+gongysh=cn.ibm....@lists.launchpad.net
Date: 04/03/2012 11:13AM
Subject: [Openstack] Looking for complete keystone endpoint-create example
All:I'm trying to fix the keystone docs in the "Openstack Install and Deploy Manual", which uses a database backend for the catalog instead of a template file. I cannot find a complete example that shows the "endpoint-create" for all of the relevant services. (DevStack uses the template file backend, not the database backend, so I can't use it for an example).In particular, do we have to create a separate endpoint for each tenant? Are endpointTemplates still around or are they gone now?_______________________________________________Take care,Lorin--Lorin HochsteinLead Architect - Cloud ServicesNimbis Services, Inc.
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp