[Openstack] Keystone v3 APIs

Adam Young ayoung at redhat.com
Tue Feb 18 17:42:06 UTC 2014


On 02/17/2014 11:22 AM, Rajdeep Dua wrote:
> Trying to get list of groups in a tenant using Keystone v3 APIs.
> It is giving me an error - resource not found even where there are 
> groups in that tenant. Any idea why this might be happening
>
> Thanks
> Rajdeep
>
> Code - Listing
>
> import keystoneclient.v3.client as ksclient
> from credentials import get_credentials
>
> credentials = get_credentials()
> try:
>     keystone = ksclient.Client(**credentials)
>
> groups_list = keystone.groups.list()
> ...
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Many APIs return 404 on access error to avoid giving away info. Also, 
not all APIs are accessable on both the public and internal urls.  I 
suspect this is the latter case.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140218/bb550017/attachment.html>


More information about the Openstack mailing list