Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to list all tenants using identity #310

Open
phijojo opened this issue Jul 26, 2017 · 0 comments
Open

unable to list all tenants using identity #310

phijojo opened this issue Jul 26, 2017 · 0 comments

Comments

@phijojo
Copy link

phijojo commented Jul 26, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant