Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

API call to fetch all tenants

I am trying to fetch the list of all tenants using OpenStack identity API 2.0. I have an "admin" user, which I made a user and administrator in all tenants. If I authenticate to public URL (port 5000), and then make the /v2.0/tenants GET call, I receive only the "admin" tenant in the response. The "admin" project is specified as the primary project for user "admin" in the Horizon UI.

I saw the post by the OP in this thread, but when I try to authenticate on the public URL (port 5000) I get "400 Bad Request". The request body is {"auth":{"passwordCredentials":{"username":"admin","password": <admin pwd="">}},"tenantName":"admin"}

API call to fetch all tenants

I am trying to fetch the list of all tenants using OpenStack identity API 2.0. I have an "admin" user, which I made a user and administrator in all tenants. If I authenticate to public URL (port 5000), and then make the /v2.0/tenants GET call, I receive only the "admin" tenant in the response. The "admin" project is specified as the primary project for user "admin" in the Horizon UI.

I saw the post by the OP in this thread, but when I try to authenticate on the public URL (port 5000) I get "400 Bad Request". The request body is is

{"auth":{"passwordCredentials":{"username":"admin","password": <admin pwd="">}},"tenantName":"admin"}

pwd>}},"tenantName":"admin"}