File pacemaker-pengine-avoid-fence-loop-for-remote-nodes.patch of Package pacemaker.14737

commit 00fed62ed4899412f65644e6b84e49fbf89d09bb
Author: Ken Gaillot <kgaillot@redhat.com>
Date:   Wed Aug 2 19:18:25 2017 -0500

    Fix: pengine: avoid fence loop for remote nodes
    
    This leaves the original issue unaddressed, for investigation later.

Index: pacemaker-1.1.16+20170320.77ea74d/pengine/allocate.c
===================================================================
--- pacemaker-1.1.16+20170320.77ea74d.orig/pengine/allocate.c
+++ pacemaker-1.1.16+20170320.77ea74d/pengine/allocate.c
@@ -891,10 +891,13 @@ probe_resources(pe_working_set_t * data_
             continue;
 
         } else if (node->details->online == FALSE && node->details->remote_rsc) {
+            // TODO figure out why this results in fence loop
+            /*
             enum remote_connection_state state = get_remote_node_state(node);
             if(state == remote_state_failed) {
                 pe_fence_node(data_set, node, "the connection is unrecoverable");
             }
+            */
             continue;
 
         } else if(node->details->online == FALSE) {
openSUSE Build Service is sponsored by