Fix foreign key drop and recreation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
In Progress
|
Wishlist
|
Steve Noyes |
Bug Description
There are two migration scripts in Keystone that make table changes without dropping and recreating foreign key constraints. This causes problems with portability with other MySQL database types, in particular MySQL Cluster (NDB), which requires strict adherence to ACID model. The two scripts are:
012_contract_
015_contract_
This fix follows the methods already in use in Keystone for properly handling the dropping and recreation of foreign keys around table changes which are in:
014_contract_
092_make_
This fix adds the get_fk_name to the upgrades module, making it available across Keystone. The plan is to eventually add this function to oslo.db and make it available across OpenStack to help with these operations.
Changed in keystone: | |
assignee: | nobody → Octave Orgeron (octave-orgeron) |
tags: | added: sql |
Changed in keystone: | |
status: | Confirmed → In Progress |
summary: |
- MySQL Cluster support for Keystone + Fix foreign key drop and recreation |
description: | updated |
Changed in keystone: | |
assignee: | Octave Orgeron (octave-orgeron) → Murali (muralilaunchpad) |
Changed in keystone: | |
assignee: | nobody → Steve Noyes (steve-noyes) |
Thanks for the initial diagnosis Octave!