← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1410850] Re: Multiple SQL backend check fails

 

** 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/1410850

Title:
  Multiple SQL backend check fails

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  In multi domain setup keystone support only one SQL backend. Method
  that check how many SQL backends are requested contain error. It's
  result depends from domain's config load order. It will not detect
  multiple SQL backends if domain's config loaded in order like this:
  SQL -> not SQL -> SQL

  Splitting this bug into two...this one will be the actual issue
  reported...that the logic in assert_one_sql_driver is wrong.  The
  second bug will be related to a re-refactor of the whole way the lazy
  loading is done (see: #1438827) and cover the following:

  And there is more potential issues with this limit on number of SQL backends.
  First - if someone will call .setup_domain_drivers(...) multiple times(perhaps we should add self.crear() in this method or raise exception on second call of this method).
  Second - .reload_domain_driver don't take in a count ._any_sql attribute. So if domain config will change backend type and it become SQL or become not SQL... we will have a problems.

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


References