Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
pacemaker.13547
pacemaker-pengine-test-remote-connection-unreco...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pacemaker-pengine-test-remote-connection-unrecoverable.patch of Package pacemaker.13547
commit d1ce4f6394d437da3de4010b589ea54f3229de18 Author: Ken Gaillot <kgaillot@redhat.com> Date: Fri Oct 13 14:51:04 2017 -0500 Test: pengine: new regression test for unrecoverable remote connection behind failed cluster node Index: pacemaker-1.1.16+20170320.77ea74d/pengine/regression.sh =================================================================== --- pacemaker-1.1.16+20170320.77ea74d.orig/pengine/regression.sh +++ pacemaker-1.1.16+20170320.77ea74d/pengine/regression.sh @@ -850,6 +850,7 @@ do_test remote-recover-all "Fenci do_test remote-recover-no-resources "Fencing when the connection has no home and no active resources" do_test remote-recover-unknown "Fencing when the connection has no home and the remote has no operation history" do_test remote-reconnect-delay "Waiting for remote reconnect interval to expire" +do_test remote-connection-unrecoverable "Remote connection host must be fenced, with connection unrecoverable" echo "" do_test resource-discovery "Exercises resource-discovery location constraint option." Index: pacemaker-1.1.16+20170320.77ea74d/pengine/test10/remote-connection-unrecoverable.dot =================================================================== --- /dev/null +++ pacemaker-1.1.16+20170320.77ea74d/pengine/test10/remote-connection-unrecoverable.dot @@ -0,0 +1,53 @@ +digraph "g" { +"all_stopped" -> "killer_start_0 node2" [ style = bold] +"all_stopped" [ style=bold color="green" fontcolor="orange"] +"killer_monitor_60000 node2" [ style=bold color="green" fontcolor="black"] +"killer_start_0 node2" -> "killer_monitor_60000 node2" [ style = bold] +"killer_start_0 node2" [ style=bold color="green" fontcolor="black"] +"killer_stop_0 node2" -> "all_stopped" [ style = bold] +"killer_stop_0 node2" -> "killer_start_0 node2" [ style = bold] +"killer_stop_0 node2" [ style=bold color="green" fontcolor="black"] +"remote1_stop_0 node1" -> "all_stopped" [ style = bold] +"remote1_stop_0 node1" [ style=bold color="green" fontcolor="orange"] +"rsc1_delete_0 remote1" -> "rsc1_start_0 node2" [ style = dashed] +"rsc1_delete_0 remote1" [ style=dashed color="red" fontcolor="black"] +"rsc1_monitor_0 node2" -> "rsc1_start_0 node2" [ style = bold] +"rsc1_monitor_0 node2" -> "rsc1_stop_0 remote1" [ style = bold] +"rsc1_monitor_0 node2" [ style=bold color="green" fontcolor="black"] +"rsc1_monitor_10000 node2" [ style=bold color="green" fontcolor="black"] +"rsc1_start_0 node2" -> "rsc1_monitor_10000 node2" [ style = bold] +"rsc1_start_0 node2" [ style=bold color="green" fontcolor="black"] +"rsc1_stop_0 remote1" -> "all_stopped" [ style = bold] +"rsc1_stop_0 remote1" -> "remote1_stop_0 node1" [ style = bold] +"rsc1_stop_0 remote1" -> "rsc1_delete_0 remote1" [ style = dashed] +"rsc1_stop_0 remote1" -> "rsc1_start_0 node2" [ style = bold] +"rsc1_stop_0 remote1" -> "rsc2-master_demote_0" [ style = bold] +"rsc1_stop_0 remote1" [ style=bold color="green" fontcolor="orange"] +"rsc2-master_demote_0" -> "rsc2-master_demoted_0" [ style = bold] +"rsc2-master_demote_0" -> "rsc2_demote_0 node1" [ style = bold] +"rsc2-master_demote_0" [ style=bold color="green" fontcolor="orange"] +"rsc2-master_demoted_0" -> "rsc2-master_stop_0" [ style = bold] +"rsc2-master_demoted_0" [ style=bold color="green" fontcolor="orange"] +"rsc2-master_stop_0" -> "rsc2-master_stopped_0" [ style = bold] +"rsc2-master_stop_0" -> "rsc2_stop_0 node1" [ style = bold] +"rsc2-master_stop_0" [ style=bold color="green" fontcolor="orange"] +"rsc2-master_stopped_0" [ style=bold color="green" fontcolor="orange"] +"rsc2_demote_0 node1" -> "rsc2-master_demoted_0" [ style = bold] +"rsc2_demote_0 node1" -> "rsc2_stop_0 node1" [ style = bold] +"rsc2_demote_0 node1" [ style=bold color="green" fontcolor="orange"] +"rsc2_stop_0 node1" -> "all_stopped" [ style = bold] +"rsc2_stop_0 node1" -> "rsc2-master_stopped_0" [ style = bold] +"rsc2_stop_0 node1" [ style=bold color="green" fontcolor="orange"] +"stonith 'reboot' node1" -> "remote1_stop_0 node1" [ style = bold] +"stonith 'reboot' node1" -> "rsc2-master_stop_0" [ style = bold] +"stonith 'reboot' node1" -> "rsc2_demote_0 node1" [ style = bold] +"stonith 'reboot' node1" -> "rsc2_stop_0 node1" [ style = bold] +"stonith 'reboot' node1" -> "stonith 'reboot' remote1" [ style = bold] +"stonith 'reboot' node1" [ style=bold color="green" fontcolor="black"] +"stonith 'reboot' remote1" -> "rsc1_stop_0 remote1" [ style = bold] +"stonith 'reboot' remote1" -> "stonith_complete" [ style = bold] +"stonith 'reboot' remote1" [ style=bold color="green" fontcolor="black"] +"stonith_complete" -> "all_stopped" [ style = bold] +"stonith_complete" -> "rsc1_start_0 node2" [ style = bold] +"stonith_complete" [ style=bold color="green" fontcolor="orange"] +} Index: pacemaker-1.1.16+20170320.77ea74d/pengine/test10/remote-connection-unrecoverable.exp =================================================================== --- /dev/null +++ pacemaker-1.1.16+20170320.77ea74d/pengine/test10/remote-connection-unrecoverable.exp @@ -0,0 +1,263 @@ +<transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY" transition_id="0"> + <synapse id="0"> + <action_set> + <pseudo_event id="9" operation="stop" operation_key="remote1_stop_0"> + <attributes CRM_meta_timeout="20000" reconnect_interval="60"/> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="6" operation="stop" operation_key="rsc1_stop_0"/> + </trigger> + <trigger> + <crm_event id="28" operation="stonith" operation_key="stonith-node1-reboot" on_node="node1" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="1"> + <action_set> + <rsc_op id="10" operation="stop" operation_key="killer_stop_0" on_node="node2" on_node_uuid="2"> + <primitive id="killer" class="stonith" type="fence_xvm"/> + <attributes CRM_meta_on_node="node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="2"> + <action_set> + <rsc_op id="5" operation="start" operation_key="killer_start_0" on_node="node2" on_node_uuid="2"> + <primitive id="killer" class="stonith" type="fence_xvm"/> + <attributes CRM_meta_on_node="node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="4" operation="all_stopped" operation_key="all_stopped"/> + </trigger> + <trigger> + <rsc_op id="10" operation="stop" operation_key="killer_stop_0" on_node="node2" on_node_uuid="2"/> + </trigger> + </inputs> + </synapse> + <synapse id="3"> + <action_set> + <rsc_op id="2" operation="monitor" operation_key="killer_monitor_60000" on_node="node2" on_node_uuid="2"> + <primitive id="killer" class="stonith" type="fence_xvm"/> + <attributes CRM_meta_interval="60000" CRM_meta_name="monitor" CRM_meta_on_node="node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="5" operation="start" operation_key="killer_start_0" on_node="node2" on_node_uuid="2"/> + </trigger> + </inputs> + </synapse> + <synapse id="4"> + <action_set> + <rsc_op id="12" operation="monitor" operation_key="rsc1_monitor_10000" on_node="node2" on_node_uuid="2"> + <primitive id="rsc1" class="ocf" provider="pacemaker" type="Dummy"/> + <attributes CRM_meta_interval="10000" CRM_meta_name="monitor" CRM_meta_on_node="node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="11" operation="start" operation_key="rsc1_start_0" on_node="node2" on_node_uuid="2"/> + </trigger> + </inputs> + </synapse> + <synapse id="5"> + <action_set> + <rsc_op id="11" operation="start" operation_key="rsc1_start_0" on_node="node2" on_node_uuid="2"> + <primitive id="rsc1" class="ocf" provider="pacemaker" type="Dummy"/> + <attributes CRM_meta_on_node="node2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="6" operation="stop" operation_key="rsc1_stop_0"/> + </trigger> + <trigger> + <rsc_op id="8" operation="monitor" operation_key="rsc1_monitor_0" on_node="node2" on_node_uuid="2"/> + </trigger> + <trigger> + <pseudo_event id="27" operation="stonith_complete" operation_key="stonith_complete"/> + </trigger> + </inputs> + </synapse> + <synapse id="6"> + <action_set> + <rsc_op id="8" operation="monitor" operation_key="rsc1_monitor_0" on_node="node2" on_node_uuid="2"> + <primitive id="rsc1" class="ocf" provider="pacemaker" type="Dummy"/> + <attributes CRM_meta_on_node="node2" CRM_meta_on_node_uuid="2" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="7"> + <action_set> + <pseudo_event id="6" operation="stop" operation_key="rsc1_stop_0"> + <attributes CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <rsc_op id="8" operation="monitor" operation_key="rsc1_monitor_0" on_node="node2" on_node_uuid="2"/> + </trigger> + <trigger> + <crm_event id="29" operation="stonith" operation_key="stonith-remote1-reboot" on_node="remote1" on_node_uuid="remote1"/> + </trigger> + </inputs> + </synapse> + <synapse id="8"> + <action_set> + <pseudo_event id="14" operation="stop" operation_key="rsc2_stop_0" internal_operation_key="rsc2:0_stop_0"> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="13" operation="demote" operation_key="rsc2_demote_0" internal_operation_key="rsc2:0_demote_0"/> + </trigger> + <trigger> + <pseudo_event id="21" operation="stop" operation_key="rsc2-master_stop_0"/> + </trigger> + <trigger> + <crm_event id="28" operation="stonith" operation_key="stonith-node1-reboot" on_node="node1" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="9"> + <action_set> + <pseudo_event id="13" operation="demote" operation_key="rsc2_demote_0" internal_operation_key="rsc2:0_demote_0"> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="25" operation="demote" operation_key="rsc2-master_demote_0"/> + </trigger> + <trigger> + <crm_event id="28" operation="stonith" operation_key="stonith-node1-reboot" on_node="node1" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="10" priority="1000000"> + <action_set> + <pseudo_event id="26" operation="demoted" operation_key="rsc2-master_demoted_0"> + <attributes CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="13" operation="demote" operation_key="rsc2_demote_0" internal_operation_key="rsc2:0_demote_0"/> + </trigger> + <trigger> + <pseudo_event id="25" operation="demote" operation_key="rsc2-master_demote_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="11"> + <action_set> + <pseudo_event id="25" operation="demote" operation_key="rsc2-master_demote_0"> + <attributes CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="6" operation="stop" operation_key="rsc1_stop_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="12" priority="1000000"> + <action_set> + <pseudo_event id="22" operation="stopped" operation_key="rsc2-master_stopped_0"> + <attributes CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="14" operation="stop" operation_key="rsc2_stop_0" internal_operation_key="rsc2:0_stop_0"/> + </trigger> + <trigger> + <pseudo_event id="21" operation="stop" operation_key="rsc2-master_stop_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="13"> + <action_set> + <pseudo_event id="21" operation="stop" operation_key="rsc2-master_stop_0"> + <attributes CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="2" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="26" operation="demoted" operation_key="rsc2-master_demoted_0"/> + </trigger> + <trigger> + <crm_event id="28" operation="stonith" operation_key="stonith-node1-reboot" on_node="node1" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="14"> + <action_set> + <crm_event id="29" operation="stonith" operation_key="stonith-remote1-reboot" on_node="remote1" on_node_uuid="remote1"> + <attributes CRM_meta_on_node="remote1" CRM_meta_on_node_uuid="remote1" CRM_meta_probe_complete="true" CRM_meta_stonith_action="reboot" /> + <downed> + <node id="remote1"/> + </downed> + </crm_event> + </action_set> + <inputs> + <trigger> + <crm_event id="28" operation="stonith" operation_key="stonith-node1-reboot" on_node="node1" on_node_uuid="1"/> + </trigger> + </inputs> + </synapse> + <synapse id="15"> + <action_set> + <crm_event id="28" operation="stonith" operation_key="stonith-node1-reboot" on_node="node1" on_node_uuid="1"> + <attributes CRM_meta_on_node="node1" CRM_meta_on_node_uuid="1" CRM_meta_stonith_action="reboot" /> + <downed> + <node id="1"/> + </downed> + </crm_event> + </action_set> + <inputs/> + </synapse> + <synapse id="16"> + <action_set> + <pseudo_event id="27" operation="stonith_complete" operation_key="stonith_complete"> + <attributes /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <crm_event id="29" operation="stonith" operation_key="stonith-remote1-reboot" on_node="remote1" on_node_uuid="remote1"/> + </trigger> + </inputs> + </synapse> + <synapse id="17"> + <action_set> + <pseudo_event id="4" operation="all_stopped" operation_key="all_stopped"> + <attributes /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="6" operation="stop" operation_key="rsc1_stop_0"/> + </trigger> + <trigger> + <pseudo_event id="9" operation="stop" operation_key="remote1_stop_0"/> + </trigger> + <trigger> + <rsc_op id="10" operation="stop" operation_key="killer_stop_0" on_node="node2" on_node_uuid="2"/> + </trigger> + <trigger> + <pseudo_event id="14" operation="stop" operation_key="rsc2_stop_0" internal_operation_key="rsc2:0_stop_0"/> + </trigger> + <trigger> + <pseudo_event id="27" operation="stonith_complete" operation_key="stonith_complete"/> + </trigger> + </inputs> + </synapse> +</transition_graph> Index: pacemaker-1.1.16+20170320.77ea74d/pengine/test10/remote-connection-unrecoverable.scores =================================================================== --- /dev/null +++ pacemaker-1.1.16+20170320.77ea74d/pengine/test10/remote-connection-unrecoverable.scores @@ -0,0 +1,34 @@ +Allocation scores: +clone_color: rsc2-master allocation score on node1: 0 +clone_color: rsc2-master allocation score on node2: 0 +clone_color: rsc2-master allocation score on remote1: -INFINITY +clone_color: rsc2:0 allocation score on node1: 1 +clone_color: rsc2:0 allocation score on node2: 0 +clone_color: rsc2:0 allocation score on remote1: -INFINITY +clone_color: rsc2:1 allocation score on node1: 0 +clone_color: rsc2:1 allocation score on node2: 11 +clone_color: rsc2:1 allocation score on remote1: -INFINITY +clone_color: rsc2:2 allocation score on node1: 0 +clone_color: rsc2:2 allocation score on node2: 10 +clone_color: rsc2:2 allocation score on remote1: -INFINITY +native_color: killer allocation score on node1: 0 +native_color: killer allocation score on node2: 0 +native_color: killer allocation score on remote1: -INFINITY +native_color: remote1 allocation score on node1: 0 +native_color: remote1 allocation score on node2: -INFINITY +native_color: remote1 allocation score on remote1: -INFINITY +native_color: rsc1 allocation score on node1: 0 +native_color: rsc1 allocation score on node2: 0 +native_color: rsc1 allocation score on remote1: 0 +native_color: rsc2:0 allocation score on node1: -INFINITY +native_color: rsc2:0 allocation score on node2: -INFINITY +native_color: rsc2:0 allocation score on remote1: -INFINITY +native_color: rsc2:1 allocation score on node1: -INFINITY +native_color: rsc2:1 allocation score on node2: 11 +native_color: rsc2:1 allocation score on remote1: -INFINITY +native_color: rsc2:2 allocation score on node1: -INFINITY +native_color: rsc2:2 allocation score on node2: -INFINITY +native_color: rsc2:2 allocation score on remote1: -INFINITY +rsc2:0 promotion score on none: 0 +rsc2:1 promotion score on node2: 10 +rsc2:2 promotion score on none: 0 Index: pacemaker-1.1.16+20170320.77ea74d/pengine/test10/remote-connection-unrecoverable.summary =================================================================== --- /dev/null +++ pacemaker-1.1.16+20170320.77ea74d/pengine/test10/remote-connection-unrecoverable.summary @@ -0,0 +1,54 @@ + +Current cluster status: +Node node1 (1): UNCLEAN (offline) +Online: [ node2 ] +RemoteOnline: [ remote1 ] + + remote1 (ocf::pacemaker:remote): Started node1 (UNCLEAN) + killer (stonith:fence_xvm): Started node2 + rsc1 (ocf::pacemaker:Dummy): Started remote1 + Master/Slave Set: rsc2-master [rsc2] + rsc2 (ocf::pacemaker:Stateful): Master node1 (UNCLEAN) + Masters: [ node2 ] + Stopped: [ remote1 ] + +Transition Summary: + * Fence (reboot) remote1 + * Fence (reboot) node1 + * Stop remote1 (node1) + * Restart killer (Started node2) + * Move rsc1 (Started remote1 -> node2) + * Demote rsc2:0 (Master -> Stopped node1) + +Executing cluster transition: + * Resource action: killer stop on node2 + * Resource action: rsc1 monitor on node2 + * Fencing node1 (reboot) + * Fencing remote1 (reboot) + * Pseudo action: stonith_complete + * Pseudo action: rsc1_stop_0 + * Pseudo action: rsc2-master_demote_0 + * Pseudo action: remote1_stop_0 + * Resource action: rsc1 start on node2 + * Pseudo action: rsc2_demote_0 + * Pseudo action: rsc2-master_demoted_0 + * Pseudo action: rsc2-master_stop_0 + * Resource action: rsc1 monitor=10000 on node2 + * Pseudo action: rsc2_stop_0 + * Pseudo action: rsc2-master_stopped_0 + * Pseudo action: all_stopped + * Resource action: killer start on node2 + * Resource action: killer monitor=60000 on node2 + +Revised cluster status: +Online: [ node2 ] +OFFLINE: [ node1 ] +RemoteOFFLINE: [ remote1 ] + + remote1 (ocf::pacemaker:remote): Stopped + killer (stonith:fence_xvm): Started node2 + rsc1 (ocf::pacemaker:Dummy): Started node2 + Master/Slave Set: rsc2-master [rsc2] + Masters: [ node2 ] + Stopped: [ node1 remote1 ] + Index: pacemaker-1.1.16+20170320.77ea74d/pengine/test10/remote-connection-unrecoverable.xml =================================================================== --- /dev/null +++ pacemaker-1.1.16+20170320.77ea74d/pengine/test10/remote-connection-unrecoverable.xml @@ -0,0 +1,125 @@ +<cib crm_feature_set="3.0.10" validate-with="pacemaker-2.3" epoch="34" num_updates="1" admin_epoch="0" cib-last-written="Mon Apr 4 11:58:30 2016" update-origin="node1" update-client="crmd" update-user="hacluster" have-quorum="1" dc-uuid="2"> + <configuration> + <crm_config> + <cluster_property_set id="cib-bootstrap-options"> + <nvpair id="cib-bootstrap-options-have-watchdog" name="have-watchdog" value="false"/> + <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.16-1"/> + <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/> + <nvpair id="cib-bootstrap-options-cluster-name" name="cluster-name" value="mycluster"/> + <nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1459735110"/> + </cluster_property_set> + </crm_config> + <nodes> + <node id="1" uname="node1"/> + <node id="2" uname="node2"/> + <node id="remote1" type="remote" uname="remote1"/> + </nodes> + <resources> + <primitive class="ocf" id="remote1" provider="pacemaker" type="remote"> + <instance_attributes id="remote1-instance_attributes"> + <nvpair id="remote1-instance_attributes-reconnect_interval" name="reconnect_interval" value="60"/> + </instance_attributes> + <operations> + <op id="remote1-monitor-interval-20" interval="20" name="monitor"/> + </operations> + </primitive> + <primitive class="stonith" id="killer" type="fence_xvm"> + <instance_attributes id="killer-instance_attributes"/> + <operations> + <op id="killer-monitor-interval-60s" interval="60s" name="monitor"/> + </operations> + </primitive> + <primitive id="rsc1" class="ocf" provider="pacemaker" type="Dummy"> + <instance_attributes id="rsc1-instance_attributes"/> + <operations> + <op id="rsc1-monitor-interval-10" interval="10" name="monitor" timeout="20"/> + </operations> + </primitive> + <master id="rsc2-master"> + <primitive id="rsc2" class="ocf" provider="pacemaker" type="Stateful"> + <instance_attributes id="rsc2-instance_attributes"/> + <operations> + <op id="rsc2-monitor-interval-10" interval="10" name="monitor" role="Master" timeout="20"/> + <op id="rsc2-monitor-interval-11" interval="11" name="monitor" role="Slave" timeout="20"/> + </operations> + </primitive> + <meta_attributes id="rsc2-master-meta_attributes"> + <nvpair id="rsc2-master-meta_attributes-master-max" name="master-max" value="2"/> + </meta_attributes> + </master> + </resources> + <constraints> + <rsc_location id="location-rsc2-master" resource-discovery="exclusive" rsc="rsc2-master"> + <rule id="location-rsc2-master-rule" score="0"> + <expression attribute="#kind" id="location-rsc2-master-rule-expr" operation="ne" value="remote"/> + </rule> + </rsc_location> + <rsc_order first="rsc2-master" first-action="promote" id="order-rsc2-master-rsc1-mandatory" then="rsc1" then-action="start"/> + <rsc_location id="cli-ban-remote1-on-node2" rsc="remote1" role="Started" node="node2" score="-INFINITY"/> + </constraints> + </configuration> + <status> + <node_state id="1" uname="node1" in_ccm="false" crmd="offline" crm-debug-origin="do_state_transition" join="down" expected="member"> + <lrm id="1"> + <lrm_resources> + <lrm_resource id="remote1" type="remote" class="ocf" provider="pacemaker"> + <lrm_rsc_op id="remote1_last_0" operation_key="remote1_migrate_from_0" operation="migrate_from" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="16:294:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:0;16:294:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node1" call-id="2" rc-code="0" op-status="0" interval="0" last-run="1459733155" last-rc-change="1459733155" exec-time="0" queue-time="0" op-digest="a48beba1b11f09d6b1c15da8db5bb0a2" op-force-restart=" server " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" migrate_source="node2" migrate_target="node1"/> + <lrm_rsc_op id="remote1_monitor_20000" operation_key="remote1_monitor_20000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="14:294:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:0;14:294:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node1" call-id="3" rc-code="0" op-status="0" interval="20000" last-rc-change="1459733156" exec-time="0" queue-time="0" op-digest="6e5bb737f46c381d8a46fb4162afd9e0"/> + </lrm_resource> + <lrm_resource id="killer" type="fence_xvm" class="stonith"> + <lrm_rsc_op id="killer_last_0" operation_key="killer_stop_0" operation="stop" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="17:294:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:0;17:294:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node1" call-id="18" rc-code="0" op-status="0" interval="0" last-run="1459733155" last-rc-change="1459733155" exec-time="1" queue-time="0" op-digest="208febaab0d91bc529d468f4bec44d73"/> + <lrm_rsc_op id="killer_monitor_60000" operation_key="killer_monitor_60000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="17:291:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:0;17:291:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node1" call-id="13" rc-code="0" op-status="0" interval="60000" last-rc-change="1459732738" exec-time="21" queue-time="0" op-digest="26ce52d3653d32c5f235c6e0a33ea4ff"/> + </lrm_resource> + <lrm_resource id="rsc2" type="Stateful" class="ocf" provider="pacemaker"> + <lrm_rsc_op id="rsc2_last_0" operation_key="rsc2_promote_0" operation="promote" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="19:292:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:0;19:292:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node1" call-id="15" rc-code="0" op-status="0" interval="0" last-run="1459732738" last-rc-change="1459732738" exec-time="33" queue-time="1" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + <lrm_rsc_op id="rsc2_last_failure_0" operation_key="rsc2_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="10:291:7:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:0;10:291:7:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node1" call-id="14" rc-code="0" op-status="0" interval="0" last-run="1459732738" last-rc-change="1459732738" exec-time="42" queue-time="33" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + <lrm_rsc_op id="rsc2_monitor_10000" operation_key="rsc2_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="21:293:8:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:8;21:293:8:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node1" call-id="16" rc-code="8" op-status="0" interval="10000" last-rc-change="1459732738" exec-time="10" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/> + </lrm_resource> + </lrm_resources> + </lrm> + <transient_attributes id="1"> + <instance_attributes id="status-1"/> + </transient_attributes> + </node_state> + <node_state id="2" uname="node2" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member"> + <transient_attributes id="2"> + <instance_attributes id="status-2"> + <nvpair id="status-2-shutdown" name="shutdown" value="0"/> + <nvpair id="status-2-probe_complete" name="probe_complete" value="true"/> + <nvpair id="status-2-master-rsc2" name="master-rsc2" value="10"/> + </instance_attributes> + </transient_attributes> + <lrm id="2"> + <lrm_resources> + <lrm_resource id="rsc2" type="Stateful" class="ocf" provider="pacemaker"> + <lrm_rsc_op id="rsc2_last_0" operation_key="rsc2_promote_0" operation="promote" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.10" transition-key="26:42:0:cf96e433-51e7-4bff-9a69-23538ab2fbe6" transition-magic="0:0;26:42:0:cf96e433-51e7-4bff-9a69-23538ab2fbe6" on_node="node2" call-id="15" rc-code="0" op-status="0" interval="0" last-run="1459489730" last-rc-change="1459489730" exec-time="57" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + <lrm_rsc_op id="rsc2_monitor_10000" operation_key="rsc2_monitor_10000" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.10" transition-key="22:4:8:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:8;22:4:8:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node2" call-id="16" rc-code="8" op-status="0" interval="10000" last-rc-change="1459489753" exec-time="32" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/> + </lrm_resource> + <lrm_resource id="killer" type="fence_xvm" class="stonith"> + <lrm_rsc_op id="killer_last_0" operation_key="killer_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="18:294:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:0;18:294:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node2" call-id="27" rc-code="0" op-status="0" interval="0" last-run="1459733155" last-rc-change="1459733155" exec-time="22" queue-time="0" op-digest="208febaab0d91bc529d468f4bec44d73"/> + <lrm_rsc_op id="killer_monitor_60000" operation_key="killer_monitor_60000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="19:294:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:0;19:294:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node2" call-id="28" rc-code="0" op-status="0" interval="60000" last-rc-change="1459733156" exec-time="22" queue-time="0" op-digest="26ce52d3653d32c5f235c6e0a33ea4ff"/> + </lrm_resource> + <lrm_resource id="remote1" type="remote" class="ocf" provider="pacemaker"> + <lrm_rsc_op id="remote1_last_0" operation_key="remote1_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="8:299:7:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:7;8:299:7:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node2" call-id="10" rc-code="7" op-status="0" interval="0" last-run="1459735111" last-rc-change="1459735111" exec-time="0" queue-time="0" op-digest="a48beba1b11f09d6b1c15da8db5bb0a2" op-force-restart=" server " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + </lrm_resources> + </lrm> + </node_state> + <node_state remote_node="true" id="remote1" uname="remote1" crm-debug-origin="do_state_transition" node_fenced="0"> + <lrm id="remote1"> + <lrm_resources> + <lrm_resource id="rsc1" type="Dummy" class="ocf" provider="heartbeat"> + <lrm_rsc_op id="rsc1_last_failure_0" operation_key="rsc1_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="8:15:7:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:0;8:15:7:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node2" call-id="176" rc-code="0" op-status="0" interval="0" last-run="1459489996" last-rc-change="1459489996" exec-time="8" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + <lrm_rsc_op id="rsc1_last_0" operation_key="rsc1_monitor_0" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="8:15:7:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:0;8:15:7:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node2" call-id="176" rc-code="0" op-status="0" interval="0" last-run="1459489996" last-rc-change="1459489996" exec-time="8" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + <lrm_rsc_op id="rsc1_monitor_10000" operation_key="rsc1_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.10" transition-key="15:16:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" transition-magic="0:0;15:16:0:9dd31f23-ee0c-492f-83cb-026e8d9fede4" on_node="node2" call-id="178" rc-code="0" op-status="0" interval="10000" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/> + </lrm_resource> + </lrm_resources> + </lrm> + <transient_attributes id="remote1"> + <instance_attributes id="status-remote1"> + <nvpair id="status-remote1-probe_complete" name="probe_complete" value="true"/> + </instance_attributes> + </transient_attributes> + </node_state> + </status> +</cib>
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