Mysql doesn't start on controllers in case nodes are being started in different order

Bug #1592189 reported by Eugene Nikanorov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
New
Medium
Unassigned

Bug Description

Consider the following case:
controllers are getting shut down in the order 1, 2, 3
When 1 is shut down, 2 and 3 are still active and receiving writes to the db.
Then 2 and 3 are shut down, in order.

When 1 is then started, mysql there becomes primary node.
When 2 and 3 start, they become joiners. Mysql on nodes 2 and 3 complains that it has more recent information than node1 and refuses to start.

OCF scripts never manage to start mysql on those nodes, until mysql is started with different set of parameters making the mysql instance to sync its state from the very beginning.

While mysql behavior is justified here - the user should make a decision, which information should be discarded and which should not be - in fact user can't do anything about it, also they are not notified about the problem in any meaningfull way.

All the user sees is 2 out of 3 nodes down in 'pcs status' output.

Expected result:
Some sort of notification for the user about what is the problem and what are the steps to fix it.

tags: added: customer-found
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Full cluster shutdown is a rare case, so I believe it has a medium prio

Changed in fuel:
milestone: none → 10.0
importance: Undecided → Medium
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Expected result:
Some sort of notification for the user about what is the problem and what are the steps to fix it.

Mysql logs should contain required info and steps for this corner case (look for a state diverged)

Dmitry Klenov (dklenov)
tags: added: area-library
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.