Revision history [back]

click to hide/show revision 1
initial version

from keystoneclient.v2_0 import client_v2

Hi guys, I created an instance as keystone = client_v2.Client(auth_url=auth_url, tenant_name=tenant_name, username=username, password=password) and I can get response from keystone.auth_ref, which means I was authenticated, right?

But I cannot list the roles using keystone.roles.list() even though I can list users using keystone.users.list()

Could anyone help me out? Thanks!

from keystoneclient.v2_0 import client_v2

Hi guys, I created an instance as keystone = client_v2.Client(auth_url=auth_url, tenant_name=tenant_name, username=username, password=password) and I can get response from keystone.auth_ref, which means I was authenticated, right?

But I cannot list the roles using keystone.roles.list() even though I can list users using keystone.users.list()

Could anyone help me out? Thanks!