← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1021708] Re: no CLI interface to find all of the tenants which a given user belongs to

 

This was resolved in OpenStackClient with the completion of the Identity
V3 commands in release 0.2.

** Changed in: python-openstackclient
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1021708

Title:
  no CLI interface to find all of the tenants which a given user belongs
  to

Status in OpenStack Identity (Keystone):
  Fix Released
Status in OpenStack Command Line Client:
  Fix Released
Status in “keystone” package in Ubuntu:
  Triaged

Bug description:
  There does not seem to be a CLI, nor does the python api appear to
  provide a way (other than iteration) to find all of the tenants to
  which a user belongs.  I basically want the rough equivalent of the
  following sql:

  SELECT tenant.* FROM tenant,user_tenant_membership WHERE
  user_tenant_membership.user_id = "$USERID" AND
  user_tenant_membersip.tenant_id = tenant.id;

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1021708/+subscriptions