oslo.db is not able to cope with multiple engines
Bug #1263908 reported by
Julien Danjou
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
High
|
Julien Danjou | ||
oslo-incubator |
Fix Released
|
High
|
Roman Podoliaka |
Bug Description
oslo.db has a very poor behaviour currently as it uses a lot of global variable.
First it uses oslo.config.
Then, it uses a global variable called _ENGINE that represents "the" engine used. However, if you want to use several engines at the same time, everything explodes and nothing works at all, as the library gets confused.
tags: | added: db |
Changed in oslo: | |
assignee: | Julien Danjou (jdanjou) → Mehdi Abaakouk (sileht) |
Changed in oslo: | |
assignee: | Roman Podoliaka (rpodolyaka) → Victor Sergeyev (vsergeyev) |
Changed in oslo: | |
assignee: | Victor Sergeyev (vsergeyev) → Alexei Kornienko (alexei-kornienko) |
Changed in oslo: | |
assignee: | Alexei Kornienko (alexei-kornienko) → Victor Sergeyev (vsergeyev) |
Changed in oslo: | |
assignee: | Victor Sergeyev (vsergeyev) → Roman Podoliaka (rpodolyaka) |
Changed in oslo: | |
assignee: | Roman Podoliaka (rpodolyaka) → Victor Sergeyev (vsergeyev) |
Changed in oslo: | |
assignee: | Victor Sergeyev (vsergeyev) → Roman Podoliaka (rpodolyaka) |
Changed in oslo: | |
milestone: | none → icehouse-rc1 |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
I'm adding Ceilometer as affected, because that makes impossible for it to run unit tests against multiple SQL backend at the same time, nor to use multiple backends at the same time.