[Openstack] [keystone] can't not use file-based backend for catalog

Li, Chen chen.li at intel.com
Thu Mar 6 02:08:30 UTC 2014


Hi list,

I'm working under CentOS 6.4 + Havana.

I want to use the file based backend for keystone catalog.
But, after I configured that, when I run command "keystone service list" and "keystone endpoint-list", I get nothing.

Anyone know why this happened ???

I used to be successfully to this on Grizzly.


Thanks.
-chen

Here is my /etc/keystone/keystone.conf:
        [DEFAULT]
         [sql]
        connection = mysql://keystone:keystone@host-db/keystone

         [identity]

         [credential]

         [trust]

         [os_inherit]

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

         [endpoint_filter]

         [token]
        driver = keystone.token.backends.memcache.Token

         [cache]
         [policy]
         [ec2]
         [assignment]
         [oauth1]
         [ssl]
         [signing]
        token_format = UUID

         [ldap]

         [auth]
        methods = external,password,token,oauth1
        password = keystone.auth.plugins.password.Password
        token = keystone.auth.plugins.token.Token
        oauth1 = keystone.auth.plugins.oauth1.OAuth

         [paste_deploy]



Here is my /etc/keystone/default_catalog.templates:
catalog.RegionOne.identity.publicURL = http://host-keystone:$(public_port)s/v2.0
catalog.RegionOne.identity.adminURL = http://host-keystone:$(admin_port)s/v2.0
catalog.RegionOne.identity.internalURL = http://host-keystone:$(public_port)s/v2.0
catalog.RegionOne.identity.name = Identity Service

catalog.RegionOne.compute.publicURL = http://host-nova:$(compute_port)s/v1.1/$(tenant_id)s
catalog.RegionOne.compute.adminURL = http://host-nova:$(compute_port)s/v1.1/$(tenant_id)s
catalog.RegionOne.compute.internalURL = http://host-nova:$(compute_port)s/v1.1/$(tenant_id)s
catalog.RegionOne.compute.name = Compute Service

catalog.RegionOne.volume.publicURL = http://host-cinder:8776/v1/$(tenant_id)s
catalog.RegionOne.volume.adminURL = http://host-cinder:8776/v1/$(tenant_id)s
catalog.RegionOne.volume.internalURL = http://host-cinder:8776/v1/$(tenant_id)s
catalog.RegionOne.volume.name = Volume Service


catalog.RegionOne.image.publicURL = http://host-glance:9292/v1
catalog.RegionOne.image.adminURL = http://host-glance:9292/v1
catalog.RegionOne.image.internalURL = http://host-glance:9292/v1
catalog.RegionOne.image.name = Image Service

catalog.RegionOne.network.publicURL = http://host-neutron:9696/
catalog.RegionOne.network.adminURL = http://host-neutron:9696/
catalog.RegionOne.network.internalURL = http://host-neutron:9696/
catalog.RegionOne.network.name = Network Service

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140306/b932dab6/attachment.html>


More information about the Openstack mailing list