[Openstack] Looking for complete keystone endpoint-create example

2012-04-02 Thread Lorin Hochstein
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 Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com





___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Looking for complete keystone endpoint-create example

2012-04-02 Thread Yong Sheng Gong
I think devstack is still using tempalte catalogdevstack/files/keystone.conf[catalog]driver = keystone.catalog.backends.templated.TemplatedCatalogtemplate_file = %KEYSTONE_DIR%/etc/default_catalog.templatesThese 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 compute 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: -To: "openstack@lists.launchpad.net (openstack@lists.launchpad.net)" openstack@lists.launchpad.netFrom: Lorin Hochstein lo...@nimbisservices.comSent by: openstack-bounces+gongysh=cn.ibm@lists.launchpad.netDate: 04/03/2012 11:13AMSubject: [Openstack] Looking for complete keystone endpoint-create exampleAll: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 usesthe 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.www.nimbisservices.com
___Mailing list: https://launchpad.net/~openstackPost to   : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore 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


Re: [Openstack] Looking for complete keystone endpoint-create example

2012-04-02 Thread Luis Gervaso
Hi,

You can use devstack, but you need to make one update. This is the way i do:

0. screen -x, and go to keystone

1. CTRL-C keystone proceess

Change keystone config:

FROM:

[catalog]
driver = keystone.catalog.backends.templated.TemplatedCatalog
template_file = /opt/stack/keystone/etc/default_catalog.templates

TO:

[catalog]
driver = keystone.catalog.backends.sql.Catalog

2. Restart your keystone process (arrow-up, to repeat the last command)

3. You can test keystone endpoints API

Regards

On Tue, Apr 3, 2012 at 5:13 AM, Lorin Hochstein lo...@nimbisservices.comwrote:

 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 Hochstein
 Lead Architect - Cloud Services
 Nimbis Services, Inc.
 www.nimbisservices.com






 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




-- 
---
Luis Alberto Gervaso Martin
Woorea Solutions, S.L
CEO  CTO
mobile: (+34) 627983344
luis@ luis.gerv...@gmail.comwoorea.es
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp