fog-openstack icon indicating copy to clipboard operation
fog-openstack copied to clipboard

unable to list all tenants using identity

Open phijojo opened this issue 8 years ago • 0 comments
trafficstars

Hi ,

when i try to run 'keystone.tenants' i'm not able to list all tenants, instead of this I'm able to list only the tenant which the user is mapped.

keystone = Fog::Identity::OpenStack.new({ openstack_auth_url: "https://localhost:5000/v2.0/tokens", openstack_username: "admin", openstack_api_key: "admin", openstack_project_name: "admin", openstack_endpoint_type: "publicURL" })

Results

keystone.tenants => <Fog::Identity::OpenStack::V2::Tenants [ <Fog::Identity::OpenStack::V2::Tenant id="a9faa5db40b045fb9ccb486a30362671", description="admin tenant", enabled=true, name="admin" > ]

But when i list the tenant from controller using keystone command i'm able to list the tenant.

I'm missing anything?

phijojo avatar Jul 26 '17 19:07 phijojo