We pass in quantum's sql connection string to the controller, but set the database up in the controller block
Bug #1090536 reported by
Ian Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
New
|
Undecided
|
Unassigned | ||
Folsom |
Triaged
|
Medium
|
Unassigned |
Bug Description
We pass this information in, but it's a value obviously derived from other arguments, because the actual creation of the database takes place in the same controller block. The controller block should, therefore, be constructing the DB connection string from the same information that quantum::db::mysql gets passed.
To post a comment you must log in.
I'm reading this as "there should be one source of truth but there isn't; therefore there's a chance that if someone changes one bit but not the other things could get broken". Correct?