We only need to create the users on the primary controller as all of
/var/lib/mysql is transferred during SST. By restricting the creation of
the users on the primary controller, we are reducing the likelihood of a
split brain that can occur when the MyISAM tables become desynced.
Reviewed: https:/ /review. openstack. org/302975 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=f1c63b04ee1 b42ecd1b68ec313 6b54b4ae49e634
Committed: https:/
Submitter: Jenkins
Branch: master
commit f1c63b04ee1b42e cd1b68ec3136b54 b4ae49e634
Author: Sergii Golovatiuk <email address hidden>
Date: Thu Apr 7 19:08:30 2016 +0200
Create users only on primary controller
We only need to create the users on the primary controller as all of
/var/lib/mysql is transferred during SST. By restricting the creation of
the users on the primary controller, we are reducing the likelihood of a
split brain that can occur when the MyISAM tables become desynced.
Change-Id: I732400137dd4d6 ede72c18a595a3b 2fd295621d3
Closes-Bug: #1548271
Signed-off-by: Sergii Golovatiuk <email address hidden>