<div dir="ltr"><font color="#777777" face="'normal arial', sans-serif"><span style="font-size:12px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:Verdana,Arial,Helvetica;word-spacing:0px"><div>

<font color="#777777" face="'normal arial', sans-serif"><span style="font-size:12px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:Verdana,Arial,Helvetica;word-spacing:0px">In case we want to find out the list of groups and users in each group.</span></span></font></div>

<div><font color="#777777" face="'normal arial', sans-serif"><span style="font-size:12px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:Verdana,Arial,Helvetica;word-spacing:0px">What is the best way in case these apis are not working as expected.</span></span></font></div>

<div><font color="#777777" face="'normal arial', sans-serif"><span style="font-size:12px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:Verdana,Arial,Helvetica;word-spacing:0px"><br>

</span></span></font></div>On 02/17/2014 11:22 AM, Rajdeep Dua wrote: </span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:Verdana,Arial,Helvetica;word-spacing:0px">

<font color="#660066" style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:Verdana,Arial,Helvetica;word-spacing:0px">> Trying to get list of groups in a tenant using Keystone v3 APIs. <br>

> It is giving me an error - resource not found even where there are <br>> groups in that tenant. Any idea why this might be happening <br>> <br>> Thanks <br>> Rajdeep <br>> <br>> Code - Listing <br>
> <br>
> import keystoneclient.v3.client as ksclient <br>> from credentials import get_credentials <br>> <br>> credentials = get_credentials() <br>> try: <br>> keystone = ksclient.Client(**credentials) <br>> <br>

> groups_list = keystone.groups.list() <br>> ... <br>> <br>> <br><br></font><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:Verdana,Arial,Helvetica;word-spacing:0px">Many APIs return 404 on access error to avoid giving away info. Also, </span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:Verdana,Arial,Helvetica;word-spacing:0px">

<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:Verdana,Arial,Helvetica;word-spacing:0px">not all APIs are accessable on both the public and internal urls. I </span><br style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;font-weight:normal;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:Verdana,Arial,Helvetica;word-spacing:0px">

<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:start;font-style:normal;display:inline!important;font-weight:normal;float:none;line-height:normal;text-transform:none;font-size:small;white-space:normal;font-family:Verdana,Arial,Helvetica;word-spacing:0px">suspect this is the latter case.</span><br>

</span></font></div>