← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1425108] Re: private _get_children() in sql backend doesn't support passing None values

 

https://review.openstack.org/#/c/158720/ (merged) closes bug 1425113.

https://review.openstack.org/#/c/158731/ closes this bug, but was
abandoned in favor of merging that patch into
https://review.openstack.org/#/c/158372/ which has not merged.

** Changed in: keystone
       Status: Fix Released => In Progress

** Changed in: keystone
     Assignee: (unassigned) => Rodrigo Duarte (rodrigodsousa)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1425108

Title:
  private _get_children() in sql backend doesn't support passing None
  values

Status in OpenStack Identity (keystone):
  In Progress

Bug description:
  The _get_children() method [1] uses the "in_" clause, which doesn't
  support passing None as part of the list (it is not considered).
  Passing None is a valid situation if we want to query for all root
  projects in the hierarchy.

  [1]
  https://github.com/openstack/keystone/blob/master/keystone/resource/backends/sql.py#L86

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


References