← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1410850] [NEW] Multiple SQL backend check fails

 

Public bug reported:

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

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.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
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):
  New

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

  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


Follow ups

References