[Openstack] Keystone database (using latest devstack)
Dolph Mathews
dolph.mathews at gmail.com
Fri Mar 9 16:06:53 UTC 2012
Proposed fix: https://review.openstack.org/#change,5153
Usage:
$ keystone role-list --user=<user-id> --tenant_id=<tenant-id>
On Thu, Mar 8, 2012 at 10:01 PM, Deepak Garg <deepakgarg.iitg at gmail.com>wrote:
> I have also been trying to find a cli to get a user's role in a
> particular tenant.
> I could not do that even with db tables mapping. Following are the fields
> in the tables:
>
> tenant table -> tenant_Id, name, extras
> user_tenant_membership -> user_id, tenant_id
> user table -> id, name, extra
> role table -> id, name
>
> So when we bind a user to a tenant with a particular role. How do we
> store the data in the db so that its possible to verify it and may be
> retrieve it using cli (when it gets implemented) ?
>
>
> Thanks,
> Deepak
>
> On Fri, Mar 9, 2012 at 7:18 AM, Jason Hedden <jhedden at mcs.anl.gov> wrote:
> >
> >
> > On Mar 8, 2012, at 6:12 PM, Andy Smith <andyster at gmail.com> wrote:
> >
> >>
> >> I came across this while trying to list the roles assigned to users,
> which
> >> I still don't know how to do via the keystone client utility. Is this
> even
> >> possible?
> >
> >
> > Well, to clarify that statement a bit, roles exist on user-tenant pairs,
> so
> > you would list the roles for a user-tenant pair.
> >
> >
> > How? I wasn't able to find a way using the keystone client tools.
> >
> > Thanks,
> > Jason
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to : openstack at lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~openstack
> > More help : https://help.launchpad.net/ListHelp
> >
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120309/1f678f32/attachment.html>
More information about the Openstack
mailing list