Bug 983345 - [RFE] Splitting assignments from the Identity Backend.
Summary: [RFE] Splitting assignments from the Identity Backend.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-keystone
Version: 4.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: Upstream M2
: 4.0
Assignee: Adam Young
QA Contact: Jeremy Agee
URL: https://blueprints.launchpad.net/keys...
Whiteboard:
Depends On: 986067 988937
Blocks: RHOS40RFE
TreeView+ depends on / blocked
 
Reported: 2013-07-11 03:16 UTC by Adam Young
Modified: 2016-04-27 03:54 UTC (History)
4 users (show)

Fixed In Version: openstack-keystone-2013.2-0.5.b2.el6ost
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-19 23:54:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 33745 0 None None None Never
OpenStack gerrit 34254 0 None None None Never
OpenStack gerrit 34967 0 None None None Never
Red Hat Product Errata RHEA-2013:1859 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2013-12-21 00:01:48 UTC

Description Adam Young 2013-07-11 03:16:25 UTC
Original bug report was: 

implement an LDAP backend for identity that:

* allows for mapping by a tenant to a group/search set in LDAP
* authenticates to LDAP
* manages tenants and tenant-user linkages in SQL external to LDAP

Better stated as:

Split the identity backend into an identity portion and an assignments portion.

This work is tracked by blueprint 

https://blueprints.launchpad.net/keystone/+spec/split-identity

Comment 2 Dmitri Pal 2013-07-23 20:52:50 UTC
How to test:

Configure both the SQL and LDAP values for Keystone.

Set up Keystone to use the sql asignment backend, and the LDAP identity backend

[identity]
driver = keystone.identity.backends.ldap.Identity

[assignment]
driver = keystone.identity.backends.sqlAssignment

Run the tempest test suite.

As a precondtion, make sure that there are no users or groups set up in the Sql Database, and no roles, role assignments, or projects in the LDAP database.

after running tempest,  that precondition should hold true as well.

Any users or groups created by tempest should only exist in the LDAP backend
Any role assignments etc should only exist in the sql backend.

Comment 3 Dmitri Pal 2013-07-23 20:54:00 UTC
Make sure that you have read only access to LDAP in the test above.

Comment 6 Jeremy Agee 2013-12-13 02:34:43 UTC
verified, assignments and identity function separately

Comment 8 errata-xmlrpc 2013-12-19 23:54:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1859.html


Note You need to log in before you can comment on or make changes to this bug.