-
Notifications
You must be signed in to change notification settings - Fork 180
Openstack Identity V2 Tenant List -- Pagination showing one Tenant #599
Comments
What are you trying to do with the list of tenants and the token? What is the problem you're running into? |
I'm more concerned on the tenant list not on the tokens (the code for token above is just to check the function) and my problem here is that when I'm hitting the identity api and trying to retrieve the list of tenants available in that dc I only see one tenant which I'm part of the tenant space but not all the tenants available in that specific dc. |
|
Thanks @jrperritt @jamiehannaford i just have checked the code there and i tried tweaking a bit creating the token and making a request accordingly and here is the snippet not sure if the request flow to fetch the data that i'm doing is correct or not
Output I get the client object with all the endpoint urls and the roles for the specified user and the user have member and the admin user and the same user in python can get all the tenants and users with respective their roles but here i see single tenant user as show in my first comment screenshot |
@kgrvamsi thanks for the hint, I also met with the issue. |
I'm not sure if i'm using the library properly but confused with the end result of the code
config.yaml
fetcher.go
Output
Note:
1)Every Dc have around 100+ Tenants
2)Sorry if my standard of programming looks messy anywhere.Recommendations are welcome.
The text was updated successfully, but these errors were encountered: