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