oslo.db needs a method for selecting mysql storage engine
Bug #1564110 reported by
Octave Orgeron
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.db |
In Progress
|
Wishlist
|
Octave Orgeron |
Bug Description
oslo.db assumes that a MySQL database can only have a storage engine of InnoDB. This causes complications for OpenStack to support other MySQL storage engines, such as MySQL Cluster (NDB). Oslo.db should have a configuration string (i.e. mysql_storage_
no longer affects: | ceilometer |
summary: |
- oslo.db should support MySQL Cluster (NDB) + OpenStack should support MySQL Cluster (NDB) |
Changed in cinder: | |
status: | New → Opinion |
importance: | Undecided → Wishlist |
Changed in keystone: | |
assignee: | Octave Orgeron (octave-orgeron) → nobody |
Changed in ceilometer: | |
status: | New → Incomplete |
Changed in nova: | |
status: | Opinion → Confirmed |
tags: | added: rfe |
Changed in neutron: | |
status: | Incomplete → Confirmed |
Changed in keystone: | |
status: | Incomplete → Opinion |
importance: | Undecided → Wishlist |
Changed in oslo.db: | |
importance: | Undecided → Wishlist |
Changed in keystone: | |
assignee: | nobody → Octave Orgeron (octave-orgeron) |
status: | Opinion → In Progress |
Changed in heat: | |
assignee: | nobody → Octave Orgeron (octave-orgeron) |
Changed in neutron: | |
assignee: | nobody → Octave Orgeron (octave-orgeron) |
no longer affects: | ceilometer |
no longer affects: | cinder |
no longer affects: | glance |
no longer affects: | ironic |
no longer affects: | nova |
no longer affects: | keystone |
no longer affects: | heat |
no longer affects: | neutron |
summary: |
- OpenStack should support MySQL Cluster (NDB) + oslo.db needs a method for selecting mysql storage engine |
description: | updated |
To post a comment you must log in.
MySQL Cluster (NDB) provides an active/active HA and scale-out DB that can be used for OpenStack. Cinder requires changes to SQLalchemy DB upgrade and migrations to support MySQL Cluster (NDB). The primary enhancements are:
1. Implementation of an oslo.db configuration parameter to specify the MySQL storage engine (mysql_ storage_ engine) .
2. Replacement of hardcoded SQL statements that set the engine to "InnoDB" to the above configuration value.
3. Logic to handle SQL differences between MySQL InnoDB and MySQL Cluster (NDB). This includes column lengths, constraints, foreign keys, and indexes.
I have a change-set patch for this. Awaiting CLA before submitting.