tripleo-heat-templates/container_config_scripts
Damien Ciabrini c8f5fdfc36 HA: reimplement resource locks with cibadmin
A resource lock is used as a synchronization point between
pacemaker cluster nodes. It is currently implemented
by adding an attribute in an offline copy of CIB, and merging
the update in the CIB only if no concurrent updates has
occurred in the mean time.

The problem with that approach is that - even if the concurrency
is enforced by pacemaker - the offline CIB contains a snapshot
of the cluster state; so pushing back the entire offline CIB
pushes old resources' state back into the cluster. This causes
additional burden on the cluster and sometimes caused unexpected
cluster state transition.

Reimplement the locking strategy with cibadmin; It's a much faster
approach, that provides the same concurrency guarantees, and only
changes one attribute rather than the entire CIB, so it doesn't
cause unexpected cluster state transition.

Closes-Bug: #1905585
Change-Id: Id10f026c8b31cad7b7313ac9427a99b3e6744788
2020-12-09 12:37:31 +00:00
..
monitoring Return details in output of container health check 2020-10-14 11:57:56 +02:00
tests Skip Trilio dirs when setting ownership in /var/lib/nova 2020-10-23 16:55:13 +00:00
__init__.py Rename docker_config_scripts to container_config_scripts 2019-03-06 09:05:50 -05:00
nova_statedir_ownership.py fix nova_statedir_ownership 2020-11-20 16:05:21 +01:00
nova_wait_for_api_service.py Change optparse to argparse 2020-01-21 04:17:09 +00:00
nova_wait_for_compute_service.py Change optparse to argparse 2020-01-21 04:17:09 +00:00
pacemaker_mutex_restart_bundle.sh Rolling certificate update for HA services 2020-07-30 16:51:48 +02:00
pacemaker_resource_lock.sh HA: reimplement resource locks with cibadmin 2020-12-09 12:37:31 +00:00
pacemaker_restart_bundle.sh Fix pcs restart in composable HA 2020-08-19 16:21:15 +02:00
pacemaker_wait_bundle.sh HA: reorder init_bundle and restart_bundle for improved updates 2020-01-23 16:09:36 +01:00
placement_wait_for_service.py Stop to use the __future__ module. 2020-07-02 15:27:27 +00:00
pyshim.sh Fix typos 2020-09-16 15:45:12 +05:30
wait-port-and-run.sh Ensure redis_tls_proxy starts after all redis instances 2020-07-07 05:36:43 +00:00