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/413109 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=0271ec3be2e 3a5ab06a03298d3 3935f86ee955ca
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 0271ec3be2e3a5a b06a03298d33935 f86ee955ca
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
Change-Id: I729ba0f2bfce1e
Signed-off-by: Sergii Golovatiuk <email address hidden>