Enable MySQL Cluster support for Gnocchi

Bug #1687098 reported by Octave Orgeron
6
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
Revision history for this message
Octave Orgeron (octave-orgeron) wrote :

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.

Revision history for this message
Octave Orgeron (octave-orgeron) wrote :

Closing bug out as there is a workaround.

Changed in gnocchi:
status: In Progress → Invalid
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.