Lazy loading of domain configs can lead to issues

Bug #1438827 reported by Henry Nash
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Triaged
Wishlist
Unassigned

Bug Description

This lazy loading was created to avoid a circular dependancy between identity and assignment. However it has a number of issues:

(Extracted from Bug #1410850)

First - if someone will call .setup_domain_drivers(...) multiple times(perhaps we should add self.create() 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.

Also, it seems a messy compilation all over the code that is prone to error.

Henry Nash (henry-nash)
Changed in keystone:
importance: Undecided → Medium
Revision history for this message
Morgan Fainberg (mdrnstm) wrote :

Moved to Wishlist - it is required for DomainSQL to become stable but it is really a known quantity

Changed in keystone:
status: New → Triaged
importance: Medium → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.