[Openstack] Missing(?) keystone service catalog

Dolph Mathews dolph.mathews at gmail.com
Thu May 3 15:38:35 UTC 2012


"service-list" calls the admin API (port 35357), but the auth_url you
provided was port 5000. I don't think the current keystoneclient is smart
enough to try and switch to the correct endpoint. If you have an admin
role, switching to port 35357 should work for you.

Additionally, you won't get a service catalog without also providing a
tenant, so that behavior is by design as well. Try --os_tenant_name or
--os_tenant_id if using the client, or providing "tenantName" or "tenantId"
in your "auth" object for curl.

-Dolph

On Wed, May 2, 2012 at 11:38 PM, Nick Lothian <nick.lothian at gmail.com>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 at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120503/d3df870c/attachment.html>


More information about the Openstack mailing list