Blame SOURCES/017-guest-fencing-tests.patch

eae27e
From a9977a2dc1135d040088b90e1ea307b3ff71c0b5 Mon Sep 17 00:00:00 2001
eae27e
From: Ken Gaillot <kgaillot@redhat.com>
eae27e
Date: Tue, 22 Mar 2016 16:43:53 -0500
eae27e
Subject: [PATCH] Test: pengine: update regression tests for guest node
eae27e
 pseudo-fencing
eae27e
eae27e
---
eae27e
 pengine/test10/bug-cl-5247.dot                     |  45 +++--
eae27e
 pengine/test10/bug-cl-5247.summary                 |  18 +-
eae27e
 pengine/test10/bug-rh-1097457.dot                  |  23 ++-
eae27e
 pengine/test10/bug-rh-1097457.exp                  |  70 ++++++--
eae27e
 pengine/test10/bug-rh-1097457.summary              |  12 +-
eae27e
 pengine/test10/guest-node-host-dies.dot            |  17 +-
eae27e
 pengine/test10/guest-node-host-dies.exp            | 190 +++++++++++++--------
eae27e
 pengine/test10/guest-node-host-dies.summary        |  48 +++---
eae27e
 pengine/test10/whitebox-fail1.dot                  |  15 +-
eae27e
 pengine/test10/whitebox-fail1.exp                  |  50 +++++-
eae27e
 pengine/test10/whitebox-fail1.summary              |  12 +-
eae27e
 pengine/test10/whitebox-fail2.dot                  |  15 +-
eae27e
 pengine/test10/whitebox-fail2.exp                  |  50 +++++-
eae27e
 pengine/test10/whitebox-fail2.summary              |  12 +-
eae27e
 pengine/test10/whitebox-imply-stop-on-fence.dot    |   9 +-
eae27e
 pengine/test10/whitebox-imply-stop-on-fence.exp    | 177 +++++++++++--------
eae27e
 .../test10/whitebox-imply-stop-on-fence.summary    |  22 +--
eae27e
 pengine/test10/whitebox-ms-ordering.dot            |  18 ++
eae27e
 pengine/test10/whitebox-ms-ordering.exp            |  76 +++++++++
eae27e
 pengine/test10/whitebox-ms-ordering.summary        |   3 +
eae27e
 pengine/test10/whitebox-unexpectedly-running.dot   |   5 +
eae27e
 pengine/test10/whitebox-unexpectedly-running.exp   |  30 ++++
eae27e
 .../test10/whitebox-unexpectedly-running.summary   |   2 +
eae27e
 24 files changed, 748 insertions(+), 292 deletions(-)
eae27e
eae27e
diff --git a/pengine/test10/bug-cl-5247.dot b/pengine/test10/bug-cl-5247.dot
eae27e
index ed728ac..0ab7893 100644
eae27e
--- a/pengine/test10/bug-cl-5247.dot
eae27e
+++ b/pengine/test10/bug-cl-5247.dot
eae27e
@@ -1,4 +1,6 @@
eae27e
 digraph "g" {
eae27e
+"all_stopped" -> "prmStonith1-2_start_0 bl460g8n4" [ style = bold]
eae27e
+"all_stopped" -> "prmStonith2-2_start_0 bl460g8n3" [ style = bold]
eae27e
 "all_stopped" [ style=bold color="green" fontcolor="orange"]
eae27e
 "grpStonith1_running_0" [ style=bold color="green" fontcolor="orange"]
eae27e
 "grpStonith1_start_0" -> "grpStonith1_running_0" [ style = bold]
eae27e
@@ -52,7 +54,7 @@ digraph "g" {
eae27e
 "msPostgresql_post_notify_demoted_0" -> "pgsql_post_notify_demoted_0 pgsr01" [ style = bold]
eae27e
 "msPostgresql_post_notify_demoted_0" [ style=bold color="green" fontcolor="orange"]
eae27e
 "msPostgresql_post_notify_stopped_0" -> "msPostgresql_confirmed-post_notify_stopped_0" [ style = bold]
eae27e
-"msPostgresql_post_notify_stopped_0" -> "pgsql_post_notify_stop_0 pgsr01" [ style = bold]
eae27e
+"msPostgresql_post_notify_stopped_0" -> "pgsql_post_notify_stonith_0 pgsr01" [ style = bold]
eae27e
 "msPostgresql_post_notify_stopped_0" [ style=bold color="green" fontcolor="orange"]
eae27e
 "msPostgresql_pre_notify_demote_0" -> "msPostgresql_confirmed-pre_notify_demote_0" [ style = bold]
eae27e
 "msPostgresql_pre_notify_demote_0" -> "pgsql_pre_notify_demote_0 pgsr01" [ style = bold]
eae27e
@@ -65,21 +67,21 @@ digraph "g" {
eae27e
 "msPostgresql_stop_0" [ style=bold color="green" fontcolor="orange"]
eae27e
 "msPostgresql_stopped_0" -> "msPostgresql_post_notify_stopped_0" [ style = bold]
eae27e
 "msPostgresql_stopped_0" [ style=bold color="green" fontcolor="orange"]
eae27e
-"pgsql_confirmed-post_notify_stop_0" -> "all_stopped" [ style = bold]
eae27e
-"pgsql_confirmed-post_notify_stop_0" -> "pgsql_monitor_9000 pgsr01" [ style = bold]
eae27e
-"pgsql_confirmed-post_notify_stop_0" [ style=bold color="green" fontcolor="orange"]
eae27e
+"pgsql_confirmed-post_notify_stonith_0" -> "all_stopped" [ style = bold]
eae27e
+"pgsql_confirmed-post_notify_stonith_0" -> "pgsql_monitor_9000 pgsr01" [ style = bold]
eae27e
+"pgsql_confirmed-post_notify_stonith_0" [ style=bold color="green" fontcolor="orange"]
eae27e
 "pgsql_demote_0 pgsr02" -> "msPostgresql_demoted_0" [ style = bold]
eae27e
 "pgsql_demote_0 pgsr02" -> "pgsql_stop_0 pgsr02" [ style = bold]
eae27e
 "pgsql_demote_0 pgsr02" [ style=bold color="green" fontcolor="orange"]
eae27e
 "pgsql_monitor_9000 pgsr01" [ style=bold color="green" fontcolor="black"]
eae27e
 "pgsql_post_notify_demoted_0 pgsr01" -> "msPostgresql_confirmed-post_notify_demoted_0" [ style = bold]
eae27e
 "pgsql_post_notify_demoted_0 pgsr01" [ style=bold color="green" fontcolor="black"]
eae27e
-"pgsql_post_notify_stop_0 pgsr01" -> "msPostgresql_confirmed-post_notify_stopped_0" [ style = bold]
eae27e
-"pgsql_post_notify_stop_0 pgsr01" -> "pgsql_confirmed-post_notify_stop_0" [ style = bold]
eae27e
-"pgsql_post_notify_stop_0 pgsr01" [ style=bold color="green" fontcolor="black"]
eae27e
-"pgsql_post_notify_stop_0" -> "pgsql_confirmed-post_notify_stop_0" [ style = bold]
eae27e
-"pgsql_post_notify_stop_0" -> "pgsql_post_notify_stop_0 pgsr01" [ style = bold]
eae27e
-"pgsql_post_notify_stop_0" [ style=bold color="green" fontcolor="orange"]
eae27e
+"pgsql_post_notify_stonith_0 pgsr01" -> "msPostgresql_confirmed-post_notify_stopped_0" [ style = bold]
eae27e
+"pgsql_post_notify_stonith_0 pgsr01" -> "pgsql_confirmed-post_notify_stonith_0" [ style = bold]
eae27e
+"pgsql_post_notify_stonith_0 pgsr01" [ style=bold color="green" fontcolor="black"]
eae27e
+"pgsql_post_notify_stonith_0" -> "pgsql_confirmed-post_notify_stonith_0" [ style = bold]
eae27e
+"pgsql_post_notify_stonith_0" -> "pgsql_post_notify_stonith_0 pgsr01" [ style = bold]
eae27e
+"pgsql_post_notify_stonith_0" [ style=bold color="green" fontcolor="orange"]
eae27e
 "pgsql_pre_notify_demote_0 pgsr01" -> "msPostgresql_confirmed-pre_notify_demote_0" [ style = bold]
eae27e
 "pgsql_pre_notify_demote_0 pgsr01" [ style=bold color="green" fontcolor="black"]
eae27e
 "pgsql_pre_notify_stop_0 pgsr01" -> "msPostgresql_confirmed-pre_notify_stop_0" [ style = bold]
eae27e
@@ -91,13 +93,7 @@ digraph "g" {
eae27e
 "pgsr02_stop_0 bl460g8n4" -> "prmDB2_stop_0 bl460g8n4" [ style = bold]
eae27e
 "pgsr02_stop_0 bl460g8n4" [ style=bold color="green" fontcolor="black"]
eae27e
 "prmDB2_stop_0 bl460g8n4" -> "all_stopped" [ style = bold]
eae27e
-"prmDB2_stop_0 bl460g8n4" -> "master-group_stop_0" [ style = bold]
eae27e
-"prmDB2_stop_0 bl460g8n4" -> "msPostgresql_stop_0" [ style = bold]
eae27e
-"prmDB2_stop_0 bl460g8n4" -> "pgsql_demote_0 pgsr02" [ style = bold]
eae27e
-"prmDB2_stop_0 bl460g8n4" -> "pgsql_post_notify_stop_0" [ style = bold]
eae27e
-"prmDB2_stop_0 bl460g8n4" -> "pgsql_stop_0 pgsr02" [ style = bold]
eae27e
-"prmDB2_stop_0 bl460g8n4" -> "vip-master_stop_0 pgsr02" [ style = bold]
eae27e
-"prmDB2_stop_0 bl460g8n4" -> "vip-rep_stop_0 pgsr02" [ style = bold]
eae27e
+"prmDB2_stop_0 bl460g8n4" -> "stonith 'off' pgsr02" [ style = bold]
eae27e
 "prmDB2_stop_0 bl460g8n4" [ style=bold color="green" fontcolor="black"]
eae27e
 "prmStonith1-2_monitor_3600000 bl460g8n4" [ style=bold color="green" fontcolor="black"]
eae27e
 "prmStonith1-2_start_0 bl460g8n4" -> "grpStonith1_running_0" [ style = bold]
eae27e
@@ -106,7 +102,7 @@ digraph "g" {
eae27e
 "prmStonith1-2_stop_0 bl460g8n4" -> "all_stopped" [ style = bold]
eae27e
 "prmStonith1-2_stop_0 bl460g8n4" -> "grpStonith1_stopped_0" [ style = bold]
eae27e
 "prmStonith1-2_stop_0 bl460g8n4" -> "prmStonith1-2_start_0 bl460g8n4" [ style = bold]
eae27e
-"prmStonith1-2_stop_0 bl460g8n4" [ style=bold color="green" fontcolor="orange"]
eae27e
+"prmStonith1-2_stop_0 bl460g8n4" [ style=bold color="green" fontcolor="black"]
eae27e
 "prmStonith2-2_monitor_3600000 bl460g8n3" [ style=bold color="green" fontcolor="black"]
eae27e
 "prmStonith2-2_start_0 bl460g8n3" -> "grpStonith2_running_0" [ style = bold]
eae27e
 "prmStonith2-2_start_0 bl460g8n3" -> "prmStonith2-2_monitor_3600000 bl460g8n3" [ style = bold]
eae27e
@@ -115,6 +111,19 @@ digraph "g" {
eae27e
 "prmStonith2-2_stop_0 bl460g8n3" -> "grpStonith2_stopped_0" [ style = bold]
eae27e
 "prmStonith2-2_stop_0 bl460g8n3" -> "prmStonith2-2_start_0 bl460g8n3" [ style = bold]
eae27e
 "prmStonith2-2_stop_0 bl460g8n3" [ style=bold color="green" fontcolor="black"]
eae27e
+"stonith 'off' pgsr02" -> "master-group_stop_0" [ style = bold]
eae27e
+"stonith 'off' pgsr02" -> "msPostgresql_stop_0" [ style = bold]
eae27e
+"stonith 'off' pgsr02" -> "pgsql_demote_0 pgsr02" [ style = bold]
eae27e
+"stonith 'off' pgsr02" -> "pgsql_post_notify_stonith_0" [ style = bold]
eae27e
+"stonith 'off' pgsr02" -> "pgsql_stop_0 pgsr02" [ style = bold]
eae27e
+"stonith 'off' pgsr02" -> "stonith_complete" [ style = bold]
eae27e
+"stonith 'off' pgsr02" -> "vip-master_stop_0 pgsr02" [ style = bold]
eae27e
+"stonith 'off' pgsr02" -> "vip-rep_stop_0 pgsr02" [ style = bold]
eae27e
+"stonith 'off' pgsr02" [ style=bold color="green" fontcolor="orange"]
eae27e
+"stonith_complete" -> "all_stopped" [ style = bold]
eae27e
+"stonith_complete" -> "vip-master_start_0 pgsr01" [ style = bold]
eae27e
+"stonith_complete" -> "vip-rep_start_0 pgsr01" [ style = bold]
eae27e
+"stonith_complete" [ style=bold color="green" fontcolor="orange"]
eae27e
 "vip-master_monitor_10000 pgsr01" [ style=bold color="green" fontcolor="black"]
eae27e
 "vip-master_start_0 pgsr01" -> "master-group_running_0" [ style = bold]
eae27e
 "vip-master_start_0 pgsr01" -> "vip-master_monitor_10000 pgsr01" [ style = bold]
eae27e
diff --git a/pengine/test10/bug-cl-5247.summary b/pengine/test10/bug-cl-5247.summary
eae27e
index 5564286..09dc301 100644
eae27e
--- a/pengine/test10/bug-cl-5247.summary
eae27e
+++ b/pengine/test10/bug-cl-5247.summary
eae27e
@@ -28,7 +28,7 @@ Transition Summary:
eae27e
 
eae27e
 Executing cluster transition:
eae27e
  * Pseudo action:   grpStonith1_stop_0
eae27e
- * Pseudo action:   prmStonith1-2_stop_0
eae27e
+ * Resource action: prmStonith1-2   stop on bl460g8n4
eae27e
  * Pseudo action:   grpStonith2_stop_0
eae27e
  * Resource action: prmStonith2-2   stop on bl460g8n3
eae27e
  * Pseudo action:   msPostgresql_pre_notify_demote_0
eae27e
@@ -36,18 +36,14 @@ Executing cluster transition:
eae27e
  * Resource action: prmDB2          stop on bl460g8n4
eae27e
  * Pseudo action:   grpStonith1_stopped_0
eae27e
  * Pseudo action:   grpStonith1_start_0
eae27e
- * Resource action: prmStonith1-2   start on bl460g8n4
eae27e
- * Resource action: prmStonith1-2   monitor=3600000 on bl460g8n4
eae27e
  * Pseudo action:   grpStonith2_stopped_0
eae27e
  * Pseudo action:   grpStonith2_start_0
eae27e
- * Resource action: prmStonith2-2   start on bl460g8n3
eae27e
- * Resource action: prmStonith2-2   monitor=3600000 on bl460g8n3
eae27e
- * Pseudo action:   pgsql_post_notify_stop_0
eae27e
  * Resource action: pgsql           notify on pgsr01
eae27e
  * Pseudo action:   msPostgresql_confirmed-pre_notify_demote_0
eae27e
  * Pseudo action:   msPostgresql_demote_0
eae27e
- * Pseudo action:   grpStonith1_running_0
eae27e
- * Pseudo action:   grpStonith2_running_0
eae27e
+ * Pseudo action:   stonith-pgsr02-off on pgsr02
eae27e
+ * Pseudo action:   stonith_complete
eae27e
+ * Pseudo action:   pgsql_post_notify_stop_0
eae27e
  * Pseudo action:   pgsql_demote_0
eae27e
  * Pseudo action:   msPostgresql_demoted_0
eae27e
  * Pseudo action:   msPostgresql_post_notify_demoted_0
eae27e
@@ -75,6 +71,12 @@ Executing cluster transition:
eae27e
  * Pseudo action:   pgsql_notified_0
eae27e
  * Resource action: pgsql           monitor=9000 on pgsr01
eae27e
  * Pseudo action:   all_stopped
eae27e
+ * Resource action: prmStonith1-2   start on bl460g8n4
eae27e
+ * Resource action: prmStonith1-2   monitor=3600000 on bl460g8n4
eae27e
+ * Resource action: prmStonith2-2   start on bl460g8n3
eae27e
+ * Resource action: prmStonith2-2   monitor=3600000 on bl460g8n3
eae27e
+ * Pseudo action:   grpStonith1_running_0
eae27e
+ * Pseudo action:   grpStonith2_running_0
eae27e
 Using the original execution date of: 2015-08-12 02:53:40Z
eae27e
 
eae27e
 Revised cluster status:
eae27e
diff --git a/pengine/test10/bug-rh-1097457.dot b/pengine/test10/bug-rh-1097457.dot
eae27e
index 078d177..ece2834 100644
eae27e
--- a/pengine/test10/bug-rh-1097457.dot
eae27e
+++ b/pengine/test10/bug-rh-1097457.dot
eae27e
@@ -47,14 +47,9 @@ digraph "g" {
eae27e
 "VM2_start_0 lama3" -> "VM2_monitor_10000 lama3" [ style = bold]
eae27e
 "VM2_start_0 lama3" -> "lamaVM2_start_0 lama3" [ style = bold]
eae27e
 "VM2_start_0 lama3" [ style=bold color="green" fontcolor="black"]
eae27e
-"VM2_stop_0 lama3" -> "FAKE4-IP_stop_0 lamaVM2" [ style = bold]
eae27e
-"VM2_stop_0 lama3" -> "FAKE4_stop_0 lamaVM2" [ style = bold]
eae27e
-"VM2_stop_0 lama3" -> "FAKE6-clone_stop_0" [ style = bold]
eae27e
-"VM2_stop_0 lama3" -> "FAKE6_stop_0 lamaVM2" [ style = bold]
eae27e
-"VM2_stop_0 lama3" -> "FSlun3_stop_0 lamaVM2" [ style = bold]
eae27e
 "VM2_stop_0 lama3" -> "VM2_start_0 lama3" [ style = bold]
eae27e
 "VM2_stop_0 lama3" -> "all_stopped" [ style = bold]
eae27e
-"VM2_stop_0 lama3" -> "lamaVM2-G4_stop_0" [ style = bold]
eae27e
+"VM2_stop_0 lama3" -> "stonith 'reboot' lamaVM2" [ style = bold]
eae27e
 "VM2_stop_0 lama3" [ style=bold color="green" fontcolor="black"]
eae27e
 "all_stopped" [ style=bold color="green" fontcolor="orange"]
eae27e
 "lamaVM2-G4_running_0" [ style=bold color="green" fontcolor="orange"]
eae27e
@@ -83,4 +78,20 @@ digraph "g" {
eae27e
 "lamaVM2_stop_0 lama3" -> "all_stopped" [ style = bold]
eae27e
 "lamaVM2_stop_0 lama3" -> "lamaVM2_start_0 lama3" [ style = bold]
eae27e
 "lamaVM2_stop_0 lama3" [ style=bold color="green" fontcolor="black"]
eae27e
+"stonith 'reboot' lamaVM2" -> "FAKE4-IP_stop_0 lamaVM2" [ style = bold]
eae27e
+"stonith 'reboot' lamaVM2" -> "FAKE4_stop_0 lamaVM2" [ style = bold]
eae27e
+"stonith 'reboot' lamaVM2" -> "FAKE6-clone_stop_0" [ style = bold]
eae27e
+"stonith 'reboot' lamaVM2" -> "FAKE6_stop_0 lamaVM2" [ style = bold]
eae27e
+"stonith 'reboot' lamaVM2" -> "FSlun3_stop_0 lamaVM2" [ style = bold]
eae27e
+"stonith 'reboot' lamaVM2" -> "lamaVM2-G4_stop_0" [ style = bold]
eae27e
+"stonith 'reboot' lamaVM2" -> "stonith_complete" [ style = bold]
eae27e
+"stonith 'reboot' lamaVM2" [ style=bold color="green" fontcolor="orange"]
eae27e
+"stonith_complete" -> "FAKE4-IP_start_0 lamaVM2" [ style = bold]
eae27e
+"stonith_complete" -> "FAKE4_start_0 lamaVM2" [ style = bold]
eae27e
+"stonith_complete" -> "FAKE6_start_0 lamaVM2" [ style = bold]
eae27e
+"stonith_complete" -> "FSlun3_start_0 lama2" [ style = bold]
eae27e
+"stonith_complete" -> "VM2_start_0 lama3" [ style = bold]
eae27e
+"stonith_complete" -> "all_stopped" [ style = bold]
eae27e
+"stonith_complete" -> "lamaVM2_start_0 lama3" [ style = bold]
eae27e
+"stonith_complete" [ style=bold color="green" fontcolor="orange"]
eae27e
 }
eae27e
diff --git a/pengine/test10/bug-rh-1097457.exp b/pengine/test10/bug-rh-1097457.exp
eae27e
index 94a4e8d..0c3430c 100644
eae27e
--- a/pengine/test10/bug-rh-1097457.exp
eae27e
+++ b/pengine/test10/bug-rh-1097457.exp
eae27e
@@ -10,6 +10,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="36" operation="stop" operation_key="VM2_stop_0" on_node="lama3" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="95" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="1">
eae27e
@@ -65,6 +68,9 @@
eae27e
       <trigger>
eae27e
         <pseudo_event id="40" operation="stop" operation_key="FSlun3_stop_0"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="95" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="5">
eae27e
@@ -75,10 +81,10 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="36" operation="stop" operation_key="VM2_stop_0" on_node="lama3" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="78" operation="stopped" operation_key="lamaVM2-G4_stopped_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="78" operation="stopped" operation_key="lamaVM2-G4_stopped_0"/>
eae27e
+        <pseudo_event id="96" operation="stonith" operation_key="stonith-lamaVM2-reboot" on_node="lamaVM2" on_node_uuid="lamaVM2"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -121,7 +127,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="36" operation="stop" operation_key="VM2_stop_0" on_node="lama3" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="96" operation="stonith" operation_key="stonith-lamaVM2-reboot" on_node="lamaVM2" on_node_uuid="lamaVM2"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -175,6 +181,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="92" operation="start" operation_key="lamaVM2_start_0" on_node="lama3" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="95" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="12">
eae27e
@@ -185,14 +194,14 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="36" operation="stop" operation_key="VM2_stop_0" on_node="lama3" on_node_uuid="2"/>
eae27e
-      </trigger>
eae27e
-      <trigger>
eae27e
         <pseudo_event id="73" operation="stop" operation_key="FAKE4-IP_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="77" operation="stop" operation_key="lamaVM2-G4_stop_0"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="96" operation="stonith" operation_key="stonith-lamaVM2-reboot" on_node="lamaVM2" on_node_uuid="lamaVM2"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="13">
eae27e
@@ -231,6 +240,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="92" operation="start" operation_key="lamaVM2_start_0" on_node="lama3" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="95" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="15">
eae27e
@@ -241,10 +253,10 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="36" operation="stop" operation_key="VM2_stop_0" on_node="lama3" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="77" operation="stop" operation_key="lamaVM2-G4_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="77" operation="stop" operation_key="lamaVM2-G4_stop_0"/>
eae27e
+        <pseudo_event id="96" operation="stonith" operation_key="stonith-lamaVM2-reboot" on_node="lamaVM2" on_node_uuid="lamaVM2"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -281,6 +293,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="92" operation="start" operation_key="lamaVM2_start_0" on_node="lama3" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="95" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="18">
eae27e
@@ -291,10 +306,10 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="36" operation="stop" operation_key="VM2_stop_0" on_node="lama3" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="87" operation="stop" operation_key="FAKE6-clone_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="87" operation="stop" operation_key="FAKE6-clone_stop_0"/>
eae27e
+        <pseudo_event id="96" operation="stonith" operation_key="stonith-lamaVM2-reboot" on_node="lamaVM2" on_node_uuid="lamaVM2"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -337,7 +352,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="36" operation="stop" operation_key="VM2_stop_0" on_node="lama3" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="96" operation="stonith" operation_key="stonith-lamaVM2-reboot" on_node="lamaVM2" on_node_uuid="lamaVM2"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -382,6 +397,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="91" operation="stop" operation_key="lamaVM2_stop_0" on_node="lama3" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="95" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="25">
eae27e
@@ -411,6 +429,33 @@
eae27e
   </synapse>
eae27e
   <synapse id="27">
eae27e
     <action_set>
eae27e
+      <pseudo_event id="96" operation="stonith" operation_key="stonith-lamaVM2-reboot" on_node="lamaVM2" on_node_uuid="lamaVM2">
eae27e
+        <attributes CRM_meta_fail_count_FSlun3="1" CRM_meta_last_failure_FSlun3="1399961984" CRM_meta_on_node="lamaVM2" CRM_meta_on_node_uuid="lamaVM2" CRM_meta_stonith_action="reboot" />
eae27e
+        <downed>
eae27e
+          <node id="lamaVM2"/>
eae27e
+        </downed>
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <rsc_op id="36" operation="stop" operation_key="VM2_stop_0" on_node="lama3" on_node_uuid="2"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="28">
eae27e
+    <action_set>
eae27e
+      <pseudo_event id="95" operation="stonith_complete" operation_key="stonith_complete">
eae27e
+        <attributes />
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="96" operation="stonith" operation_key="stonith-lamaVM2-reboot" on_node="lamaVM2" on_node_uuid="lamaVM2"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="29">
eae27e
+    <action_set>
eae27e
       <pseudo_event id="25" operation="all_stopped" operation_key="all_stopped">
eae27e
         <attributes />
eae27e
       </pseudo_event>
eae27e
@@ -434,6 +479,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="91" operation="stop" operation_key="lamaVM2_stop_0" on_node="lama3" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="95" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
 </transition_graph>
eae27e
diff --git a/pengine/test10/bug-rh-1097457.summary b/pengine/test10/bug-rh-1097457.summary
eae27e
index d78d951..f8d2c14 100644
eae27e
--- a/pengine/test10/bug-rh-1097457.summary
eae27e
+++ b/pengine/test10/bug-rh-1097457.summary
eae27e
@@ -42,18 +42,20 @@ Transition Summary:
eae27e
 Executing cluster transition:
eae27e
  * Resource action: lamaVM2         stop on lama3
eae27e
  * Resource action: VM2             stop on lama3
eae27e
+ * Pseudo action:   stonith-lamaVM2-reboot on lamaVM2
eae27e
+ * Pseudo action:   stonith_complete
eae27e
+ * Resource action: VM2             start on lama3
eae27e
+ * Resource action: VM2             monitor=10000 on lama3
eae27e
  * Pseudo action:   lamaVM2-G4_stop_0
eae27e
  * Pseudo action:   FAKE4-IP_stop_0
eae27e
  * Pseudo action:   FAKE6-clone_stop_0
eae27e
- * Resource action: VM2             start on lama3
eae27e
- * Resource action: VM2             monitor=10000 on lama3
eae27e
+ * Resource action: lamaVM2         start on lama3
eae27e
+ * Resource action: lamaVM2         monitor=30000 on lama3
eae27e
+ * Resource action: FSlun3          monitor=10000 on lamaVM2
eae27e
  * Pseudo action:   FAKE4_stop_0
eae27e
  * Pseudo action:   FAKE6_stop_0
eae27e
  * Pseudo action:   FAKE6-clone_stopped_0
eae27e
  * Pseudo action:   FAKE6-clone_start_0
eae27e
- * Resource action: lamaVM2         start on lama3
eae27e
- * Resource action: lamaVM2         monitor=30000 on lama3
eae27e
- * Resource action: FSlun3          monitor=10000 on lamaVM2
eae27e
  * Pseudo action:   lamaVM2-G4_stopped_0
eae27e
  * Resource action: FAKE6           start on lamaVM2
eae27e
  * Resource action: FAKE6           monitor=30000 on lamaVM2
eae27e
diff --git a/pengine/test10/guest-node-host-dies.dot b/pengine/test10/guest-node-host-dies.dot
eae27e
index 01858b3..c1ced94 100644
eae27e
--- a/pengine/test10/guest-node-host-dies.dot
eae27e
+++ b/pengine/test10/guest-node-host-dies.dot
eae27e
@@ -5,16 +5,19 @@ digraph "g" {
eae27e
 "Fencing_stop_0 rhel7-4" -> "Fencing_start_0 rhel7-4" [ style = bold]
eae27e
 "Fencing_stop_0 rhel7-4" -> "all_stopped" [ style = bold]
eae27e
 "Fencing_stop_0 rhel7-4" [ style=bold color="green" fontcolor="black"]
eae27e
+"all_stopped" -> "Fencing_start_0 rhel7-4" [ style = bold]
eae27e
 "all_stopped" [ style=bold color="green" fontcolor="orange"]
eae27e
 "container1_start_0 rhel7-2" -> "lxc1_start_0 rhel7-2" [ style = bold]
eae27e
 "container1_start_0 rhel7-2" [ style=bold color="green" fontcolor="black"]
eae27e
 "container1_stop_0 rhel7-1" -> "all_stopped" [ style = bold]
eae27e
 "container1_stop_0 rhel7-1" -> "container1_start_0 rhel7-2" [ style = bold]
eae27e
+"container1_stop_0 rhel7-1" -> "stonith 'reboot' lxc1" [ style = bold]
eae27e
 "container1_stop_0 rhel7-1" [ style=bold color="green" fontcolor="orange"]
eae27e
 "container2_start_0 rhel7-3" -> "lxc2_start_0 rhel7-3" [ style = bold]
eae27e
 "container2_start_0 rhel7-3" [ style=bold color="green" fontcolor="black"]
eae27e
 "container2_stop_0 rhel7-1" -> "all_stopped" [ style = bold]
eae27e
 "container2_stop_0 rhel7-1" -> "container2_start_0 rhel7-3" [ style = bold]
eae27e
+"container2_stop_0 rhel7-1" -> "stonith 'reboot' lxc2" [ style = bold]
eae27e
 "container2_stop_0 rhel7-1" [ style=bold color="green" fontcolor="orange"]
eae27e
 "lxc-ms-master_demote_0" -> "lxc-ms-master_demoted_0" [ style = bold]
eae27e
 "lxc-ms-master_demote_0" -> "lxc-ms_demote_0 lxc1" [ style = bold]
eae27e
@@ -42,7 +45,7 @@ digraph "g" {
eae27e
 "lxc-ms_demote_0 lxc1" -> "lxc-ms-master_demoted_0" [ style = bold]
eae27e
 "lxc-ms_demote_0 lxc1" -> "lxc-ms_promote_0 lxc1" [ style = bold]
eae27e
 "lxc-ms_demote_0 lxc1" -> "lxc-ms_stop_0 lxc1" [ style = bold]
eae27e
-"lxc-ms_demote_0 lxc1" [ style=bold color="green" fontcolor="black"]
eae27e
+"lxc-ms_demote_0 lxc1" [ style=bold color="green" fontcolor="orange"]
eae27e
 "lxc-ms_monitor_10000 lxc2" [ style=bold color="green" fontcolor="black"]
eae27e
 "lxc-ms_promote_0 lxc1" -> "lxc-ms-master_promoted_0" [ style = bold]
eae27e
 "lxc-ms_promote_0 lxc1" [ style=bold color="green" fontcolor="black"]
eae27e
@@ -84,11 +87,17 @@ digraph "g" {
eae27e
 "rsc_rhel7-1_stop_0 rhel7-1" -> "all_stopped" [ style = bold]
eae27e
 "rsc_rhel7-1_stop_0 rhel7-1" -> "rsc_rhel7-1_start_0 rhel7-5" [ style = bold]
eae27e
 "rsc_rhel7-1_stop_0 rhel7-1" [ style=bold color="green" fontcolor="orange"]
eae27e
+"stonith 'reboot' lxc1" -> "lxc-ms-master_stop_0" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "lxc-ms_demote_0 lxc1" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "lxc-ms_stop_0 lxc1" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "stonith_complete" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" [ style=bold color="green" fontcolor="orange"]
eae27e
+"stonith 'reboot' lxc2" -> "lxc-ms-master_stop_0" [ style = bold]
eae27e
+"stonith 'reboot' lxc2" -> "lxc-ms_stop_0 lxc2" [ style = bold]
eae27e
+"stonith 'reboot' lxc2" -> "stonith_complete" [ style = bold]
eae27e
+"stonith 'reboot' lxc2" [ style=bold color="green" fontcolor="orange"]
eae27e
 "stonith 'reboot' rhel7-1" -> "container1_stop_0 rhel7-1" [ style = bold]
eae27e
 "stonith 'reboot' rhel7-1" -> "container2_stop_0 rhel7-1" [ style = bold]
eae27e
-"stonith 'reboot' rhel7-1" -> "lxc-ms-master_stop_0" [ style = bold]
eae27e
-"stonith 'reboot' rhel7-1" -> "lxc-ms_stop_0 lxc1" [ style = bold]
eae27e
-"stonith 'reboot' rhel7-1" -> "lxc-ms_stop_0 lxc2" [ style = bold]
eae27e
 "stonith 'reboot' rhel7-1" -> "lxc1_stop_0 rhel7-1" [ style = bold]
eae27e
 "stonith 'reboot' rhel7-1" -> "lxc2_stop_0 rhel7-1" [ style = bold]
eae27e
 "stonith 'reboot' rhel7-1" -> "rsc_rhel7-1_stop_0 rhel7-1" [ style = bold]
eae27e
diff --git a/pengine/test10/guest-node-host-dies.exp b/pengine/test10/guest-node-host-dies.exp
eae27e
index b3c24be..6bd7a60 100644
eae27e
--- a/pengine/test10/guest-node-host-dies.exp
eae27e
+++ b/pengine/test10/guest-node-host-dies.exp
eae27e
@@ -1,7 +1,7 @@
eae27e
 <transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY"  transition_id="0">
eae27e
   <synapse id="0">
eae27e
     <action_set>
eae27e
-      <rsc_op id="5" operation="stop" operation_key="Fencing_stop_0" on_node="rhel7-4" on_node_uuid="5">
eae27e
+      <rsc_op id="4" operation="stop" operation_key="Fencing_stop_0" on_node="rhel7-4" on_node_uuid="5">
eae27e
         <primitive id="Fencing" class="stonith" type="fence_xvm"/>
eae27e
         <attributes CRM_meta_name="stop" CRM_meta_timeout="60000"  delay="0" multicast_address="239.255.100.100" pcmk_arg_map="domain:uname" pcmk_host_list="rhel7-1 rhel7-2 rhel7-3 rhel7-4 rhel7-5"/>
eae27e
       </rsc_op>
eae27e
@@ -10,14 +10,17 @@
eae27e
   </synapse>
eae27e
   <synapse id="1">
eae27e
     <action_set>
eae27e
-      <rsc_op id="4" operation="start" operation_key="Fencing_start_0" on_node="rhel7-4" on_node_uuid="5">
eae27e
+      <rsc_op id="3" operation="start" operation_key="Fencing_start_0" on_node="rhel7-4" on_node_uuid="5">
eae27e
         <primitive id="Fencing" class="stonith" type="fence_xvm"/>
eae27e
         <attributes CRM_meta_name="start" CRM_meta_timeout="60000"  delay="0" multicast_address="239.255.100.100" pcmk_arg_map="domain:uname" pcmk_host_list="rhel7-1 rhel7-2 rhel7-3 rhel7-4 rhel7-5"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="5" operation="stop" operation_key="Fencing_stop_0" on_node="rhel7-4" on_node_uuid="5"/>
eae27e
+        <pseudo_event id="2" operation="all_stopped" operation_key="all_stopped"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <rsc_op id="4" operation="stop" operation_key="Fencing_stop_0" on_node="rhel7-4" on_node_uuid="5"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -30,33 +33,33 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="4" operation="start" operation_key="Fencing_start_0" on_node="rhel7-4" on_node_uuid="5"/>
eae27e
+        <rsc_op id="3" operation="start" operation_key="Fencing_start_0" on_node="rhel7-4" on_node_uuid="5"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="3">
eae27e
     <action_set>
eae27e
-      <rsc_op id="8" operation="monitor" operation_key="rsc_rhel7-1_monitor_5000" on_node="rhel7-5" on_node_uuid="3">
eae27e
+      <rsc_op id="7" operation="monitor" operation_key="rsc_rhel7-1_monitor_5000" on_node="rhel7-5" on_node_uuid="3">
eae27e
         <primitive id="rsc_rhel7-1" class="ocf" provider="heartbeat" type="IPaddr2"/>
eae27e
         <attributes CRM_meta_interval="5000" CRM_meta_name="monitor" CRM_meta_timeout="20000" cidr_netmask="32"  ip="192.168.122.202"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="7" operation="start" operation_key="rsc_rhel7-1_start_0" on_node="rhel7-5" on_node_uuid="3"/>
eae27e
+        <rsc_op id="6" operation="start" operation_key="rsc_rhel7-1_start_0" on_node="rhel7-5" on_node_uuid="3"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="4">
eae27e
     <action_set>
eae27e
-      <rsc_op id="7" operation="start" operation_key="rsc_rhel7-1_start_0" on_node="rhel7-5" on_node_uuid="3">
eae27e
+      <rsc_op id="6" operation="start" operation_key="rsc_rhel7-1_start_0" on_node="rhel7-5" on_node_uuid="3">
eae27e
         <primitive id="rsc_rhel7-1" class="ocf" provider="heartbeat" type="IPaddr2"/>
eae27e
         <attributes CRM_meta_timeout="20000" cidr_netmask="32"  ip="192.168.122.202"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="6" operation="stop" operation_key="rsc_rhel7-1_stop_0"/>
eae27e
+        <pseudo_event id="5" operation="stop" operation_key="rsc_rhel7-1_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="33" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
@@ -65,26 +68,26 @@
eae27e
   </synapse>
eae27e
   <synapse id="5">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="6" operation="stop" operation_key="rsc_rhel7-1_stop_0">
eae27e
+      <pseudo_event id="5" operation="stop" operation_key="rsc_rhel7-1_stop_0">
eae27e
         <attributes CRM_meta_timeout="20000" cidr_netmask="32"  ip="192.168.122.202"/>
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <crm_event id="34" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
+        <crm_event id="36" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="6">
eae27e
     <action_set>
eae27e
-      <rsc_op id="10" operation="start" operation_key="container1_start_0" on_node="rhel7-2" on_node_uuid="2">
eae27e
+      <rsc_op id="9" operation="start" operation_key="container1_start_0" on_node="rhel7-2" on_node_uuid="2">
eae27e
         <primitive id="container1" class="ocf" provider="heartbeat" type="VirtualDomain"/>
eae27e
         <attributes CRM_meta_remote_node="lxc1" CRM_meta_timeout="20000" config="/var/lib/pacemaker/cts/lxc/lxc1.xml"  force_stop="true" hypervisor="lxc:///"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="9" operation="stop" operation_key="container1_stop_0"/>
eae27e
+        <pseudo_event id="8" operation="stop" operation_key="container1_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="33" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
@@ -93,7 +96,7 @@
eae27e
   </synapse>
eae27e
   <synapse id="7">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="9" operation="stop" operation_key="container1_stop_0">
eae27e
+      <pseudo_event id="8" operation="stop" operation_key="container1_stop_0">
eae27e
         <attributes CRM_meta_remote_node="lxc1" CRM_meta_timeout="20000" config="/var/lib/pacemaker/cts/lxc/lxc1.xml"  force_stop="true" hypervisor="lxc:///"/>
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
@@ -102,20 +105,20 @@
eae27e
         <pseudo_event id="27" operation="stop" operation_key="lxc1_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <crm_event id="34" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
+        <crm_event id="36" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="8">
eae27e
     <action_set>
eae27e
-      <rsc_op id="12" operation="start" operation_key="container2_start_0" on_node="rhel7-3" on_node_uuid="4">
eae27e
+      <rsc_op id="11" operation="start" operation_key="container2_start_0" on_node="rhel7-3" on_node_uuid="4">
eae27e
         <primitive id="container2" class="ocf" provider="heartbeat" type="VirtualDomain"/>
eae27e
         <attributes CRM_meta_remote_node="lxc2" CRM_meta_timeout="20000" config="/var/lib/pacemaker/cts/lxc/lxc2.xml"  force_stop="true" hypervisor="lxc:///"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="11" operation="stop" operation_key="container2_stop_0"/>
eae27e
+        <pseudo_event id="10" operation="stop" operation_key="container2_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="33" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
@@ -124,7 +127,7 @@
eae27e
   </synapse>
eae27e
   <synapse id="9">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="11" operation="stop" operation_key="container2_stop_0">
eae27e
+      <pseudo_event id="10" operation="stop" operation_key="container2_stop_0">
eae27e
         <attributes CRM_meta_remote_node="lxc2" CRM_meta_timeout="20000" config="/var/lib/pacemaker/cts/lxc/lxc2.xml"  force_stop="true" hypervisor="lxc:///"/>
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
@@ -133,23 +136,23 @@
eae27e
         <pseudo_event id="30" operation="stop" operation_key="lxc2_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <crm_event id="34" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
+        <crm_event id="36" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="10">
eae27e
     <action_set>
eae27e
-      <rsc_op id="16" operation="promote" operation_key="lxc-ms_promote_0" internal_operation_key="lxc-ms:0_promote_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-2">
eae27e
+      <rsc_op id="15" operation="promote" operation_key="lxc-ms_promote_0" internal_operation_key="lxc-ms:0_promote_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-2">
eae27e
         <primitive id="lxc-ms" long-id="lxc-ms:0" class="ocf" provider="pacemaker" type="Stateful"/>
eae27e
         <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="13" operation="start" operation_key="lxc-ms_start_0" internal_operation_key="lxc-ms:0_start_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-2"/>
eae27e
+        <pseudo_event id="12" operation="demote" operation_key="lxc-ms_demote_0" internal_operation_key="lxc-ms:0_demote_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <rsc_op id="14" operation="demote" operation_key="lxc-ms_demote_0" internal_operation_key="lxc-ms:0_demote_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-1"/>
eae27e
+        <rsc_op id="14" operation="start" operation_key="lxc-ms_start_0" internal_operation_key="lxc-ms:0_start_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-2"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="23" operation="promote" operation_key="lxc-ms-master_promote_0"/>
eae27e
@@ -164,69 +167,72 @@
eae27e
   </synapse>
eae27e
   <synapse id="11">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="15" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:0_stop_0">
eae27e
+      <rsc_op id="14" operation="start" operation_key="lxc-ms_start_0" internal_operation_key="lxc-ms:0_start_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-2">
eae27e
+        <primitive id="lxc-ms" long-id="lxc-ms:0" class="ocf" provider="pacemaker" type="Stateful"/>
eae27e
         <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
-      </pseudo_event>
eae27e
+      </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="14" operation="demote" operation_key="lxc-ms_demote_0" internal_operation_key="lxc-ms:0_demote_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-1"/>
eae27e
+        <pseudo_event id="13" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:0_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="21" operation="stop" operation_key="lxc-ms-master_stop_0"/>
eae27e
+        <pseudo_event id="19" operation="start" operation_key="lxc-ms-master_start_0"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <rsc_op id="28" operation="start" operation_key="lxc1_start_0" on_node="rhel7-2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <crm_event id="34" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
+        <pseudo_event id="33" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="12">
eae27e
     <action_set>
eae27e
-      <rsc_op id="14" operation="demote" operation_key="lxc-ms_demote_0" internal_operation_key="lxc-ms:0_demote_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-1">
eae27e
-        <primitive id="lxc-ms" long-id="lxc-ms:0" class="ocf" provider="pacemaker" type="Stateful"/>
eae27e
+      <pseudo_event id="13" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:0_stop_0">
eae27e
         <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
-      </rsc_op>
eae27e
+      </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="25" operation="demote" operation_key="lxc-ms-master_demote_0"/>
eae27e
+        <pseudo_event id="12" operation="demote" operation_key="lxc-ms_demote_0" internal_operation_key="lxc-ms:0_demote_0"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="21" operation="stop" operation_key="lxc-ms-master_stop_0"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="34" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="13">
eae27e
     <action_set>
eae27e
-      <rsc_op id="13" operation="start" operation_key="lxc-ms_start_0" internal_operation_key="lxc-ms:0_start_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-2">
eae27e
-        <primitive id="lxc-ms" long-id="lxc-ms:0" class="ocf" provider="pacemaker" type="Stateful"/>
eae27e
+      <pseudo_event id="12" operation="demote" operation_key="lxc-ms_demote_0" internal_operation_key="lxc-ms:0_demote_0">
eae27e
         <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
-      </rsc_op>
eae27e
+      </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="15" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:0_stop_0"/>
eae27e
-      </trigger>
eae27e
-      <trigger>
eae27e
-        <pseudo_event id="19" operation="start" operation_key="lxc-ms-master_start_0"/>
eae27e
+        <pseudo_event id="25" operation="demote" operation_key="lxc-ms-master_demote_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <rsc_op id="28" operation="start" operation_key="lxc1_start_0" on_node="rhel7-2" on_node_uuid="2"/>
eae27e
-      </trigger>
eae27e
-      <trigger>
eae27e
-        <pseudo_event id="33" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+        <pseudo_event id="34" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="14">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="18" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:1_stop_0">
eae27e
-        <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
-      </pseudo_event>
eae27e
+      <rsc_op id="18" operation="monitor" operation_key="lxc-ms_monitor_10000" internal_operation_key="lxc-ms:1_monitor_10000" on_node="lxc2" on_node_uuid="lxc2" router_node="rhel7-3">
eae27e
+        <primitive id="lxc-ms" long-id="lxc-ms:1" class="ocf" provider="pacemaker" type="Stateful"/>
eae27e
+        <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_interval="10000" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="monitor" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
+      </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="21" operation="stop" operation_key="lxc-ms-master_stop_0"/>
eae27e
+        <rsc_op id="17" operation="start" operation_key="lxc-ms_start_0" internal_operation_key="lxc-ms:1_start_0" on_node="lxc2" on_node_uuid="lxc2" router_node="rhel7-3"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <crm_event id="34" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
+        <rsc_op id="31" operation="start" operation_key="lxc2_start_0" on_node="rhel7-3" on_node_uuid="4"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -239,7 +245,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="18" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:1_stop_0"/>
eae27e
+        <pseudo_event id="16" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:1_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="19" operation="start" operation_key="lxc-ms-master_start_0"/>
eae27e
@@ -254,17 +260,16 @@
eae27e
   </synapse>
eae27e
   <synapse id="16">
eae27e
     <action_set>
eae27e
-      <rsc_op id="2" operation="monitor" operation_key="lxc-ms_monitor_10000" internal_operation_key="lxc-ms:1_monitor_10000" on_node="lxc2" on_node_uuid="lxc2" router_node="rhel7-3">
eae27e
-        <primitive id="lxc-ms" long-id="lxc-ms:1" class="ocf" provider="pacemaker" type="Stateful"/>
eae27e
-        <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_interval="10000" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="monitor" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
-      </rsc_op>
eae27e
+      <pseudo_event id="16" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:1_stop_0">
eae27e
+        <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
+      </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="17" operation="start" operation_key="lxc-ms_start_0" internal_operation_key="lxc-ms:1_start_0" on_node="lxc2" on_node_uuid="lxc2" router_node="rhel7-3"/>
eae27e
+        <pseudo_event id="21" operation="stop" operation_key="lxc-ms-master_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <rsc_op id="31" operation="start" operation_key="lxc2_start_0" on_node="rhel7-3" on_node_uuid="4"/>
eae27e
+        <pseudo_event id="35" operation="stonith" operation_key="stonith-lxc2-reboot" on_node="lxc2" on_node_uuid="lxc2"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -276,7 +281,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="14" operation="demote" operation_key="lxc-ms_demote_0" internal_operation_key="lxc-ms:0_demote_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-1"/>
eae27e
+        <pseudo_event id="12" operation="demote" operation_key="lxc-ms_demote_0" internal_operation_key="lxc-ms:0_demote_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="25" operation="demote" operation_key="lxc-ms-master_demote_0"/>
eae27e
@@ -299,7 +304,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="16" operation="promote" operation_key="lxc-ms_promote_0" internal_operation_key="lxc-ms:0_promote_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-2"/>
eae27e
+        <rsc_op id="15" operation="promote" operation_key="lxc-ms_promote_0" internal_operation_key="lxc-ms:0_promote_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-2"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -329,10 +334,10 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="15" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:0_stop_0"/>
eae27e
+        <pseudo_event id="13" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:0_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="18" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:1_stop_0"/>
eae27e
+        <pseudo_event id="16" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:1_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="21" operation="stop" operation_key="lxc-ms-master_stop_0"/>
eae27e
@@ -350,7 +355,10 @@
eae27e
         <pseudo_event id="26" operation="demoted" operation_key="lxc-ms-master_demoted_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <crm_event id="34" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
+        <pseudo_event id="34" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="35" operation="stonith" operation_key="stonith-lxc2-reboot" on_node="lxc2" on_node_uuid="lxc2"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -362,7 +370,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="13" operation="start" operation_key="lxc-ms_start_0" internal_operation_key="lxc-ms:0_start_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-2"/>
eae27e
+        <rsc_op id="14" operation="start" operation_key="lxc-ms_start_0" internal_operation_key="lxc-ms:0_start_0" on_node="lxc1" on_node_uuid="lxc1" router_node="rhel7-2"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <rsc_op id="17" operation="start" operation_key="lxc-ms_start_0" internal_operation_key="lxc-ms:1_start_0" on_node="lxc2" on_node_uuid="lxc2" router_node="rhel7-3"/>
eae27e
@@ -409,7 +417,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="10" operation="start" operation_key="container1_start_0" on_node="rhel7-2" on_node_uuid="2"/>
eae27e
+        <rsc_op id="9" operation="start" operation_key="container1_start_0" on_node="rhel7-2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="27" operation="stop" operation_key="lxc1_stop_0"/>
eae27e
@@ -427,7 +435,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <crm_event id="34" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
+        <crm_event id="36" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -453,7 +461,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="12" operation="start" operation_key="container2_start_0" on_node="rhel7-3" on_node_uuid="4"/>
eae27e
+        <rsc_op id="11" operation="start" operation_key="container2_start_0" on_node="rhel7-3" on_node_uuid="4"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="30" operation="stop" operation_key="lxc2_stop_0"/>
eae27e
@@ -471,13 +479,13 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <crm_event id="34" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
+        <crm_event id="36" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="31">
eae27e
     <action_set>
eae27e
-      <crm_event id="34" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1">
eae27e
+      <crm_event id="36" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1">
eae27e
         <attributes CRM_meta_connected="1" CRM_meta_on_node="rhel7-1" CRM_meta_on_node_uuid="1" CRM_meta_shutdown="0" CRM_meta_stonith_action="reboot" />
eae27e
         <downed>
eae27e
           <node id="1"/>
eae27e
@@ -490,40 +498,76 @@
eae27e
   </synapse>
eae27e
   <synapse id="32">
eae27e
     <action_set>
eae27e
+      <pseudo_event id="35" operation="stonith" operation_key="stonith-lxc2-reboot" on_node="lxc2" on_node_uuid="lxc2">
eae27e
+        <attributes CRM_meta_master_lxc_ms="5" CRM_meta_on_node="lxc2" CRM_meta_on_node_uuid="lxc2" CRM_meta_stonith_action="reboot" />
eae27e
+        <downed>
eae27e
+          <node id="lxc2"/>
eae27e
+        </downed>
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="10" operation="stop" operation_key="container2_stop_0"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="33">
eae27e
+    <action_set>
eae27e
+      <pseudo_event id="34" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1">
eae27e
+        <attributes CRM_meta_last_failure_lxc_ms="1458766329" CRM_meta_master_lxc_ms="10" CRM_meta_on_node="lxc1" CRM_meta_on_node_uuid="lxc1" CRM_meta_stonith_action="reboot" />
eae27e
+        <downed>
eae27e
+          <node id="lxc1"/>
eae27e
+        </downed>
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="8" operation="stop" operation_key="container1_stop_0"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="34">
eae27e
+    <action_set>
eae27e
       <pseudo_event id="33" operation="stonith_complete" operation_key="stonith_complete">
eae27e
         <attributes />
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <crm_event id="34" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
+        <pseudo_event id="34" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="35" operation="stonith" operation_key="stonith-lxc2-reboot" on_node="lxc2" on_node_uuid="lxc2"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <crm_event id="36" operation="stonith" operation_key="stonith-rhel7-1-reboot" on_node="rhel7-1" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
-  <synapse id="33">
eae27e
+  <synapse id="35">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="3" operation="all_stopped" operation_key="all_stopped">
eae27e
+      <pseudo_event id="2" operation="all_stopped" operation_key="all_stopped">
eae27e
         <attributes />
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="5" operation="stop" operation_key="Fencing_stop_0" on_node="rhel7-4" on_node_uuid="5"/>
eae27e
+        <rsc_op id="4" operation="stop" operation_key="Fencing_stop_0" on_node="rhel7-4" on_node_uuid="5"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="6" operation="stop" operation_key="rsc_rhel7-1_stop_0"/>
eae27e
+        <pseudo_event id="5" operation="stop" operation_key="rsc_rhel7-1_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="9" operation="stop" operation_key="container1_stop_0"/>
eae27e
+        <pseudo_event id="8" operation="stop" operation_key="container1_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="11" operation="stop" operation_key="container2_stop_0"/>
eae27e
+        <pseudo_event id="10" operation="stop" operation_key="container2_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="15" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:0_stop_0"/>
eae27e
+        <pseudo_event id="13" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:0_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="18" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:1_stop_0"/>
eae27e
+        <pseudo_event id="16" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:1_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="27" operation="stop" operation_key="lxc1_stop_0"/>
eae27e
diff --git a/pengine/test10/guest-node-host-dies.summary b/pengine/test10/guest-node-host-dies.summary
eae27e
index 8a1bfd4..83af5ce 100644
eae27e
--- a/pengine/test10/guest-node-host-dies.summary
eae27e
+++ b/pengine/test10/guest-node-host-dies.summary
eae27e
@@ -2,58 +2,58 @@
eae27e
 Current cluster status:
eae27e
 Node rhel7-1 (1): UNCLEAN (offline)
eae27e
 Online: [ rhel7-2 rhel7-3 rhel7-4 rhel7-5 ]
eae27e
-Containers: [ lxc1:container1 lxc2:container2 ]
eae27e
 
eae27e
  Fencing	(stonith:fence_xvm):	Started rhel7-4 
eae27e
  rsc_rhel7-1	(ocf::heartbeat:IPaddr2):	Started rhel7-1 ( UNCLEAN ) 
eae27e
- container1	(ocf::heartbeat:VirtualDomain):	Started rhel7-1 ( UNCLEAN ) 
eae27e
- container2	(ocf::heartbeat:VirtualDomain):	Started rhel7-1 ( UNCLEAN ) 
eae27e
+ container1	(ocf::heartbeat:VirtualDomain):	FAILED rhel7-1 (UNCLEAN)
eae27e
+ container2	(ocf::heartbeat:VirtualDomain):	FAILED rhel7-1 (UNCLEAN)
eae27e
  Master/Slave Set: lxc-ms-master [lxc-ms]
eae27e
-     Masters: [ lxc1 ]
eae27e
-     Slaves: [ lxc2 ]
eae27e
+     Stopped: [ rhel7-1 rhel7-2 rhel7-3 rhel7-4 rhel7-5 ]
eae27e
 
eae27e
 Transition Summary:
eae27e
  * Restart Fencing	(Started rhel7-4)
eae27e
  * Move    rsc_rhel7-1	(Started rhel7-1 -> rhel7-5)
eae27e
- * Move    container1	(Started rhel7-1 -> rhel7-2)
eae27e
- * Move    container2	(Started rhel7-1 -> rhel7-3)
eae27e
- * Restart lxc-ms:0	(Master lxc1)
eae27e
- * Restart lxc-ms:1	(Slave lxc2)
eae27e
+ * Recover container1	(Started rhel7-1 -> rhel7-2)
eae27e
+ * Recover container2	(Started rhel7-1 -> rhel7-3)
eae27e
+ * Recover lxc-ms:0	(Master lxc1)
eae27e
+ * Recover lxc-ms:1	(Slave lxc2)
eae27e
  * Move    lxc1	(Started rhel7-1 -> rhel7-2)
eae27e
  * Move    lxc2	(Started rhel7-1 -> rhel7-3)
eae27e
 
eae27e
 Executing cluster transition:
eae27e
  * Resource action: Fencing         stop on rhel7-4
eae27e
- * Resource action: Fencing         start on rhel7-4
eae27e
- * Resource action: Fencing         monitor=120000 on rhel7-4
eae27e
  * Pseudo action:   lxc-ms-master_demote_0
eae27e
  * Fencing rhel7-1 (reboot)
eae27e
- * Pseudo action:   stonith_complete
eae27e
  * Pseudo action:   rsc_rhel7-1_stop_0
eae27e
- * Resource action: lxc-ms          demote on lxc1
eae27e
- * Pseudo action:   lxc-ms-master_demoted_0
eae27e
- * Pseudo action:   lxc-ms-master_stop_0
eae27e
  * Pseudo action:   lxc1_stop_0
eae27e
  * Pseudo action:   lxc2_stop_0
eae27e
- * Resource action: rsc_rhel7-1     start on rhel7-5
eae27e
  * Pseudo action:   container1_stop_0
eae27e
  * Pseudo action:   container2_stop_0
eae27e
+ * Pseudo action:   stonith-lxc2-reboot on lxc2
eae27e
+ * Pseudo action:   stonith-lxc1-reboot on lxc1
eae27e
+ * Pseudo action:   stonith_complete
eae27e
+ * Resource action: rsc_rhel7-1     start on rhel7-5
eae27e
+ * Resource action: container1      start on rhel7-2
eae27e
+ * Resource action: container2      start on rhel7-3
eae27e
+ * Pseudo action:   lxc-ms_demote_0
eae27e
+ * Pseudo action:   lxc-ms-master_demoted_0
eae27e
+ * Pseudo action:   lxc-ms-master_stop_0
eae27e
+ * Resource action: lxc1            start on rhel7-2
eae27e
+ * Resource action: lxc2            start on rhel7-3
eae27e
+ * Resource action: rsc_rhel7-1     monitor=5000 on rhel7-5
eae27e
  * Pseudo action:   lxc-ms_stop_0
eae27e
  * Pseudo action:   lxc-ms_stop_0
eae27e
  * Pseudo action:   lxc-ms-master_stopped_0
eae27e
  * Pseudo action:   lxc-ms-master_start_0
eae27e
+ * Resource action: lxc1            monitor=30000 on rhel7-2
eae27e
+ * Resource action: lxc2            monitor=30000 on rhel7-3
eae27e
  * Pseudo action:   all_stopped
eae27e
- * Resource action: rsc_rhel7-1     monitor=5000 on rhel7-5
eae27e
- * Resource action: container1      start on rhel7-2
eae27e
- * Resource action: container2      start on rhel7-3
eae27e
- * Resource action: lxc1            start on rhel7-2
eae27e
- * Resource action: lxc2            start on rhel7-3
eae27e
+ * Resource action: Fencing         start on rhel7-4
eae27e
+ * Resource action: Fencing         monitor=120000 on rhel7-4
eae27e
  * Resource action: lxc-ms          start on lxc1
eae27e
  * Resource action: lxc-ms          start on lxc2
eae27e
- * Resource action: lxc-ms          monitor=10000 on lxc2
eae27e
  * Pseudo action:   lxc-ms-master_running_0
eae27e
- * Resource action: lxc1            monitor=30000 on rhel7-2
eae27e
- * Resource action: lxc2            monitor=30000 on rhel7-3
eae27e
+ * Resource action: lxc-ms          monitor=10000 on lxc2
eae27e
  * Pseudo action:   lxc-ms-master_promote_0
eae27e
  * Resource action: lxc-ms          promote on lxc1
eae27e
  * Pseudo action:   lxc-ms-master_promoted_0
eae27e
diff --git a/pengine/test10/whitebox-fail1.dot b/pengine/test10/whitebox-fail1.dot
eae27e
index 0f0fe26..c6380ea 100644
eae27e
--- a/pengine/test10/whitebox-fail1.dot
eae27e
+++ b/pengine/test10/whitebox-fail1.dot
eae27e
@@ -25,11 +25,9 @@ digraph "g" {
eae27e
 "all_stopped" [ style=bold color="green" fontcolor="orange"]
eae27e
 "container1_start_0 18node2" -> "lxc1_start_0 18node2" [ style = bold]
eae27e
 "container1_start_0 18node2" [ style=bold color="green" fontcolor="black"]
eae27e
-"container1_stop_0 18node2" -> "B_stop_0 lxc1" [ style = bold]
eae27e
-"container1_stop_0 18node2" -> "M-clone_stop_0" [ style = bold]
eae27e
-"container1_stop_0 18node2" -> "M_stop_0 lxc1" [ style = bold]
eae27e
 "container1_stop_0 18node2" -> "all_stopped" [ style = bold]
eae27e
 "container1_stop_0 18node2" -> "container1_start_0 18node2" [ style = bold]
eae27e
+"container1_stop_0 18node2" -> "stonith 'reboot' lxc1" [ style = bold]
eae27e
 "container1_stop_0 18node2" [ style=bold color="green" fontcolor="black"]
eae27e
 "lxc1_monitor_30000 18node2" [ style=bold color="green" fontcolor="black"]
eae27e
 "lxc1_start_0 18node2" -> "B_monitor_10000 lxc1" [ style = bold]
eae27e
@@ -42,4 +40,15 @@ digraph "g" {
eae27e
 "lxc1_stop_0 18node2" -> "container1_stop_0 18node2" [ style = bold]
eae27e
 "lxc1_stop_0 18node2" -> "lxc1_start_0 18node2" [ style = bold]
eae27e
 "lxc1_stop_0 18node2" [ style=bold color="green" fontcolor="black"]
eae27e
+"stonith 'reboot' lxc1" -> "B_stop_0 lxc1" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "M-clone_stop_0" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "M_stop_0 lxc1" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "stonith_complete" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" [ style=bold color="green" fontcolor="orange"]
eae27e
+"stonith_complete" -> "B_start_0 lxc1" [ style = bold]
eae27e
+"stonith_complete" -> "M_start_0 lxc1" [ style = bold]
eae27e
+"stonith_complete" -> "all_stopped" [ style = bold]
eae27e
+"stonith_complete" -> "container1_start_0 18node2" [ style = bold]
eae27e
+"stonith_complete" -> "lxc1_start_0 18node2" [ style = bold]
eae27e
+"stonith_complete" [ style=bold color="green" fontcolor="orange"]
eae27e
 }
eae27e
diff --git a/pengine/test10/whitebox-fail1.exp b/pengine/test10/whitebox-fail1.exp
eae27e
index 9629a76..03e83c3 100644
eae27e
--- a/pengine/test10/whitebox-fail1.exp
eae27e
+++ b/pengine/test10/whitebox-fail1.exp
eae27e
@@ -10,6 +10,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="5" operation="stop" operation_key="container1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="1">
eae27e
@@ -58,6 +61,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="42" operation="start" operation_key="lxc1_start_0" on_node="18node2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="4">
eae27e
@@ -68,10 +74,10 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="5" operation="stop" operation_key="container1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="30" operation="stop" operation_key="M-clone_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="30" operation="stop" operation_key="M-clone_stop_0"/>
eae27e
+        <pseudo_event id="46" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -98,7 +104,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="5" operation="stop" operation_key="container1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="46" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -159,6 +165,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="42" operation="start" operation_key="lxc1_start_0" on_node="18node2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="11">
eae27e
@@ -169,7 +178,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="5" operation="stop" operation_key="container1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="46" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -187,6 +196,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="41" operation="stop" operation_key="lxc1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="13">
eae27e
@@ -216,6 +228,33 @@
eae27e
   </synapse>
eae27e
   <synapse id="15">
eae27e
     <action_set>
eae27e
+      <pseudo_event id="46" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1">
eae27e
+        <attributes CRM_meta_on_node="lxc1" CRM_meta_on_node_uuid="lxc1" CRM_meta_stonith_action="reboot" />
eae27e
+        <downed>
eae27e
+          <node id="lxc1"/>
eae27e
+        </downed>
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <rsc_op id="5" operation="stop" operation_key="container1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="16">
eae27e
+    <action_set>
eae27e
+      <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete">
eae27e
+        <attributes />
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="46" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="17">
eae27e
+    <action_set>
eae27e
       <pseudo_event id="11" operation="all_stopped" operation_key="all_stopped">
eae27e
         <attributes />
eae27e
       </pseudo_event>
eae27e
@@ -233,6 +272,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="41" operation="stop" operation_key="lxc1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
 </transition_graph>
eae27e
diff --git a/pengine/test10/whitebox-fail1.summary b/pengine/test10/whitebox-fail1.summary
eae27e
index 1586407..1872e9a 100644
eae27e
--- a/pengine/test10/whitebox-fail1.summary
eae27e
+++ b/pengine/test10/whitebox-fail1.summary
eae27e
@@ -22,20 +22,22 @@ Transition Summary:
eae27e
 Executing cluster transition:
eae27e
  * Resource action: lxc1            stop on 18node2
eae27e
  * Resource action: container1      stop on 18node2
eae27e
+ * Pseudo action:   stonith-lxc1-reboot on lxc1
eae27e
+ * Pseudo action:   stonith_complete
eae27e
+ * Resource action: container1      start on 18node2
eae27e
  * Pseudo action:   M-clone_stop_0
eae27e
  * Pseudo action:   B_stop_0
eae27e
- * Resource action: container1      start on 18node2
eae27e
+ * Resource action: lxc1            start on 18node2
eae27e
+ * Resource action: lxc1            monitor=30000 on 18node2
eae27e
  * Pseudo action:   M_stop_0
eae27e
  * Pseudo action:   M-clone_stopped_0
eae27e
  * Pseudo action:   M-clone_start_0
eae27e
- * Resource action: lxc1            start on 18node2
eae27e
- * Resource action: lxc1            monitor=30000 on 18node2
eae27e
+ * Resource action: B               start on lxc1
eae27e
  * Pseudo action:   all_stopped
eae27e
  * Resource action: M               start on lxc1
eae27e
  * Pseudo action:   M-clone_running_0
eae27e
- * Resource action: B               start on lxc1
eae27e
- * Resource action: M               monitor=10000 on lxc1
eae27e
  * Resource action: B               monitor=10000 on lxc1
eae27e
+ * Resource action: M               monitor=10000 on lxc1
eae27e
 
eae27e
 Revised cluster status:
eae27e
 Online: [ 18node1 18node2 18node3 ]
eae27e
diff --git a/pengine/test10/whitebox-fail2.dot b/pengine/test10/whitebox-fail2.dot
eae27e
index 0f0fe26..c6380ea 100644
eae27e
--- a/pengine/test10/whitebox-fail2.dot
eae27e
+++ b/pengine/test10/whitebox-fail2.dot
eae27e
@@ -25,11 +25,9 @@ digraph "g" {
eae27e
 "all_stopped" [ style=bold color="green" fontcolor="orange"]
eae27e
 "container1_start_0 18node2" -> "lxc1_start_0 18node2" [ style = bold]
eae27e
 "container1_start_0 18node2" [ style=bold color="green" fontcolor="black"]
eae27e
-"container1_stop_0 18node2" -> "B_stop_0 lxc1" [ style = bold]
eae27e
-"container1_stop_0 18node2" -> "M-clone_stop_0" [ style = bold]
eae27e
-"container1_stop_0 18node2" -> "M_stop_0 lxc1" [ style = bold]
eae27e
 "container1_stop_0 18node2" -> "all_stopped" [ style = bold]
eae27e
 "container1_stop_0 18node2" -> "container1_start_0 18node2" [ style = bold]
eae27e
+"container1_stop_0 18node2" -> "stonith 'reboot' lxc1" [ style = bold]
eae27e
 "container1_stop_0 18node2" [ style=bold color="green" fontcolor="black"]
eae27e
 "lxc1_monitor_30000 18node2" [ style=bold color="green" fontcolor="black"]
eae27e
 "lxc1_start_0 18node2" -> "B_monitor_10000 lxc1" [ style = bold]
eae27e
@@ -42,4 +40,15 @@ digraph "g" {
eae27e
 "lxc1_stop_0 18node2" -> "container1_stop_0 18node2" [ style = bold]
eae27e
 "lxc1_stop_0 18node2" -> "lxc1_start_0 18node2" [ style = bold]
eae27e
 "lxc1_stop_0 18node2" [ style=bold color="green" fontcolor="black"]
eae27e
+"stonith 'reboot' lxc1" -> "B_stop_0 lxc1" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "M-clone_stop_0" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "M_stop_0 lxc1" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "stonith_complete" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" [ style=bold color="green" fontcolor="orange"]
eae27e
+"stonith_complete" -> "B_start_0 lxc1" [ style = bold]
eae27e
+"stonith_complete" -> "M_start_0 lxc1" [ style = bold]
eae27e
+"stonith_complete" -> "all_stopped" [ style = bold]
eae27e
+"stonith_complete" -> "container1_start_0 18node2" [ style = bold]
eae27e
+"stonith_complete" -> "lxc1_start_0 18node2" [ style = bold]
eae27e
+"stonith_complete" [ style=bold color="green" fontcolor="orange"]
eae27e
 }
eae27e
diff --git a/pengine/test10/whitebox-fail2.exp b/pengine/test10/whitebox-fail2.exp
eae27e
index 9629a76..03e83c3 100644
eae27e
--- a/pengine/test10/whitebox-fail2.exp
eae27e
+++ b/pengine/test10/whitebox-fail2.exp
eae27e
@@ -10,6 +10,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="5" operation="stop" operation_key="container1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="1">
eae27e
@@ -58,6 +61,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="42" operation="start" operation_key="lxc1_start_0" on_node="18node2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="4">
eae27e
@@ -68,10 +74,10 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="5" operation="stop" operation_key="container1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="30" operation="stop" operation_key="M-clone_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="30" operation="stop" operation_key="M-clone_stop_0"/>
eae27e
+        <pseudo_event id="46" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -98,7 +104,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="5" operation="stop" operation_key="container1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="46" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -159,6 +165,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="42" operation="start" operation_key="lxc1_start_0" on_node="18node2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="11">
eae27e
@@ -169,7 +178,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="5" operation="stop" operation_key="container1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="46" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -187,6 +196,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="41" operation="stop" operation_key="lxc1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="13">
eae27e
@@ -216,6 +228,33 @@
eae27e
   </synapse>
eae27e
   <synapse id="15">
eae27e
     <action_set>
eae27e
+      <pseudo_event id="46" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1">
eae27e
+        <attributes CRM_meta_on_node="lxc1" CRM_meta_on_node_uuid="lxc1" CRM_meta_stonith_action="reboot" />
eae27e
+        <downed>
eae27e
+          <node id="lxc1"/>
eae27e
+        </downed>
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <rsc_op id="5" operation="stop" operation_key="container1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="16">
eae27e
+    <action_set>
eae27e
+      <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete">
eae27e
+        <attributes />
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="46" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="17">
eae27e
+    <action_set>
eae27e
       <pseudo_event id="11" operation="all_stopped" operation_key="all_stopped">
eae27e
         <attributes />
eae27e
       </pseudo_event>
eae27e
@@ -233,6 +272,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="41" operation="stop" operation_key="lxc1_stop_0" on_node="18node2" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="45" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
 </transition_graph>
eae27e
diff --git a/pengine/test10/whitebox-fail2.summary b/pengine/test10/whitebox-fail2.summary
eae27e
index ab40d99..5db6588 100644
eae27e
--- a/pengine/test10/whitebox-fail2.summary
eae27e
+++ b/pengine/test10/whitebox-fail2.summary
eae27e
@@ -22,20 +22,22 @@ Transition Summary:
eae27e
 Executing cluster transition:
eae27e
  * Resource action: lxc1            stop on 18node2
eae27e
  * Resource action: container1      stop on 18node2
eae27e
+ * Pseudo action:   stonith-lxc1-reboot on lxc1
eae27e
+ * Pseudo action:   stonith_complete
eae27e
+ * Resource action: container1      start on 18node2
eae27e
  * Pseudo action:   M-clone_stop_0
eae27e
  * Pseudo action:   B_stop_0
eae27e
- * Resource action: container1      start on 18node2
eae27e
+ * Resource action: lxc1            start on 18node2
eae27e
+ * Resource action: lxc1            monitor=30000 on 18node2
eae27e
  * Pseudo action:   M_stop_0
eae27e
  * Pseudo action:   M-clone_stopped_0
eae27e
  * Pseudo action:   M-clone_start_0
eae27e
- * Resource action: lxc1            start on 18node2
eae27e
- * Resource action: lxc1            monitor=30000 on 18node2
eae27e
+ * Resource action: B               start on lxc1
eae27e
  * Pseudo action:   all_stopped
eae27e
  * Resource action: M               start on lxc1
eae27e
  * Pseudo action:   M-clone_running_0
eae27e
- * Resource action: B               start on lxc1
eae27e
- * Resource action: M               monitor=10000 on lxc1
eae27e
  * Resource action: B               monitor=10000 on lxc1
eae27e
+ * Resource action: M               monitor=10000 on lxc1
eae27e
 
eae27e
 Revised cluster status:
eae27e
 Online: [ 18node1 18node2 18node3 ]
eae27e
diff --git a/pengine/test10/whitebox-imply-stop-on-fence.dot b/pengine/test10/whitebox-imply-stop-on-fence.dot
eae27e
index b3fd40b..0e17a16 100644
eae27e
--- a/pengine/test10/whitebox-imply-stop-on-fence.dot
eae27e
+++ b/pengine/test10/whitebox-imply-stop-on-fence.dot
eae27e
@@ -6,6 +6,7 @@
eae27e
 "R-lxc-01_kiff-01_stop_0 kiff-01" -> "R-lxc-01_kiff-01_start_0 kiff-02" [ style = bold]
eae27e
 "R-lxc-01_kiff-01_stop_0 kiff-01" -> "all_stopped" [ style = bold]
eae27e
 "R-lxc-01_kiff-01_stop_0 kiff-01" -> "shared0-clone_stop_0" [ style = bold]
eae27e
+"R-lxc-01_kiff-01_stop_0 kiff-01" -> "stonith 'reboot' lxc-01_kiff-01" [ style = bold]
eae27e
 "R-lxc-01_kiff-01_stop_0 kiff-01" [ style=bold color="green" fontcolor="orange"]
eae27e
 "R-lxc-02_kiff-01_monitor_10000 kiff-02" [ style=bold color="green" fontcolor="black"]
eae27e
 "R-lxc-02_kiff-01_start_0 kiff-02" -> "R-lxc-02_kiff-01_monitor_10000 kiff-02" [ style = bold]
eae27e
@@ -14,7 +15,9 @@
eae27e
 "R-lxc-02_kiff-01_stop_0 kiff-01" -> "R-lxc-02_kiff-01_start_0 kiff-02" [ style = bold]
eae27e
 "R-lxc-02_kiff-01_stop_0 kiff-01" -> "all_stopped" [ style = bold]
eae27e
 "R-lxc-02_kiff-01_stop_0 kiff-01" -> "shared0-clone_stop_0" [ style = bold]
eae27e
+"R-lxc-02_kiff-01_stop_0 kiff-01" -> "stonith 'reboot' lxc-02_kiff-01" [ style = bold]
eae27e
 "R-lxc-02_kiff-01_stop_0 kiff-01" [ style=bold color="green" fontcolor="orange"]
eae27e
+"all_stopped" -> "fence-kiff-02_start_0 kiff-02" [ style = bold]
eae27e
 "all_stopped" [ style=bold color="green" fontcolor="orange"]
eae27e
 "clvmd-clone_stop_0" -> "clvmd-clone_stopped_0" [ style = bold]
eae27e
 "clvmd-clone_stop_0" -> "clvmd_stop_0 kiff-01" [ style = bold]
eae27e
@@ -74,8 +77,12 @@
eae27e
 "stonith 'reboot' kiff-01" -> "shared0-clone_stop_0" [ style = bold]
eae27e
 "stonith 'reboot' kiff-01" -> "shared0_stop_0 kiff-01" [ style = bold]
eae27e
 "stonith 'reboot' kiff-01" -> "stonith_complete" [ style = bold]
eae27e
-"stonith 'reboot' kiff-01" -> "vm-fs_stop_0 lxc-01_kiff-01" [ style = bold]
eae27e
 "stonith 'reboot' kiff-01" [ style=bold color="green" fontcolor="black"]
eae27e
+"stonith 'reboot' lxc-01_kiff-01" -> "stonith_complete" [ style = bold]
eae27e
+"stonith 'reboot' lxc-01_kiff-01" -> "vm-fs_stop_0 lxc-01_kiff-01" [ style = bold]
eae27e
+"stonith 'reboot' lxc-01_kiff-01" [ style=bold color="green" fontcolor="orange"]
eae27e
+"stonith 'reboot' lxc-02_kiff-01" -> "stonith_complete" [ style = bold]
eae27e
+"stonith 'reboot' lxc-02_kiff-01" [ style=bold color="green" fontcolor="orange"]
eae27e
 "stonith_complete" -> "R-lxc-01_kiff-01_start_0 kiff-02" [ style = bold]
eae27e
 "stonith_complete" -> "R-lxc-02_kiff-01_start_0 kiff-02" [ style = bold]
eae27e
 "stonith_complete" -> "all_stopped" [ style = bold]
eae27e
diff --git a/pengine/test10/whitebox-imply-stop-on-fence.exp b/pengine/test10/whitebox-imply-stop-on-fence.exp
eae27e
index 0bd42b7..e38f4ea 100644
eae27e
--- a/pengine/test10/whitebox-imply-stop-on-fence.exp
eae27e
+++ b/pengine/test10/whitebox-imply-stop-on-fence.exp
eae27e
@@ -1,33 +1,36 @@
eae27e
 <transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY"  transition_id="0">
eae27e
   <synapse id="0">
eae27e
     <action_set>
eae27e
-      <rsc_op id="15" operation="monitor" operation_key="fence-kiff-02_monitor_60000" on_node="kiff-02" on_node_uuid="2">
eae27e
+      <rsc_op id="14" operation="monitor" operation_key="fence-kiff-02_monitor_60000" on_node="kiff-02" on_node_uuid="2">
eae27e
         <primitive id="fence-kiff-02" class="stonith" type="fence_ipmilan"/>
eae27e
         <attributes CRM_meta_interval="60000" CRM_meta_name="monitor" CRM_meta_timeout="20000" action="reboot"  ipaddr="kiff-02-ilo" login="admin" passwd="admin" pcmk_host_check="static-list" pcmk_host_list="kiff-02"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="14" operation="start" operation_key="fence-kiff-02_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
+        <rsc_op id="13" operation="start" operation_key="fence-kiff-02_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="1">
eae27e
     <action_set>
eae27e
-      <rsc_op id="14" operation="start" operation_key="fence-kiff-02_start_0" on_node="kiff-02" on_node_uuid="2">
eae27e
+      <rsc_op id="13" operation="start" operation_key="fence-kiff-02_start_0" on_node="kiff-02" on_node_uuid="2">
eae27e
         <primitive id="fence-kiff-02" class="stonith" type="fence_ipmilan"/>
eae27e
         <attributes CRM_meta_timeout="20000" action="reboot"  ipaddr="kiff-02-ilo" login="admin" passwd="admin" pcmk_host_check="static-list" pcmk_host_list="kiff-02"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="13" operation="stop" operation_key="fence-kiff-02_stop_0"/>
eae27e
+        <pseudo_event id="9" operation="all_stopped" operation_key="all_stopped"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="12" operation="stop" operation_key="fence-kiff-02_stop_0"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="2">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="13" operation="stop" operation_key="fence-kiff-02_stop_0">
eae27e
+      <pseudo_event id="12" operation="stop" operation_key="fence-kiff-02_stop_0">
eae27e
         <attributes CRM_meta_timeout="20000" action="reboot"  ipaddr="kiff-02-ilo" login="admin" passwd="admin" pcmk_host_check="static-list" pcmk_host_list="kiff-02"/>
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
@@ -35,16 +38,16 @@
eae27e
   </synapse>
eae27e
   <synapse id="3">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="16" operation="stop" operation_key="dlm_stop_0" internal_operation_key="dlm:0_stop_0">
eae27e
+      <pseudo_event id="15" operation="stop" operation_key="dlm_stop_0" internal_operation_key="dlm:0_stop_0">
eae27e
         <attributes CRM_meta_clone="0" CRM_meta_clone_max="6" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_name="stop" CRM_meta_notify="false" CRM_meta_timeout="100000" />
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="21" operation="stop" operation_key="dlm-clone_stop_0"/>
eae27e
+        <pseudo_event id="20" operation="stop" operation_key="dlm-clone_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="23" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0"/>
eae27e
+        <pseudo_event id="22" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <crm_event id="60" operation="stonith" operation_key="stonith-kiff-01-reboot" on_node="kiff-01" on_node_uuid="1"/>
eae27e
@@ -53,28 +56,28 @@
eae27e
   </synapse>
eae27e
   <synapse id="4" priority="1000000">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="22" operation="stopped" operation_key="dlm-clone_stopped_0">
eae27e
+      <pseudo_event id="21" operation="stopped" operation_key="dlm-clone_stopped_0">
eae27e
         <attributes CRM_meta_clone_max="6" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="16" operation="stop" operation_key="dlm_stop_0" internal_operation_key="dlm:0_stop_0"/>
eae27e
+        <pseudo_event id="15" operation="stop" operation_key="dlm_stop_0" internal_operation_key="dlm:0_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="21" operation="stop" operation_key="dlm-clone_stop_0"/>
eae27e
+        <pseudo_event id="20" operation="stop" operation_key="dlm-clone_stop_0"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="5">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="21" operation="stop" operation_key="dlm-clone_stop_0">
eae27e
+      <pseudo_event id="20" operation="stop" operation_key="dlm-clone_stop_0">
eae27e
         <attributes CRM_meta_clone_max="6" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="29" operation="stopped" operation_key="clvmd-clone_stopped_0"/>
eae27e
+        <pseudo_event id="28" operation="stopped" operation_key="clvmd-clone_stopped_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <crm_event id="60" operation="stonith" operation_key="stonith-kiff-01-reboot" on_node="kiff-01" on_node_uuid="1"/>
eae27e
@@ -83,16 +86,16 @@
eae27e
   </synapse>
eae27e
   <synapse id="6">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="23" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0">
eae27e
+      <pseudo_event id="22" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0">
eae27e
         <attributes CRM_meta_clone="0" CRM_meta_clone_max="6" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_name="stop" CRM_meta_notify="false" CRM_meta_timeout="90000"  with_cmirrord="1"/>
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="28" operation="stop" operation_key="clvmd-clone_stop_0"/>
eae27e
+        <pseudo_event id="27" operation="stop" operation_key="clvmd-clone_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="30" operation="stop" operation_key="shared0_stop_0" internal_operation_key="shared0:0_stop_0"/>
eae27e
+        <pseudo_event id="29" operation="stop" operation_key="shared0_stop_0" internal_operation_key="shared0:0_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <crm_event id="60" operation="stonith" operation_key="stonith-kiff-01-reboot" on_node="kiff-01" on_node_uuid="1"/>
eae27e
@@ -101,28 +104,28 @@
eae27e
   </synapse>
eae27e
   <synapse id="7" priority="1000000">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="29" operation="stopped" operation_key="clvmd-clone_stopped_0">
eae27e
+      <pseudo_event id="28" operation="stopped" operation_key="clvmd-clone_stopped_0">
eae27e
         <attributes CRM_meta_clone_max="6" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="23" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0"/>
eae27e
+        <pseudo_event id="22" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="28" operation="stop" operation_key="clvmd-clone_stop_0"/>
eae27e
+        <pseudo_event id="27" operation="stop" operation_key="clvmd-clone_stop_0"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="8">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="28" operation="stop" operation_key="clvmd-clone_stop_0">
eae27e
+      <pseudo_event id="27" operation="stop" operation_key="clvmd-clone_stop_0">
eae27e
         <attributes CRM_meta_clone_max="6" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="36" operation="stopped" operation_key="shared0-clone_stopped_0"/>
eae27e
+        <pseudo_event id="35" operation="stopped" operation_key="shared0-clone_stopped_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <crm_event id="60" operation="stonith" operation_key="stonith-kiff-01-reboot" on_node="kiff-01" on_node_uuid="1"/>
eae27e
@@ -131,13 +134,13 @@
eae27e
   </synapse>
eae27e
   <synapse id="9">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="30" operation="stop" operation_key="shared0_stop_0" internal_operation_key="shared0:0_stop_0">
eae27e
+      <pseudo_event id="29" operation="stop" operation_key="shared0_stop_0" internal_operation_key="shared0:0_stop_0">
eae27e
         <attributes CRM_meta_clone="0" CRM_meta_clone_max="6" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_name="stop" CRM_meta_notify="false" CRM_meta_timeout="60000"  device="/dev/shared/shared0" directory="/mnt/shared0" fstype="gfs2" options="errors=panic"/>
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="35" operation="stop" operation_key="shared0-clone_stop_0"/>
eae27e
+        <pseudo_event id="34" operation="stop" operation_key="shared0-clone_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <crm_event id="60" operation="stonith" operation_key="stonith-kiff-01-reboot" on_node="kiff-01" on_node_uuid="1"/>
eae27e
@@ -146,31 +149,31 @@
eae27e
   </synapse>
eae27e
   <synapse id="10" priority="1000000">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="36" operation="stopped" operation_key="shared0-clone_stopped_0">
eae27e
+      <pseudo_event id="35" operation="stopped" operation_key="shared0-clone_stopped_0">
eae27e
         <attributes CRM_meta_clone_max="6" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="30" operation="stop" operation_key="shared0_stop_0" internal_operation_key="shared0:0_stop_0"/>
eae27e
+        <pseudo_event id="29" operation="stop" operation_key="shared0_stop_0" internal_operation_key="shared0:0_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="35" operation="stop" operation_key="shared0-clone_stop_0"/>
eae27e
+        <pseudo_event id="34" operation="stop" operation_key="shared0-clone_stop_0"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="11">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="35" operation="stop" operation_key="shared0-clone_stop_0">
eae27e
+      <pseudo_event id="34" operation="stop" operation_key="shared0-clone_stop_0">
eae27e
         <attributes CRM_meta_clone_max="6" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_timeout="20000" />
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="37" operation="stop" operation_key="R-lxc-01_kiff-01_stop_0"/>
eae27e
+        <pseudo_event id="36" operation="stop" operation_key="R-lxc-01_kiff-01_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="40" operation="stop" operation_key="R-lxc-02_kiff-01_stop_0"/>
eae27e
+        <pseudo_event id="39" operation="stop" operation_key="R-lxc-02_kiff-01_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <crm_event id="60" operation="stonith" operation_key="stonith-kiff-01-reboot" on_node="kiff-01" on_node_uuid="1"/>
eae27e
@@ -179,27 +182,27 @@
eae27e
   </synapse>
eae27e
   <synapse id="12">
eae27e
     <action_set>
eae27e
-      <rsc_op id="39" operation="monitor" operation_key="R-lxc-01_kiff-01_monitor_10000" on_node="kiff-02" on_node_uuid="2">
eae27e
+      <rsc_op id="38" operation="monitor" operation_key="R-lxc-01_kiff-01_monitor_10000" on_node="kiff-02" on_node_uuid="2">
eae27e
         <primitive id="R-lxc-01_kiff-01" class="ocf" provider="heartbeat" type="VirtualDomain"/>
eae27e
         <attributes CRM_meta_interval="10000" CRM_meta_name="monitor" CRM_meta_remote_node="lxc-01_kiff-01" CRM_meta_timeout="30000" config="/mnt/shared0/test-virtual-domain/lxc/lxc-01_kiff-01.xml"  force_stop="true" hypervisor="lxc:///"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="38" operation="start" operation_key="R-lxc-01_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
+        <rsc_op id="37" operation="start" operation_key="R-lxc-01_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="13">
eae27e
     <action_set>
eae27e
-      <rsc_op id="38" operation="start" operation_key="R-lxc-01_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2">
eae27e
+      <rsc_op id="37" operation="start" operation_key="R-lxc-01_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2">
eae27e
         <primitive id="R-lxc-01_kiff-01" class="ocf" provider="heartbeat" type="VirtualDomain"/>
eae27e
         <attributes CRM_meta_name="start" CRM_meta_remote_node="lxc-01_kiff-01" CRM_meta_timeout="90000" config="/mnt/shared0/test-virtual-domain/lxc/lxc-01_kiff-01.xml"  force_stop="true" hypervisor="lxc:///"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="37" operation="stop" operation_key="R-lxc-01_kiff-01_stop_0"/>
eae27e
+        <pseudo_event id="36" operation="stop" operation_key="R-lxc-01_kiff-01_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="59" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
@@ -208,7 +211,7 @@
eae27e
   </synapse>
eae27e
   <synapse id="14">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="37" operation="stop" operation_key="R-lxc-01_kiff-01_stop_0">
eae27e
+      <pseudo_event id="36" operation="stop" operation_key="R-lxc-01_kiff-01_stop_0">
eae27e
         <attributes CRM_meta_name="stop" CRM_meta_remote_node="lxc-01_kiff-01" CRM_meta_timeout="90000" config="/mnt/shared0/test-virtual-domain/lxc/lxc-01_kiff-01.xml"  force_stop="true" hypervisor="lxc:///"/>
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
@@ -223,27 +226,27 @@
eae27e
   </synapse>
eae27e
   <synapse id="15">
eae27e
     <action_set>
eae27e
-      <rsc_op id="42" operation="monitor" operation_key="R-lxc-02_kiff-01_monitor_10000" on_node="kiff-02" on_node_uuid="2">
eae27e
+      <rsc_op id="41" operation="monitor" operation_key="R-lxc-02_kiff-01_monitor_10000" on_node="kiff-02" on_node_uuid="2">
eae27e
         <primitive id="R-lxc-02_kiff-01" class="ocf" provider="heartbeat" type="VirtualDomain"/>
eae27e
         <attributes CRM_meta_interval="10000" CRM_meta_name="monitor" CRM_meta_remote_node="lxc-02_kiff-01" CRM_meta_timeout="30000" config="/mnt/shared0/test-virtual-domain/lxc/lxc-02_kiff-01.xml"  force_stop="true" hypervisor="lxc:///"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="41" operation="start" operation_key="R-lxc-02_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
+        <rsc_op id="40" operation="start" operation_key="R-lxc-02_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="16">
eae27e
     <action_set>
eae27e
-      <rsc_op id="41" operation="start" operation_key="R-lxc-02_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2">
eae27e
+      <rsc_op id="40" operation="start" operation_key="R-lxc-02_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2">
eae27e
         <primitive id="R-lxc-02_kiff-01" class="ocf" provider="heartbeat" type="VirtualDomain"/>
eae27e
         <attributes CRM_meta_name="start" CRM_meta_remote_node="lxc-02_kiff-01" CRM_meta_timeout="90000" config="/mnt/shared0/test-virtual-domain/lxc/lxc-02_kiff-01.xml"  force_stop="true" hypervisor="lxc:///"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="40" operation="stop" operation_key="R-lxc-02_kiff-01_stop_0"/>
eae27e
+        <pseudo_event id="39" operation="stop" operation_key="R-lxc-02_kiff-01_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="59" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
@@ -252,7 +255,7 @@
eae27e
   </synapse>
eae27e
   <synapse id="17">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="40" operation="stop" operation_key="R-lxc-02_kiff-01_stop_0">
eae27e
+      <pseudo_event id="39" operation="stop" operation_key="R-lxc-02_kiff-01_stop_0">
eae27e
         <attributes CRM_meta_name="stop" CRM_meta_remote_node="lxc-02_kiff-01" CRM_meta_timeout="90000" config="/mnt/shared0/test-virtual-domain/lxc/lxc-02_kiff-01.xml"  force_stop="true" hypervisor="lxc:///"/>
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
@@ -267,48 +270,48 @@
eae27e
   </synapse>
eae27e
   <synapse id="18">
eae27e
     <action_set>
eae27e
-      <rsc_op id="48" operation="start" operation_key="vm-fs_start_0" on_node="lxc-01_kiff-01" on_node_uuid="lxc-01_kiff-01" router_node="kiff-02">
eae27e
+      <rsc_op id="48" operation="monitor" operation_key="vm-fs_monitor_20000" on_node="lxc-01_kiff-01" on_node_uuid="lxc-01_kiff-01" router_node="kiff-02">
eae27e
         <primitive id="vm-fs" class="ocf" provider="heartbeat" type="Filesystem"/>
eae27e
-        <attributes CRM_meta_name="start" CRM_meta_timeout="60000"  device="/root" directory="/mnt/vm-fs" fstype="none" options="bind"/>
eae27e
+        <attributes CRM_meta_interval="20000" CRM_meta_name="monitor" CRM_meta_timeout="40000"  device="/root" directory="/mnt/vm-fs" fstype="none" options="bind"/>
eae27e
       </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="47" operation="stop" operation_key="vm-fs_stop_0"/>
eae27e
+        <rsc_op id="47" operation="start" operation_key="vm-fs_start_0" on_node="lxc-01_kiff-01" on_node_uuid="lxc-01_kiff-01" router_node="kiff-02"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <rsc_op id="50" operation="start" operation_key="lxc-01_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
-      <trigger>
eae27e
-        <pseudo_event id="59" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
-      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="19">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="47" operation="stop" operation_key="vm-fs_stop_0">
eae27e
-        <attributes CRM_meta_name="stop" CRM_meta_timeout="60000"  device="/root" directory="/mnt/vm-fs" fstype="none" options="bind"/>
eae27e
-      </pseudo_event>
eae27e
+      <rsc_op id="47" operation="start" operation_key="vm-fs_start_0" on_node="lxc-01_kiff-01" on_node_uuid="lxc-01_kiff-01" router_node="kiff-02">
eae27e
+        <primitive id="vm-fs" class="ocf" provider="heartbeat" type="Filesystem"/>
eae27e
+        <attributes CRM_meta_name="start" CRM_meta_timeout="60000"  device="/root" directory="/mnt/vm-fs" fstype="none" options="bind"/>
eae27e
+      </rsc_op>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <crm_event id="60" operation="stonith" operation_key="stonith-kiff-01-reboot" on_node="kiff-01" on_node_uuid="1"/>
eae27e
+        <pseudo_event id="46" operation="stop" operation_key="vm-fs_stop_0"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <rsc_op id="50" operation="start" operation_key="lxc-01_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="59" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="20">
eae27e
     <action_set>
eae27e
-      <rsc_op id="9" operation="monitor" operation_key="vm-fs_monitor_20000" on_node="lxc-01_kiff-01" on_node_uuid="lxc-01_kiff-01" router_node="kiff-02">
eae27e
-        <primitive id="vm-fs" class="ocf" provider="heartbeat" type="Filesystem"/>
eae27e
-        <attributes CRM_meta_interval="20000" CRM_meta_name="monitor" CRM_meta_timeout="40000"  device="/root" directory="/mnt/vm-fs" fstype="none" options="bind"/>
eae27e
-      </rsc_op>
eae27e
+      <pseudo_event id="46" operation="stop" operation_key="vm-fs_stop_0">
eae27e
+        <attributes CRM_meta_name="stop" CRM_meta_timeout="60000"  device="/root" directory="/mnt/vm-fs" fstype="none" options="bind"/>
eae27e
+      </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="48" operation="start" operation_key="vm-fs_start_0" on_node="lxc-01_kiff-01" on_node_uuid="lxc-01_kiff-01" router_node="kiff-02"/>
eae27e
-      </trigger>
eae27e
-      <trigger>
eae27e
-        <rsc_op id="50" operation="start" operation_key="lxc-01_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
+        <pseudo_event id="61" operation="stonith" operation_key="stonith-lxc-01_kiff-01-reboot" on_node="lxc-01_kiff-01" on_node_uuid="lxc-01_kiff-01"/>
eae27e
       </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
@@ -334,7 +337,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="38" operation="start" operation_key="R-lxc-01_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
+        <rsc_op id="37" operation="start" operation_key="R-lxc-01_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="49" operation="stop" operation_key="lxc-01_kiff-01_stop_0"/>
eae27e
@@ -378,7 +381,7 @@
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <rsc_op id="41" operation="start" operation_key="R-lxc-02_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
+        <rsc_op id="40" operation="start" operation_key="R-lxc-02_kiff-01_start_0" on_node="kiff-02" on_node_uuid="2"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="52" operation="stop" operation_key="lxc-02_kiff-01_stop_0"/>
eae27e
@@ -402,6 +405,36 @@
eae27e
   </synapse>
eae27e
   <synapse id="27">
eae27e
     <action_set>
eae27e
+      <pseudo_event id="62" operation="stonith" operation_key="stonith-lxc-02_kiff-01-reboot" on_node="lxc-02_kiff-01" on_node_uuid="lxc-02_kiff-01">
eae27e
+        <attributes CRM_meta_on_node="lxc-02_kiff-01" CRM_meta_on_node_uuid="lxc-02_kiff-01" CRM_meta_stonith_action="reboot" />
eae27e
+        <downed>
eae27e
+          <node id="lxc-02_kiff-01"/>
eae27e
+        </downed>
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="39" operation="stop" operation_key="R-lxc-02_kiff-01_stop_0"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="28">
eae27e
+    <action_set>
eae27e
+      <pseudo_event id="61" operation="stonith" operation_key="stonith-lxc-01_kiff-01-reboot" on_node="lxc-01_kiff-01" on_node_uuid="lxc-01_kiff-01">
eae27e
+        <attributes CRM_meta_on_node="lxc-01_kiff-01" CRM_meta_on_node_uuid="lxc-01_kiff-01" CRM_meta_stonith_action="reboot" />
eae27e
+        <downed>
eae27e
+          <node id="lxc-01_kiff-01"/>
eae27e
+        </downed>
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="36" operation="stop" operation_key="R-lxc-01_kiff-01_stop_0"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="29">
eae27e
+    <action_set>
eae27e
       <crm_event id="60" operation="stonith" operation_key="stonith-kiff-01-reboot" on_node="kiff-01" on_node_uuid="1">
eae27e
         <attributes CRM_meta_on_node="kiff-01" CRM_meta_on_node_uuid="1" CRM_meta_probe_complete="true" CRM_meta_shutdown="0" CRM_meta_stonith_action="reboot" />
eae27e
         <downed>
eae27e
@@ -413,7 +446,7 @@
eae27e
     </action_set>
eae27e
     <inputs/>
eae27e
   </synapse>
eae27e
-  <synapse id="28">
eae27e
+  <synapse id="30">
eae27e
     <action_set>
eae27e
       <pseudo_event id="59" operation="stonith_complete" operation_key="stonith_complete">
eae27e
         <attributes />
eae27e
@@ -423,35 +456,41 @@
eae27e
       <trigger>
eae27e
         <crm_event id="60" operation="stonith" operation_key="stonith-kiff-01-reboot" on_node="kiff-01" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="61" operation="stonith" operation_key="stonith-lxc-01_kiff-01-reboot" on_node="lxc-01_kiff-01" on_node_uuid="lxc-01_kiff-01"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="62" operation="stonith" operation_key="stonith-lxc-02_kiff-01-reboot" on_node="lxc-02_kiff-01" on_node_uuid="lxc-02_kiff-01"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
-  <synapse id="29">
eae27e
+  <synapse id="31">
eae27e
     <action_set>
eae27e
-      <pseudo_event id="10" operation="all_stopped" operation_key="all_stopped">
eae27e
+      <pseudo_event id="9" operation="all_stopped" operation_key="all_stopped">
eae27e
         <attributes />
eae27e
       </pseudo_event>
eae27e
     </action_set>
eae27e
     <inputs>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="13" operation="stop" operation_key="fence-kiff-02_stop_0"/>
eae27e
+        <pseudo_event id="12" operation="stop" operation_key="fence-kiff-02_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="16" operation="stop" operation_key="dlm_stop_0" internal_operation_key="dlm:0_stop_0"/>
eae27e
+        <pseudo_event id="15" operation="stop" operation_key="dlm_stop_0" internal_operation_key="dlm:0_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="23" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0"/>
eae27e
+        <pseudo_event id="22" operation="stop" operation_key="clvmd_stop_0" internal_operation_key="clvmd:0_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="30" operation="stop" operation_key="shared0_stop_0" internal_operation_key="shared0:0_stop_0"/>
eae27e
+        <pseudo_event id="29" operation="stop" operation_key="shared0_stop_0" internal_operation_key="shared0:0_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="37" operation="stop" operation_key="R-lxc-01_kiff-01_stop_0"/>
eae27e
+        <pseudo_event id="36" operation="stop" operation_key="R-lxc-01_kiff-01_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="40" operation="stop" operation_key="R-lxc-02_kiff-01_stop_0"/>
eae27e
+        <pseudo_event id="39" operation="stop" operation_key="R-lxc-02_kiff-01_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
-        <pseudo_event id="47" operation="stop" operation_key="vm-fs_stop_0"/>
eae27e
+        <pseudo_event id="46" operation="stop" operation_key="vm-fs_stop_0"/>
eae27e
       </trigger>
eae27e
       <trigger>
eae27e
         <pseudo_event id="49" operation="stop" operation_key="lxc-01_kiff-01_stop_0"/>
eae27e
diff --git a/pengine/test10/whitebox-imply-stop-on-fence.summary b/pengine/test10/whitebox-imply-stop-on-fence.summary
eae27e
index 3ee9570..50a3446 100644
eae27e
--- a/pengine/test10/whitebox-imply-stop-on-fence.summary
eae27e
+++ b/pengine/test10/whitebox-imply-stop-on-fence.summary
eae27e
@@ -2,7 +2,7 @@
eae27e
 Current cluster status:
eae27e
 Node kiff-01 (1): UNCLEAN (offline)
eae27e
 Online: [ kiff-02 ]
eae27e
-Containers: [ lxc-01_kiff-01:R-lxc-01_kiff-01 lxc-01_kiff-02:R-lxc-01_kiff-02 lxc-02_kiff-01:R-lxc-02_kiff-01 lxc-02_kiff-02:R-lxc-02_kiff-02 ]
eae27e
+Containers: [ lxc-01_kiff-02:R-lxc-01_kiff-02 lxc-02_kiff-02:R-lxc-02_kiff-02 ]
eae27e
 
eae27e
  fence-kiff-01	(stonith:fence_ipmilan):	Started kiff-02 
eae27e
  fence-kiff-02	(stonith:fence_ipmilan):	Started kiff-01 (UNCLEAN)
eae27e
@@ -18,37 +18,37 @@ Containers: [ lxc-01_kiff-01:R-lxc-01_kiff-01 lxc-01_kiff-02:R-lxc-01_kiff-02 lx
eae27e
      shared0	(ocf::heartbeat:Filesystem):	Started kiff-01 (UNCLEAN)
eae27e
      Started: [ kiff-02 ]
eae27e
      Stopped: [ lxc-01_kiff-01 lxc-01_kiff-02 lxc-02_kiff-01 lxc-02_kiff-02 ]
eae27e
- R-lxc-01_kiff-01	(ocf::heartbeat:VirtualDomain):	Started kiff-01 (UNCLEAN)
eae27e
+ R-lxc-01_kiff-01	(ocf::heartbeat:VirtualDomain):	FAILED kiff-01 (UNCLEAN)
eae27e
  R-lxc-02_kiff-01	(ocf::heartbeat:VirtualDomain):	Started kiff-01 (UNCLEAN)
eae27e
  R-lxc-01_kiff-02	(ocf::heartbeat:VirtualDomain):	Started kiff-02 
eae27e
  R-lxc-02_kiff-02	(ocf::heartbeat:VirtualDomain):	Started kiff-02 
eae27e
- vm-fs	(ocf::heartbeat:Filesystem):	Started lxc-01_kiff-01 
eae27e
+ vm-fs	(ocf::heartbeat:Filesystem):	FAILED lxc-01_kiff-01
eae27e
 
eae27e
 Transition Summary:
eae27e
  * Move    fence-kiff-02	(Started kiff-01 -> kiff-02)
eae27e
  * Stop    dlm:0	(kiff-01)
eae27e
  * Stop    clvmd:0	(kiff-01)
eae27e
  * Stop    shared0:0	(kiff-01)
eae27e
- * Move    R-lxc-01_kiff-01	(Started kiff-01 -> kiff-02)
eae27e
+ * Recover R-lxc-01_kiff-01	(Started kiff-01 -> kiff-02)
eae27e
  * Move    R-lxc-02_kiff-01	(Started kiff-01 -> kiff-02)
eae27e
- * Restart vm-fs	(Started lxc-01_kiff-01)
eae27e
+ * Recover vm-fs	(Started lxc-01_kiff-01)
eae27e
  * Move    lxc-01_kiff-01	(Started kiff-01 -> kiff-02)
eae27e
  * Move    lxc-02_kiff-01	(Started kiff-01 -> kiff-02)
eae27e
 
eae27e
 Executing cluster transition:
eae27e
  * Pseudo action:   fence-kiff-02_stop_0
eae27e
  * Fencing kiff-01 (reboot)
eae27e
- * Pseudo action:   stonith_complete
eae27e
- * Resource action: fence-kiff-02   start on kiff-02
eae27e
- * Pseudo action:   vm-fs_stop_0
eae27e
  * Pseudo action:   lxc-01_kiff-01_stop_0
eae27e
  * Pseudo action:   lxc-02_kiff-01_stop_0
eae27e
- * Resource action: fence-kiff-02   monitor=60000 on kiff-02
eae27e
  * Pseudo action:   R-lxc-01_kiff-01_stop_0
eae27e
  * Pseudo action:   R-lxc-02_kiff-01_stop_0
eae27e
+ * Pseudo action:   stonith-lxc-02_kiff-01-reboot on lxc-02_kiff-01
eae27e
+ * Pseudo action:   stonith-lxc-01_kiff-01-reboot on lxc-01_kiff-01
eae27e
+ * Pseudo action:   stonith_complete
eae27e
  * Pseudo action:   shared0-clone_stop_0
eae27e
  * Resource action: R-lxc-01_kiff-01 start on kiff-02
eae27e
  * Resource action: R-lxc-02_kiff-01 start on kiff-02
eae27e
+ * Pseudo action:   vm-fs_stop_0
eae27e
  * Resource action: lxc-01_kiff-01  start on kiff-02
eae27e
  * Resource action: lxc-02_kiff-01  start on kiff-02
eae27e
  * Pseudo action:   shared0_stop_0
eae27e
@@ -56,16 +56,18 @@ Executing cluster transition:
eae27e
  * Resource action: R-lxc-01_kiff-01 monitor=10000 on kiff-02
eae27e
  * Resource action: R-lxc-02_kiff-01 monitor=10000 on kiff-02
eae27e
  * Resource action: vm-fs           start on lxc-01_kiff-01
eae27e
- * Resource action: vm-fs           monitor=20000 on lxc-01_kiff-01
eae27e
  * Resource action: lxc-01_kiff-01  monitor=30000 on kiff-02
eae27e
  * Resource action: lxc-02_kiff-01  monitor=30000 on kiff-02
eae27e
  * Pseudo action:   clvmd-clone_stop_0
eae27e
+ * Resource action: vm-fs           monitor=20000 on lxc-01_kiff-01
eae27e
  * Pseudo action:   clvmd_stop_0
eae27e
  * Pseudo action:   clvmd-clone_stopped_0
eae27e
  * Pseudo action:   dlm-clone_stop_0
eae27e
  * Pseudo action:   dlm_stop_0
eae27e
  * Pseudo action:   dlm-clone_stopped_0
eae27e
  * Pseudo action:   all_stopped
eae27e
+ * Resource action: fence-kiff-02   start on kiff-02
eae27e
+ * Resource action: fence-kiff-02   monitor=60000 on kiff-02
eae27e
 
eae27e
 Revised cluster status:
eae27e
 Online: [ kiff-02 ]
eae27e
diff --git a/pengine/test10/whitebox-ms-ordering.dot b/pengine/test10/whitebox-ms-ordering.dot
eae27e
index 7f03a65..bd77363 100644
eae27e
--- a/pengine/test10/whitebox-ms-ordering.dot
eae27e
+++ b/pengine/test10/whitebox-ms-ordering.dot
eae27e
@@ -79,4 +79,22 @@
eae27e
 "lxc2_start_0 18node1" -> "lxc-ms_start_0 lxc2" [ style = bold]
eae27e
 "lxc2_start_0 18node1" -> "lxc2_monitor_30000 18node1" [ style = bold]
eae27e
 "lxc2_start_0 18node1" [ style=bold color="green" fontcolor="black"]
eae27e
+"stonith 'reboot' lxc1" -> "lxc-ms-master_stop_0" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "lxc-ms_demote_0 lxc1" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "lxc-ms_stop_0 lxc1" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" -> "stonith_complete" [ style = bold]
eae27e
+"stonith 'reboot' lxc1" [ style=bold color="green" fontcolor="orange"]
eae27e
+"stonith 'reboot' lxc2" -> "lxc-ms-master_stop_0" [ style = bold]
eae27e
+"stonith 'reboot' lxc2" -> "lxc-ms_stop_0 lxc2" [ style = bold]
eae27e
+"stonith 'reboot' lxc2" -> "stonith_complete" [ style = bold]
eae27e
+"stonith 'reboot' lxc2" [ style=bold color="green" fontcolor="orange"]
eae27e
+"stonith_complete" -> "all_stopped" [ style = bold]
eae27e
+"stonith_complete" -> "container1_start_0 18node1" [ style = bold]
eae27e
+"stonith_complete" -> "container2_start_0 18node1" [ style = bold]
eae27e
+"stonith_complete" -> "lxc-ms_promote_0 lxc1" [ style = bold]
eae27e
+"stonith_complete" -> "lxc-ms_start_0 lxc1" [ style = bold]
eae27e
+"stonith_complete" -> "lxc-ms_start_0 lxc2" [ style = bold]
eae27e
+"stonith_complete" -> "lxc1_start_0 18node1" [ style = bold]
eae27e
+"stonith_complete" -> "lxc2_start_0 18node1" [ style = bold]
eae27e
+"stonith_complete" [ style=bold color="green" fontcolor="orange"]
eae27e
 }
eae27e
diff --git a/pengine/test10/whitebox-ms-ordering.exp b/pengine/test10/whitebox-ms-ordering.exp
eae27e
index 0566f41..7aecfba 100644
eae27e
--- a/pengine/test10/whitebox-ms-ordering.exp
eae27e
+++ b/pengine/test10/whitebox-ms-ordering.exp
eae27e
@@ -16,6 +16,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="9" operation="monitor" operation_key="container1_monitor_0" on_node="18node3" on_node_uuid="3"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="35" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="1">
eae27e
@@ -62,6 +65,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="10" operation="monitor" operation_key="container2_monitor_0" on_node="18node3" on_node_uuid="3"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="35" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="5">
eae27e
@@ -111,6 +117,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="31" operation="start" operation_key="lxc1_start_0" on_node="18node1" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="35" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="9">
eae27e
@@ -130,6 +139,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="31" operation="start" operation_key="lxc1_start_0" on_node="18node1" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="35" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="10">
eae27e
@@ -154,6 +166,9 @@
eae27e
       <trigger>
eae27e
         <pseudo_event id="25" operation="stop" operation_key="lxc-ms-master_stop_0"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="36" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="11">
eae27e
@@ -166,6 +181,9 @@
eae27e
       <trigger>
eae27e
         <pseudo_event id="29" operation="demote" operation_key="lxc-ms-master_demote_0"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="36" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="12">
eae27e
@@ -228,6 +246,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="33" operation="start" operation_key="lxc2_start_0" on_node="18node1" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="35" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="17">
eae27e
@@ -240,6 +261,9 @@
eae27e
       <trigger>
eae27e
         <pseudo_event id="25" operation="stop" operation_key="lxc-ms-master_stop_0"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="37" operation="stonith" operation_key="stonith-lxc2-reboot" on_node="lxc2" on_node_uuid="lxc2"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="18" priority="1000000">
eae27e
@@ -323,6 +347,12 @@
eae27e
       <trigger>
eae27e
         <pseudo_event id="30" operation="demoted" operation_key="lxc-ms-master_demoted_0"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="36" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="37" operation="stonith" operation_key="stonith-lxc2-reboot" on_node="lxc2" on_node_uuid="lxc2"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="24" priority="1000000">
eae27e
@@ -391,6 +421,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="14" operation="start" operation_key="container1_start_0" on_node="18node1" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="35" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="28">
eae27e
@@ -417,10 +450,50 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="15" operation="start" operation_key="container2_start_0" on_node="18node1" on_node_uuid="1"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="35" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
   <synapse id="30">
eae27e
     <action_set>
eae27e
+      <pseudo_event id="37" operation="stonith" operation_key="stonith-lxc2-reboot" on_node="lxc2" on_node_uuid="lxc2">
eae27e
+        <attributes CRM_meta_master_lxc_ms="5" CRM_meta_on_node="lxc2" CRM_meta_on_node_uuid="lxc2" CRM_meta_stonith_action="reboot" />
eae27e
+        <downed>
eae27e
+          <node id="lxc2"/>
eae27e
+        </downed>
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs/>
eae27e
+  </synapse>
eae27e
+  <synapse id="31">
eae27e
+    <action_set>
eae27e
+      <pseudo_event id="36" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1">
eae27e
+        <attributes CRM_meta_master_lxc_ms="10" CRM_meta_on_node="lxc1" CRM_meta_on_node_uuid="lxc1" CRM_meta_stonith_action="reboot" />
eae27e
+        <downed>
eae27e
+          <node id="lxc1"/>
eae27e
+        </downed>
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs/>
eae27e
+  </synapse>
eae27e
+  <synapse id="32">
eae27e
+    <action_set>
eae27e
+      <pseudo_event id="35" operation="stonith_complete" operation_key="stonith_complete">
eae27e
+        <attributes />
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="36" operation="stonith" operation_key="stonith-lxc1-reboot" on_node="lxc1" on_node_uuid="lxc1"/>
eae27e
+      </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="37" operation="stonith" operation_key="stonith-lxc2-reboot" on_node="lxc2" on_node_uuid="lxc2"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="33">
eae27e
+    <action_set>
eae27e
       <pseudo_event id="2" operation="all_stopped" operation_key="all_stopped">
eae27e
         <attributes />
eae27e
       </pseudo_event>
eae27e
@@ -432,6 +505,9 @@
eae27e
       <trigger>
eae27e
         <pseudo_event id="20" operation="stop" operation_key="lxc-ms_stop_0" internal_operation_key="lxc-ms:1_stop_0"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="35" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
 </transition_graph>
eae27e
diff --git a/pengine/test10/whitebox-ms-ordering.summary b/pengine/test10/whitebox-ms-ordering.summary
eae27e
index d6bbaaf..5d7c042 100644
eae27e
--- a/pengine/test10/whitebox-ms-ordering.summary
eae27e
+++ b/pengine/test10/whitebox-ms-ordering.summary
eae27e
@@ -27,6 +27,9 @@ Executing cluster transition:
eae27e
  * Resource action: lxc-ms          monitor on 18node2
eae27e
  * Resource action: lxc-ms          monitor on 18node1
eae27e
  * Pseudo action:   lxc-ms-master_demote_0
eae27e
+ * Pseudo action:   stonith-lxc2-reboot on lxc2
eae27e
+ * Pseudo action:   stonith-lxc1-reboot on lxc1
eae27e
+ * Pseudo action:   stonith_complete
eae27e
  * Resource action: container1      start on 18node1
eae27e
  * Resource action: container2      start on 18node1
eae27e
  * Pseudo action:   lxc-ms_demote_0
eae27e
diff --git a/pengine/test10/whitebox-unexpectedly-running.dot b/pengine/test10/whitebox-unexpectedly-running.dot
eae27e
index d87344a..2915d77 100644
eae27e
--- a/pengine/test10/whitebox-unexpectedly-running.dot
eae27e
+++ b/pengine/test10/whitebox-unexpectedly-running.dot
eae27e
@@ -5,9 +5,14 @@
eae27e
 "FAKE_start_0 18builder" [ style=bold color="green" fontcolor="black"]
eae27e
 "FAKE_stop_0 18builder" -> "FAKE_start_0 18builder" [ style = bold]
eae27e
 "FAKE_stop_0 18builder" -> "all_stopped" [ style = bold]
eae27e
+"FAKE_stop_0 18builder" -> "stonith 'reboot' remote1" [ style = bold]
eae27e
 "FAKE_stop_0 18builder" [ style=bold color="green" fontcolor="black"]
eae27e
 "all_stopped" [ style=bold color="green" fontcolor="orange"]
eae27e
 "remote1_monitor_30000 18builder" [ style=bold color="green" fontcolor="black"]
eae27e
 "remote1_start_0 18builder" -> "remote1_monitor_30000 18builder" [ style = bold]
eae27e
 "remote1_start_0 18builder" [ style=bold color="green" fontcolor="black"]
eae27e
+"stonith 'reboot' remote1" -> "stonith_complete" [ style = bold]
eae27e
+"stonith 'reboot' remote1" [ style=bold color="green" fontcolor="orange"]
eae27e
+"stonith_complete" -> "all_stopped" [ style = bold]
eae27e
+"stonith_complete" [ style=bold color="green" fontcolor="orange"]
eae27e
 }
eae27e
diff --git a/pengine/test10/whitebox-unexpectedly-running.exp b/pengine/test10/whitebox-unexpectedly-running.exp
eae27e
index 29cd66b..c5272f2 100644
eae27e
--- a/pengine/test10/whitebox-unexpectedly-running.exp
eae27e
+++ b/pengine/test10/whitebox-unexpectedly-running.exp
eae27e
@@ -62,6 +62,33 @@
eae27e
   </synapse>
eae27e
   <synapse id="5">
eae27e
     <action_set>
eae27e
+      <pseudo_event id="8" operation="stonith" operation_key="stonith-remote1-reboot" on_node="remote1" on_node_uuid="remote1">
eae27e
+        <attributes CRM_meta_on_node="remote1" CRM_meta_on_node_uuid="remote1" CRM_meta_stonith_action="reboot" />
eae27e
+        <downed>
eae27e
+          <node id="remote1"/>
eae27e
+        </downed>
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <rsc_op id="2" operation="stop" operation_key="FAKE_stop_0" on_node="18builder" on_node_uuid="5"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="6">
eae27e
+    <action_set>
eae27e
+      <pseudo_event id="7" operation="stonith_complete" operation_key="stonith_complete">
eae27e
+        <attributes />
eae27e
+      </pseudo_event>
eae27e
+    </action_set>
eae27e
+    <inputs>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="8" operation="stonith" operation_key="stonith-remote1-reboot" on_node="remote1" on_node_uuid="remote1"/>
eae27e
+      </trigger>
eae27e
+    </inputs>
eae27e
+  </synapse>
eae27e
+  <synapse id="7">
eae27e
+    <action_set>
eae27e
       <pseudo_event id="1" operation="all_stopped" operation_key="all_stopped">
eae27e
         <attributes />
eae27e
       </pseudo_event>
eae27e
@@ -70,6 +97,9 @@
eae27e
       <trigger>
eae27e
         <rsc_op id="2" operation="stop" operation_key="FAKE_stop_0" on_node="18builder" on_node_uuid="5"/>
eae27e
       </trigger>
eae27e
+      <trigger>
eae27e
+        <pseudo_event id="7" operation="stonith_complete" operation_key="stonith_complete"/>
eae27e
+      </trigger>
eae27e
     </inputs>
eae27e
   </synapse>
eae27e
 </transition_graph>
eae27e
diff --git a/pengine/test10/whitebox-unexpectedly-running.summary b/pengine/test10/whitebox-unexpectedly-running.summary
eae27e
index f834e41..7d5b908 100644
eae27e
--- a/pengine/test10/whitebox-unexpectedly-running.summary
eae27e
+++ b/pengine/test10/whitebox-unexpectedly-running.summary
eae27e
@@ -10,6 +10,8 @@ Transition Summary:
eae27e
 
eae27e
 Executing cluster transition:
eae27e
  * Resource action: FAKE            stop on 18builder
eae27e
+ * Pseudo action:   stonith-remote1-reboot on remote1
eae27e
+ * Pseudo action:   stonith_complete
eae27e
  * Pseudo action:   all_stopped
eae27e
  * Resource action: FAKE            start on 18builder
eae27e
  * Resource action: remote1         start on 18builder
eae27e
-- 
eae27e
1.8.3.1
eae27e