Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
pacemaker.4956
pacemaker-controld-wait-fencing.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-controld-wait-fencing.patch of Package pacemaker.4956
commit 4242b094cf87bf40ec4adca41f7ad89bed0dc7a3 Author: Oyvind Albrigtsen <oalbrigt@redhat.com> Date: Thu Nov 26 09:22:11 2015 +0100 Return error when DLM status is wait fencing diff --git a/extra/resources/controld b/extra/resources/controld index 1704c67..a0eb8f2 100644 --- a/extra/resources/controld +++ b/extra/resources/controld @@ -228,7 +228,14 @@ controld_monitor() { killall -0 ${OCF_RESKEY_daemon} >/dev/null 2>&1 ; rc=$? case $rc in - 0) rc=$OCF_SUCCESS;; + 0) dlm_tool ls | grep -q "wait fencing" + if [ $? -eq 0 ]; then + ocf_log err "DLM status is: wait fencing" + rc=$OCF_ERR_GENERIC + else + rc=$OCF_SUCCESS + fi + ;; 1) rc=$OCF_NOT_RUNNING;; *) rc=$OCF_ERR_GENERIC;; esac
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor