File pacemaker-pengine-set-unfencing.patch of Package pacemaker.3577
commit 6e2897c29002084636ddb6422c61f039c23bb513
Author: Ken Gaillot <kgaillot@redhat.com>
Date: Fri Jun 3 10:56:18 2016 -0500
Fix: pengine: only set unfencing constraints once
Bit was cleared when set was intended
diff --git a/pengine/native.c b/pengine/native.c
index 2c04ea9..9662a2c 100644
--- a/pengine/native.c
+++ b/pengine/native.c
@@ -1350,7 +1350,7 @@ native_internal_constraints(resource_t * rsc, pe_working_set_t * data_set)
if(rsc != top) {
/* Only create these constraints once, rsc is almost certainly cloned */
- clear_bit_recursive(top, pe_rsc_have_unfencing);
+ set_bit_recursive(top, pe_rsc_have_unfencing);
}
g_hash_table_iter_init(&iter, rsc->allowed_nodes);