From: Andrew Beekhof Date: Tue, 18 Aug 2015 10:31:06 +1000 Subject: [PATCH] Test: PE: Bug cl#5247 - Imply resources running on a container are stopped when the container is stopped (cherry picked from commit 825e82a5098bde0412944c7d4f54c3d825ddff08) --- pengine/regression.sh | 29 +- pengine/test10/bug-cl-5247.dot | 136 +++++++ pengine/test10/bug-cl-5247.exp | 704 +++++++++++++++++++++++++++++++++++++ pengine/test10/bug-cl-5247.scores | 84 +++++ pengine/test10/bug-cl-5247.summary | 96 +++++ pengine/test10/bug-cl-5247.xml | 295 ++++++++++++++++ 6 files changed, 1331 insertions(+), 13 deletions(-) create mode 100644 pengine/test10/bug-cl-5247.dot create mode 100644 pengine/test10/bug-cl-5247.exp create mode 100644 pengine/test10/bug-cl-5247.scores create mode 100644 pengine/test10/bug-cl-5247.summary create mode 100644 pengine/test10/bug-cl-5247.xml diff --git a/pengine/regression.sh b/pengine/regression.sh index 7f73f92..1517e3d 100755 --- a/pengine/regression.sh +++ b/pengine/regression.sh @@ -31,19 +31,6 @@ info Performing the following tests from $io_dir create_mode="false" echo "" -do_test cloned_start_one "order first clone then clone... first clone_min=2" -do_test cloned_start_two "order first clone then clone... first clone_min=2" -do_test cloned_stop_one "order first clone then clone... first clone_min=2" -do_test cloned_stop_two "order first clone then clone... first clone_min=2" -do_test clone_min_interleave_start_one "order first clone then clone... first clone_min=2 and then has interleave=true" -do_test clone_min_interleave_start_two "order first clone then clone... first clone_min=2 and then has interleave=true" -do_test clone_min_interleave_stop_one "order first clone then clone... first clone_min=2 and then has interleave=true" -do_test clone_min_interleave_stop_two "order first clone then clone... first clone_min=2 and then has interleave=true" -do_test clone_min_start_one "order first clone then primitive... first clone_min=2" -do_test clone_min_start_two "order first clone then primitive... first clone_min=2" -do_test clone_min_stop_all "order first clone then primitive... first clone_min=2" -do_test clone_min_stop_one "order first clone then primitive... first clone_min=2" -do_test clone_min_stop_two "order first clone then primitive... first clone_min=2" do_test simple1 "Offline " do_test simple2 "Start " @@ -373,6 +360,21 @@ do_test clone-interleave-2 "Clone-3 must stop on pcmk-1 due to interleaved order do_test clone-interleave-3 "Clone-3 must be recovered on pcmk-1 due to interleaved ordering (no colocation)" echo "" +do_test cloned_start_one "order first clone then clone... first clone_min=2" +do_test cloned_start_two "order first clone then clone... first clone_min=2" +do_test cloned_stop_one "order first clone then clone... first clone_min=2" +do_test cloned_stop_two "order first clone then clone... first clone_min=2" +do_test clone_min_interleave_start_one "order first clone then clone... first clone_min=2 and then has interleave=true" +do_test clone_min_interleave_start_two "order first clone then clone... first clone_min=2 and then has interleave=true" +do_test clone_min_interleave_stop_one "order first clone then clone... first clone_min=2 and then has interleave=true" +do_test clone_min_interleave_stop_two "order first clone then clone... first clone_min=2 and then has interleave=true" +do_test clone_min_start_one "order first clone then primitive... first clone_min=2" +do_test clone_min_start_two "order first clone then primitive... first clone_min=2" +do_test clone_min_stop_all "order first clone then primitive... first clone_min=2" +do_test clone_min_stop_one "order first clone then primitive... first clone_min=2" +do_test clone_min_stop_two "order first clone then primitive... first clone_min=2" + +echo "" do_test unfence-startup "Clean unfencing" do_test unfence-definition "Unfencing when the agent changes" do_test unfence-parameters "Unfencing when the agent parameters changes" @@ -785,6 +787,7 @@ do_test container-group-3 "Container in group - stop failed" do_test container-group-4 "Container in group - reached migration-threshold" do_test container-is-remote-node "Place resource within container when container is remote-node" do_test bug-rh-1097457 "Kill user defined container/contents ordering" +do_test bug-cl-5247 "Graph loop when recovering m/s resource in a container" echo "" do_test whitebox-fail1 "Fail whitebox container rsc." diff --git a/pengine/test10/bug-cl-5247.dot b/pengine/test10/bug-cl-5247.dot new file mode 100644 index 0000000..ed728ac --- /dev/null +++ b/pengine/test10/bug-cl-5247.dot @@ -0,0 +1,136 @@ +digraph "g" { +"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] +"grpStonith1_start_0" -> "prmStonith1-2_start_0 bl460g8n4" [ style = bold] +"grpStonith1_start_0" [ style=bold color="green" fontcolor="orange"] +"grpStonith1_stop_0" -> "grpStonith1_stopped_0" [ style = bold] +"grpStonith1_stop_0" -> "prmStonith1-2_stop_0 bl460g8n4" [ style = bold] +"grpStonith1_stop_0" [ style=bold color="green" fontcolor="orange"] +"grpStonith1_stopped_0" -> "grpStonith1_start_0" [ style = bold] +"grpStonith1_stopped_0" [ style=bold color="green" fontcolor="orange"] +"grpStonith2_running_0" [ style=bold color="green" fontcolor="orange"] +"grpStonith2_start_0" -> "grpStonith2_running_0" [ style = bold] +"grpStonith2_start_0" -> "prmStonith2-2_start_0 bl460g8n3" [ style = bold] +"grpStonith2_start_0" [ style=bold color="green" fontcolor="orange"] +"grpStonith2_stop_0" -> "grpStonith2_stopped_0" [ style = bold] +"grpStonith2_stop_0" -> "prmStonith2-2_stop_0 bl460g8n3" [ style = bold] +"grpStonith2_stop_0" [ style=bold color="green" fontcolor="orange"] +"grpStonith2_stopped_0" -> "grpStonith2_start_0" [ style = bold] +"grpStonith2_stopped_0" [ style=bold color="green" fontcolor="orange"] +"master-group_running_0" [ style=bold color="green" fontcolor="orange"] +"master-group_start_0" -> "master-group_running_0" [ style = bold] +"master-group_start_0" -> "vip-master_start_0 pgsr01" [ style = bold] +"master-group_start_0" -> "vip-rep_start_0 pgsr01" [ style = bold] +"master-group_start_0" [ style=bold color="green" fontcolor="orange"] +"master-group_stop_0" -> "master-group_stopped_0" [ style = bold] +"master-group_stop_0" -> "vip-master_stop_0 pgsr02" [ style = bold] +"master-group_stop_0" -> "vip-rep_stop_0 pgsr02" [ style = bold] +"master-group_stop_0" [ style=bold color="green" fontcolor="orange"] +"master-group_stopped_0" -> "master-group_start_0" [ style = bold] +"master-group_stopped_0" [ style=bold color="green" fontcolor="orange"] +"msPostgresql_confirmed-post_notify_demoted_0" -> "master-group_stop_0" [ style = bold] +"msPostgresql_confirmed-post_notify_demoted_0" -> "msPostgresql_pre_notify_stop_0" [ style = bold] +"msPostgresql_confirmed-post_notify_demoted_0" -> "pgsql_monitor_9000 pgsr01" [ style = bold] +"msPostgresql_confirmed-post_notify_demoted_0" [ style=bold color="green" fontcolor="orange"] +"msPostgresql_confirmed-post_notify_stopped_0" -> "all_stopped" [ style = bold] +"msPostgresql_confirmed-post_notify_stopped_0" -> "pgsql_monitor_9000 pgsr01" [ style = bold] +"msPostgresql_confirmed-post_notify_stopped_0" [ style=bold color="green" fontcolor="orange"] +"msPostgresql_confirmed-pre_notify_demote_0" -> "msPostgresql_demote_0" [ style = bold] +"msPostgresql_confirmed-pre_notify_demote_0" -> "msPostgresql_post_notify_demoted_0" [ style = bold] +"msPostgresql_confirmed-pre_notify_demote_0" [ style=bold color="green" fontcolor="orange"] +"msPostgresql_confirmed-pre_notify_stop_0" -> "msPostgresql_post_notify_stopped_0" [ style = bold] +"msPostgresql_confirmed-pre_notify_stop_0" -> "msPostgresql_stop_0" [ style = bold] +"msPostgresql_confirmed-pre_notify_stop_0" [ style=bold color="green" fontcolor="orange"] +"msPostgresql_demote_0" -> "msPostgresql_demoted_0" [ style = bold] +"msPostgresql_demote_0" -> "pgsql_demote_0 pgsr02" [ style = bold] +"msPostgresql_demote_0" [ style=bold color="green" fontcolor="orange"] +"msPostgresql_demoted_0" -> "msPostgresql_post_notify_demoted_0" [ style = bold] +"msPostgresql_demoted_0" -> "msPostgresql_stop_0" [ style = bold] +"msPostgresql_demoted_0" [ style=bold color="green" fontcolor="orange"] +"msPostgresql_post_notify_demoted_0" -> "msPostgresql_confirmed-post_notify_demoted_0" [ style = bold] +"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" [ 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] +"msPostgresql_pre_notify_demote_0" [ style=bold color="green" fontcolor="orange"] +"msPostgresql_pre_notify_stop_0" -> "msPostgresql_confirmed-pre_notify_stop_0" [ style = bold] +"msPostgresql_pre_notify_stop_0" -> "pgsql_pre_notify_stop_0 pgsr01" [ style = bold] +"msPostgresql_pre_notify_stop_0" [ style=bold color="green" fontcolor="orange"] +"msPostgresql_stop_0" -> "msPostgresql_stopped_0" [ style = bold] +"msPostgresql_stop_0" -> "pgsql_stop_0 pgsr02" [ style = bold] +"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_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_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] +"pgsql_pre_notify_stop_0 pgsr01" [ style=bold color="green" fontcolor="black"] +"pgsql_stop_0 pgsr02" -> "all_stopped" [ style = bold] +"pgsql_stop_0 pgsr02" -> "msPostgresql_stopped_0" [ style = bold] +"pgsql_stop_0 pgsr02" [ style=bold color="green" fontcolor="orange"] +"pgsr02_stop_0 bl460g8n4" -> "all_stopped" [ style = bold] +"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" [ 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] +"prmStonith1-2_start_0 bl460g8n4" -> "prmStonith1-2_monitor_3600000 bl460g8n4" [ style = bold] +"prmStonith1-2_start_0 bl460g8n4" [ style=bold color="green" fontcolor="black"] +"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"] +"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] +"prmStonith2-2_start_0 bl460g8n3" [ style=bold color="green" fontcolor="black"] +"prmStonith2-2_stop_0 bl460g8n3" -> "all_stopped" [ style = bold] +"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"] +"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] +"vip-master_start_0 pgsr01" -> "vip-rep_start_0 pgsr01" [ style = bold] +"vip-master_start_0 pgsr01" [ style=bold color="green" fontcolor="black"] +"vip-master_stop_0 pgsr02" -> "all_stopped" [ style = bold] +"vip-master_stop_0 pgsr02" -> "master-group_stopped_0" [ style = bold] +"vip-master_stop_0 pgsr02" -> "vip-master_start_0 pgsr01" [ style = bold] +"vip-master_stop_0 pgsr02" [ style=bold color="green" fontcolor="orange"] +"vip-rep_monitor_10000 pgsr01" [ style=bold color="green" fontcolor="black"] +"vip-rep_start_0 pgsr01" -> "master-group_running_0" [ style = bold] +"vip-rep_start_0 pgsr01" -> "vip-rep_monitor_10000 pgsr01" [ style = bold] +"vip-rep_start_0 pgsr01" [ style=bold color="green" fontcolor="black"] +"vip-rep_stop_0 pgsr02" -> "all_stopped" [ style = bold] +"vip-rep_stop_0 pgsr02" -> "master-group_stopped_0" [ style = bold] +"vip-rep_stop_0 pgsr02" -> "vip-master_stop_0 pgsr02" [ style = bold] +"vip-rep_stop_0 pgsr02" -> "vip-rep_start_0 pgsr01" [ style = bold] +"vip-rep_stop_0 pgsr02" [ style=bold color="green" fontcolor="orange"] +} diff --git a/pengine/test10/bug-cl-5247.exp b/pengine/test10/bug-cl-5247.exp new file mode 100644 index 0000000..5e36e84 --- /dev/null +++ b/pengine/test10/bug-cl-5247.exp @@ -0,0 +1,704 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pengine/test10/bug-cl-5247.scores b/pengine/test10/bug-cl-5247.scores new file mode 100644 index 0000000..e9e4709 --- /dev/null +++ b/pengine/test10/bug-cl-5247.scores @@ -0,0 +1,84 @@ +Allocation scores: +Using the original execution date of: 2015-08-12 02:53:40Z +clone_color: msPostgresql allocation score on bl460g8n3: -INFINITY +clone_color: msPostgresql allocation score on bl460g8n4: -INFINITY +clone_color: msPostgresql allocation score on pgsr01: 0 +clone_color: msPostgresql allocation score on pgsr02: 0 +clone_color: pgsql:0 allocation score on bl460g8n3: -INFINITY +clone_color: pgsql:0 allocation score on bl460g8n4: -INFINITY +clone_color: pgsql:0 allocation score on pgsr01: 0 +clone_color: pgsql:0 allocation score on pgsr02: INFINITY +clone_color: pgsql:1 allocation score on bl460g8n3: -INFINITY +clone_color: pgsql:1 allocation score on bl460g8n4: -INFINITY +clone_color: pgsql:1 allocation score on pgsr01: INFINITY +clone_color: pgsql:1 allocation score on pgsr02: 0 +group_color: grpStonith1 allocation score on bl460g8n3: -INFINITY +group_color: grpStonith1 allocation score on bl460g8n4: 0 +group_color: grpStonith1 allocation score on pgsr01: -INFINITY +group_color: grpStonith1 allocation score on pgsr02: -INFINITY +group_color: grpStonith2 allocation score on bl460g8n3: 0 +group_color: grpStonith2 allocation score on bl460g8n4: -INFINITY +group_color: grpStonith2 allocation score on pgsr01: -INFINITY +group_color: grpStonith2 allocation score on pgsr02: -INFINITY +group_color: master-group allocation score on bl460g8n3: 0 +group_color: master-group allocation score on bl460g8n4: 0 +group_color: master-group allocation score on pgsr01: 0 +group_color: master-group allocation score on pgsr02: 0 +group_color: prmStonith1-2 allocation score on bl460g8n3: -INFINITY +group_color: prmStonith1-2 allocation score on bl460g8n4: INFINITY +group_color: prmStonith1-2 allocation score on pgsr01: -INFINITY +group_color: prmStonith1-2 allocation score on pgsr02: -INFINITY +group_color: prmStonith2-2 allocation score on bl460g8n3: INFINITY +group_color: prmStonith2-2 allocation score on bl460g8n4: -INFINITY +group_color: prmStonith2-2 allocation score on pgsr01: -INFINITY +group_color: prmStonith2-2 allocation score on pgsr02: -INFINITY +group_color: vip-master allocation score on bl460g8n3: 0 +group_color: vip-master allocation score on bl460g8n4: 0 +group_color: vip-master allocation score on pgsr01: 0 +group_color: vip-master allocation score on pgsr02: INFINITY +group_color: vip-rep allocation score on bl460g8n3: 0 +group_color: vip-rep allocation score on bl460g8n4: 0 +group_color: vip-rep allocation score on pgsr01: 0 +group_color: vip-rep allocation score on pgsr02: INFINITY +native_color: pgsql:0 allocation score on bl460g8n3: -INFINITY +native_color: pgsql:0 allocation score on bl460g8n4: -INFINITY +native_color: pgsql:0 allocation score on pgsr01: -INFINITY +native_color: pgsql:0 allocation score on pgsr02: -INFINITY +native_color: pgsql:1 allocation score on bl460g8n3: -INFINITY +native_color: pgsql:1 allocation score on bl460g8n4: -INFINITY +native_color: pgsql:1 allocation score on pgsr01: INFINITY +native_color: pgsql:1 allocation score on pgsr02: -INFINITY +native_color: pgsr01 allocation score on bl460g8n3: INFINITY +native_color: pgsr01 allocation score on bl460g8n4: -INFINITY +native_color: pgsr01 allocation score on pgsr01: -INFINITY +native_color: pgsr01 allocation score on pgsr02: -INFINITY +native_color: pgsr02 allocation score on bl460g8n3: -INFINITY +native_color: pgsr02 allocation score on bl460g8n4: -INFINITY +native_color: pgsr02 allocation score on pgsr01: -INFINITY +native_color: pgsr02 allocation score on pgsr02: -INFINITY +native_color: prmDB1 allocation score on bl460g8n3: INFINITY +native_color: prmDB1 allocation score on bl460g8n4: -INFINITY +native_color: prmDB1 allocation score on pgsr01: -INFINITY +native_color: prmDB1 allocation score on pgsr02: -INFINITY +native_color: prmDB2 allocation score on bl460g8n3: -INFINITY +native_color: prmDB2 allocation score on bl460g8n4: -INFINITY +native_color: prmDB2 allocation score on pgsr01: -INFINITY +native_color: prmDB2 allocation score on pgsr02: -INFINITY +native_color: prmStonith1-2 allocation score on bl460g8n3: -INFINITY +native_color: prmStonith1-2 allocation score on bl460g8n4: INFINITY +native_color: prmStonith1-2 allocation score on pgsr01: -INFINITY +native_color: prmStonith1-2 allocation score on pgsr02: -INFINITY +native_color: prmStonith2-2 allocation score on bl460g8n3: INFINITY +native_color: prmStonith2-2 allocation score on bl460g8n4: -INFINITY +native_color: prmStonith2-2 allocation score on pgsr01: -INFINITY +native_color: prmStonith2-2 allocation score on pgsr02: -INFINITY +native_color: vip-master allocation score on bl460g8n3: -INFINITY +native_color: vip-master allocation score on bl460g8n4: -INFINITY +native_color: vip-master allocation score on pgsr01: INFINITY +native_color: vip-master allocation score on pgsr02: -INFINITY +native_color: vip-rep allocation score on bl460g8n3: -INFINITY +native_color: vip-rep allocation score on bl460g8n4: -INFINITY +native_color: vip-rep allocation score on pgsr01: 0 +native_color: vip-rep allocation score on pgsr02: -INFINITY +pgsql:0 promotion score on none: 0 +pgsql:1 promotion score on pgsr01: 10 diff --git a/pengine/test10/bug-cl-5247.summary b/pengine/test10/bug-cl-5247.summary new file mode 100644 index 0000000..5564286 --- /dev/null +++ b/pengine/test10/bug-cl-5247.summary @@ -0,0 +1,96 @@ +Using the original execution date of: 2015-08-12 02:53:40Z + +Current cluster status: +Online: [ bl460g8n3 bl460g8n4 ] +Containers: [ pgsr01:prmDB1 ] + + prmDB1 (ocf::heartbeat:VirtualDomain): Started bl460g8n3 + prmDB2 (ocf::heartbeat:VirtualDomain): FAILED bl460g8n4 + Resource Group: grpStonith1 + prmStonith1-2 (stonith:external/ipmi): Started bl460g8n4 + Resource Group: grpStonith2 + prmStonith2-2 (stonith:external/ipmi): Started bl460g8n3 + Resource Group: master-group + vip-master (ocf::heartbeat:Dummy): FAILED pgsr02 + vip-rep (ocf::heartbeat:Dummy): FAILED pgsr02 + Master/Slave Set: msPostgresql [pgsql] + Masters: [ pgsr01 ] + Stopped: [ bl460g8n3 bl460g8n4 ] + +Transition Summary: + * Stop prmDB2 (bl460g8n4) + * Restart prmStonith1-2 (Started bl460g8n4) + * Restart prmStonith2-2 (Started bl460g8n3) + * Recover vip-master (Started pgsr02 -> pgsr01) + * Recover vip-rep (Started pgsr02 -> pgsr01) + * Demote pgsql:0 (Master -> Stopped pgsr02) + * Stop pgsr02 (bl460g8n4) + +Executing cluster transition: + * Pseudo action: grpStonith1_stop_0 + * Pseudo action: prmStonith1-2_stop_0 + * Pseudo action: grpStonith2_stop_0 + * Resource action: prmStonith2-2 stop on bl460g8n3 + * Pseudo action: msPostgresql_pre_notify_demote_0 + * Resource action: pgsr02 stop on bl460g8n4 + * 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: pgsql_demote_0 + * Pseudo action: msPostgresql_demoted_0 + * Pseudo action: msPostgresql_post_notify_demoted_0 + * Resource action: pgsql notify on pgsr01 + * Pseudo action: msPostgresql_confirmed-post_notify_demoted_0 + * Pseudo action: msPostgresql_pre_notify_stop_0 + * Pseudo action: master-group_stop_0 + * Pseudo action: vip-rep_stop_0 + * Resource action: pgsql notify on pgsr01 + * Pseudo action: msPostgresql_confirmed-pre_notify_stop_0 + * Pseudo action: msPostgresql_stop_0 + * Pseudo action: vip-master_stop_0 + * Pseudo action: pgsql_stop_0 + * Pseudo action: msPostgresql_stopped_0 + * Pseudo action: master-group_stopped_0 + * Pseudo action: master-group_start_0 + * Resource action: vip-master start on pgsr01 + * Resource action: vip-rep start on pgsr01 + * Pseudo action: msPostgresql_post_notify_stopped_0 + * Pseudo action: master-group_running_0 + * Resource action: vip-master monitor=10000 on pgsr01 + * Resource action: vip-rep monitor=10000 on pgsr01 + * Resource action: pgsql notify on pgsr01 + * Pseudo action: msPostgresql_confirmed-post_notify_stopped_0 + * Pseudo action: pgsql_notified_0 + * Resource action: pgsql monitor=9000 on pgsr01 + * Pseudo action: all_stopped +Using the original execution date of: 2015-08-12 02:53:40Z + +Revised cluster status: +Online: [ bl460g8n3 bl460g8n4 ] +Containers: [ pgsr01:prmDB1 ] + + prmDB1 (ocf::heartbeat:VirtualDomain): Started bl460g8n3 + prmDB2 (ocf::heartbeat:VirtualDomain): FAILED + Resource Group: grpStonith1 + prmStonith1-2 (stonith:external/ipmi): Started bl460g8n4 + Resource Group: grpStonith2 + prmStonith2-2 (stonith:external/ipmi): Started bl460g8n3 + Resource Group: master-group + vip-master (ocf::heartbeat:Dummy): FAILED[ pgsr02 pgsr01 ] + vip-rep (ocf::heartbeat:Dummy): FAILED[ pgsr02 pgsr01 ] + Master/Slave Set: msPostgresql [pgsql] + Masters: [ pgsr01 ] + Stopped: [ bl460g8n3 bl460g8n4 ] + diff --git a/pengine/test10/bug-cl-5247.xml b/pengine/test10/bug-cl-5247.xml new file mode 100644 index 0000000..c36ef40 --- /dev/null +++ b/pengine/test10/bug-cl-5247.xml @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +