openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #11088
Re: Missing(?) keystone service catalog
My /etc/keystone/keystone.conf says:
[catalog]
template_file = /etc/keystone/default_catalog.templates
# dynamic, sql-based backend (supports API/CLI-based management commands)
driver = keystone.catalog.backends.templated.TemplatedCatalog
(This is the default from devstack).
I did look at that, but made the mistake of assuming the comment was
correct and referred to the next line, especially since the next, commented
out entry said it was the file-based one. My mistake I guess - I'll try the
SQL one.
Shouldn't the API give a read-only view of the service catalog if CRUD
operations are unavailable?
On Thu, May 3, 2012 at 4:32 PM, Rafael Durán Castañeda <
rafadurancastaneda@xxxxxxxxx> wrote:
> On 05/03/2012 06:38 AM, Nick Lothian wrote:
>
> I'm having some trouble using the Keystone API.
>
> When I run
>
> keystone --os_username=admin --os_password=password --os_auth_url=
> http://192.168.1.50:5000/v2.0/ service-list
>
> I get the following:
>
> No handlers could be found for logger "keystoneclient.v2_0.client"
> Unable to communicate with identity service: 404 Not Found
>
> The resource could not be found.
>
> . (HTTP 404)
>
>
> The keystone log shows the following:
>
> (eventlet.wsgi.server): 2012-05-03 14:03:12,840 DEBUG wsgi write
> 192.168.1.50 - - [03/May/2012 14:03:12] "GET /v2.0/OS-KSADM/services
> HTTP/1.1" 404 176 0.008028
>
>
> Additionally, if I use curl to call the keystone API directly (as
> documented at http://keystone.openstack.org/api_curl_examples.html#id4)
> my whole serviceCatalog section is empty ("serviceCatalog": {})
>
> I am using a default devstack installation.
>
> What am I missing?
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
> I think DevStack is using TemplatedCatalog as catalog backend and it
> doesn't support CRUD. If you need CRUD operations you can use SQL backend.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References