pacemaker/bug-977201_pacemaker-controld-self-fencing.patch

22 lines
1008 B
Diff
Raw Normal View History

- Update to version 3.0.0+20250218.3d0ffefd9e: - build: Fix default pacemaker-remoted path - Update to version 3.0.0+20250210.af3642fbf6: - libcrmcluster: prevent external callers from triggering assertion when connecting to cluster (gh#ClusterLabs/pacemaker#3821) - Update to version 3.0.0+20250207.d06c888ba7: - libpacemaker: Reset scheduler object in pcmk_simulate() - libpe_status: Make cluster_status() idempotent - tools: Fix overflow in crm_simulate --repeat - libpacemaker: Handle scandir() error in pcmk__profile_dir() - libpacemaker: Fix mem leak in pcmk__profile_dir() - tools: Avoid crash in crm_simulate --profile - Update to version 3.0.0+20250205.88e9ec1325: - libcrmservices: Unref the dbus connection... (gh#ClusterLabs/pacemaker#3816) - libcrmservices: Don't leak msg if systemd_proxy is NULL. (gh#ClusterLabs/pacemaker#3816) - Update to version 3.0.0+20250203.f950b1d05d: - python: Add python value for new CRM_EX_NO_DC exit code. (gh#ClusterLabs/pacemaker#3815) - libcrmcommon: Fix memory leak in text_end_list()/curses_end_list() (gh#ClusterLabs/pacemaker#3814) - crmadmin: return error if DC is not elected #2902 #3606 (gh#ClusterLabs/pacemaker#3716) - Update to version 3.0.0+20250128.0de22e5f75: - libraries: Update version numbers in so names - Rebase: * bug-995365_pacemaker-cts-restart-systemd-journald.patch - Update to version 3.0.0+20250114.7dc494a96f: - controller: best practices for send_stonith_update() (gh#ClusterLabs/pacemaker#3796) OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=409
2025-02-24 08:21:45 +00:00
commit c199dc320b4faa01c19df68a9f2566465f5afa2c
Author: Gao,Yan <ygao@suse.com>
Date: Mon Jun 13 17:26:27 2016 +0200
Fix: controld: Prevent unwanted self-fencing if "stateful_merge_wait" state of dlm is not available
Index: pacemaker-2.0.2+20190725.4b4fea3eb/agents/ocf/controld.in
===================================================================
--- pacemaker-2.0.2+20190725.4b4fea3eb.orig/agents/ocf/controld.in
+++ pacemaker-2.0.2+20190725.4b4fea3eb/agents/ocf/controld.in
@@ -226,10 +226,6 @@ controld_monitor() {
if [ -n "$smw" ] && [ $smw -eq 1 ]; then
ocf_log err "DLM status is: stateful_merge_wait"
CM_RC=$OCF_ERR_GENERIC
- elif [ -z "$smw" ] && dlm_tool ls | grep -q "wait fencing" && \
- ! stonith_admin -H '*' --output-as xml | grep -q "extended-status=\"pending\""; then
- ocf_log err "DLM status is: wait fencing"
- CM_RC=$OCF_ERR_GENERIC
else
CM_RC=$OCF_SUCCESS
fi