yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00900
[Bug 1131265] Re: LDAP scoped queries breaks object creation
Reviewed: https://review.openstack.org/22620
Committed: http://github.com/openstack/keystone/commit/a4086ac93f0b894977cbb6a3768e9335a613a602
Submitter: Jenkins
Branch: milestone-proposed
commit a4086ac93f0b894977cbb6a3768e9335a613a602
Author: Adam Young <ayoung@xxxxxxxxxx>
Date: Thu Feb 21 11:09:57 2013 -0500
Fix id_to_dn for creating objects
Only do the lookup if the scope is not ONELEVEL
For ONELEVEL, there is no point in paying the price of the lookup.
If the object is not found for scoped queries, return the top level
DN so the object can be created.
Bug 1131265
Change-Id: I1ca41bf87c3bdea30fbdf607b19192f37dd0bfd6
** Changed in: keystone
Status: Fix Committed => 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/1131265
Title:
LDAP scoped queries breaks object creation
Status in OpenStack Identity (Keystone):
Fix Released
Bug description:
This commit:
https://github.com/openstack/keystone/commit/159ffe48e986e524f5930ad41d376bdce2b6a07e
changed how object ids are created to do a lookup. However, if the
object does not yet exist, it throws an exception, which breaks object
creation. This should have been caught in the unit tests, but the
unit tests modify the code back to the origianl logic, so the new
logic was never tested.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1131265/+subscriptions