Enable MySQL Cluster support for Gnocchi
Bug #1687098 reported by
Octave Orgeron
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi |
Invalid
|
Undecided
|
Octave Orgeron |
Bug Description
For the Gnocchi index database, it does not use the standard database section in the oslo config namespace. In order to enable MySQL Cluster support, we have to inject the mysql_enable_ndb setting into Gnocchi in the index __init__.py and the sqlalchemy.py so that it is picked up in the gnocchi.conf file and passed to the engine.
Changed in gnocchi: | |
assignee: | nobody → Octave Orgeron (octave-orgeron) |
status: | New → In Progress |
To post a comment you must log in.
Abandoning the fix for this bug. Upstream is not interested in registering the oslo_db database options into the [url] namespace. The workaround is to add this to the gnocchi.conf file:
[database]
mysql_enable_ndb = True
The connection string still needs to be in the [url] section.