DB tasks should wait for galera explicitly. There shouldn't be
conditions when primary-database is done, allowing *-db tasks to create
users while galera is syncing with other nodes. That causes split brain
as *-db tasks create users in MyISAM tables which is not handled by
Galera.
Reviewed: https:/ /review. openstack. org/413107 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=bfe89ff3c91 f8446ba361a8a4c 7e3312f3754ceb
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit bfe89ff3c91f844 6ba361a8a4c7e33 12f3754ceb
Author: Sergii Golovatiuk <email address hidden>
Date: Tue Dec 20 12:23:07 2016 +0100
Fix dependency issues between tasks
DB tasks should wait for galera explicitly. There shouldn't be
conditions when primary-database is done, allowing *-db tasks to create
users while galera is syncing with other nodes. That causes split brain
as *-db tasks create users in MyISAM tables which is not handled by
Galera.
Closes-Bug: #1636841 731de36c932f5f0 350e91adb22 d1430c38b6a3c72 38612d4211)
Change-Id: I729ba0f2bfce1e
Signed-off-by: Sergii Golovatiuk <email address hidden>
(cherry picked from commit 139c5f4fadd45c3