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@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.
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack