Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:1-MinimalX
pacemaker
pacemaker-crmd-dont-abandon-fencing-after-one-n...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-crmd-dont-abandon-fencing-after-one-no-devices-failure.patch of Package pacemaker
commit ff8813761d1024de2bba3d813e3e8aacc698bb54 Author: Ken Gaillot <kgaillot@redhat.com> Date: Tue Apr 4 16:44:20 2017 -0500 Fix: crmd: don't abandon fencing after one "no devices" failure diff --git a/crmd/te_callbacks.c b/crmd/te_callbacks.c index ff0a664b7..6c0670c96 100644 --- a/crmd/te_callbacks.c +++ b/crmd/te_callbacks.c @@ -633,7 +633,6 @@ process_te_message(xmlNode * msg, xmlNode * xml_data) GHashTable *stonith_failures = NULL; struct st_fail_rec { int count; - int last_rc; }; gboolean @@ -652,9 +651,6 @@ too_many_st_failures(void) if (value->count > stonith_max_attempts ) { crm_warn("Too many failures to fence %s (%d), giving up", key, value->count); return TRUE; - } else if (value->last_rc == -ENODEV) { - crm_warn("No devices found in cluster to fence %s, giving up", key); - return TRUE; } } return FALSE; @@ -671,7 +667,6 @@ st_fail_count_reset(const char *target) if (rec) { rec->count = 0; - rec->last_rc = 0; } } @@ -697,8 +692,6 @@ st_fail_count_increment(const char *target, int rc) rec->count = 1; g_hash_table_insert(stonith_failures, strdup(target), rec); } - rec->last_rc = rc; - } void
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