Lazy loading of domain configs can lead to issues

Bug #1438827 reported by Henry Nash on 2015-03-31
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
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) on 2015-03-31
Changed in keystone:
importance: Undecided → Medium
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  Edit
Everyone can see this information.

Other bug subscribers