Pacemaker maintains an internal database, which is used for
configuration storage. Each update of this database increases a counter,
called "epoch", which should have the same value cluster-wide.
If an update operation comes to a previously detached node, a conflict
will occur. Pacemaker does not allow updating this database on a node,
which epoch value is lower than the epoch value of a cluster leader.
We should wait the epoch counter to come into sync by perodically
retrying the update command.
Reviewed: https:/ /review. openstack. org/257765 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=6134af0c6ec 651e4feef45acdc 5a291beab405cd
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6134af0c6ec651e 4feef45acdc5a29 1beab405cd
Author: Dmitry Bilunov <email address hidden>
Date: Tue Dec 15 12:29:07 2015 +0300
Fix detached keystone node epoch mismatch
Pacemaker maintains an internal database, which is used for
configuration storage. Each update of this database increases a counter,
called "epoch", which should have the same value cluster-wide.
If an update operation comes to a previously detached node, a conflict
will occur. Pacemaker does not allow updating this database on a node,
which epoch value is lower than the epoch value of a cluster leader.
We should wait the epoch counter to come into sync by perodically
retrying the update command.
Closes-Bug: 1494314 c45da2aaa6bc030 f244511761b
Change-Id: I1f242bcd90264e