Enable MySQL Cluster support for Gnocchi

Bug #1687098 reported by Octave Orgeron on 2017-04-28
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
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.

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  Edit
Everyone can see this information.

Other bug subscribers