Setting InnoDB for tables breaks mysqlcluster/ndb replication

Bug #1069917 reported by Michael Renz
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Won't Fix
Undecided
Unassigned

Bug Description

Updating towards folsom breaks mysqlcluster/ndb replication because tables are created/altered to use InnoDB.

Neither MySQL replication or drbd/corosync are solutions, as the production cluster(s) span multiple node groups and datacenters and relies heavily on automated monitoring and orchestration.

This is a major bug as far as we are concerned as it will require manual intervention, major downtime and a partial re-architecture to resolve.

James E. Blair (corvus)
no longer affects: openstack-ci
Revision history for this message
Monty Taylor (mordred) wrote :

I think if we add a nova config (because we clearly need another one) that will set the mysql engine used that is by default set to innodb, then it would allow us to force a default to innodb without removing your ability to override that.

Revision history for this message
Michael Renz (mrenz) wrote :

I agree. Anything besides a complete override.

I put this in openstack-core because we verified it in Nova, and suspect (but have not yet verified it) in other projects, keystone etc...

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/14718

Changed in nova:
assignee: nobody → Monty Taylor (mordred)
status: New → In Progress
Revision history for this message
Stuart Stent (stuart-stent) wrote :

Has this been Abandoned? This would help us a great deal in a production environment.

Revision history for this message
Stuart Stent (stuart-stent) wrote :

Has this been Abandoned? we really need this

Revision history for this message
Michael Renz (mrenz) wrote :

Doubleplus on this one. This really needs to get fixed. I don't know why I should be forced to use an active-backup database when I can easily set up an active-active database.

Revision history for this message
Michael Renz (mrenz) wrote :

Any word on this?

Revision history for this message
Viktor Křivák (viktor-krivak) wrote :

Can I ask where is the problem, when fixing this? I do some research and simply change engine to ndb isn't enough. Ndb doesn't support foreign keys. It mostly ignore it when table is created, but adding foreign key in table alter fail during bug in mysql. That is why you need also disable foreign keys. At this moment I usually manually edit migration files in nova, but I think it is possible to make patch from this modification. Problem is this patch affected all migration back in history and it is kind a ugly. Is there rules (best practices) describe when I can do that?

Revision history for this message
Jay Pipes (jaypipes) wrote :

I have pinged Monty on this to see if he is still doing anything with this bug. IMHO, Nova has not supported NdbCluster for at least 4 release cycles now, as we rely heavily on foreign key relations. I am not confident that there is any support in the community to fix this particular issue at this time, and would recommend setting the status to Won't Fix.

Monty Taylor (mordred)
Changed in nova:
assignee: Monty Taylor (mordred) → nobody
Jay Pipes (jaypipes)
Changed in nova:
status: In Progress → Won't Fix
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.