diff --git a/cts/scheduler/dot/coloc-with-inner-group-member.dot b/cts/scheduler/dot/coloc-with-inner-group-member.dot index 77e1a8e6e4..a3bad7aab1 100644 --- a/cts/scheduler/dot/coloc-with-inner-group-member.dot +++ b/cts/scheduler/dot/coloc-with-inner-group-member.dot @@ -1,8 +1,40 @@ digraph "g" { +"bar_monitor_10000 rhel8-3" [ style=bold color="green" fontcolor="black"] +"bar_start_0 rhel8-3" -> "bar_monitor_10000 rhel8-3" [ style = bold] +"bar_start_0 rhel8-3" -> "grp_running_0" [ style = bold] +"bar_start_0 rhel8-3" -> "vip_start_0 rhel8-3" [ style = bold] +"bar_start_0 rhel8-3" [ style=bold color="green" fontcolor="black"] +"bar_stop_0 rhel8-4" -> "bar_start_0 rhel8-3" [ style = bold] +"bar_stop_0 rhel8-4" -> "foo_stop_0 rhel8-4" [ style = bold] +"bar_stop_0 rhel8-4" -> "grp_stopped_0" [ style = bold] +"bar_stop_0 rhel8-4" [ style=bold color="green" fontcolor="black"] +"foo_monitor_10000 rhel8-3" [ style=bold color="green" fontcolor="black"] +"foo_start_0 rhel8-3" -> "bar_start_0 rhel8-3" [ style = bold] +"foo_start_0 rhel8-3" -> "foo_monitor_10000 rhel8-3" [ style = bold] +"foo_start_0 rhel8-3" -> "grp_running_0" [ style = bold] +"foo_start_0 rhel8-3" [ style=bold color="green" fontcolor="black"] +"foo_stop_0 rhel8-4" -> "foo_start_0 rhel8-3" [ style = bold] +"foo_stop_0 rhel8-4" -> "grp_stopped_0" [ style = bold] +"foo_stop_0 rhel8-4" [ style=bold color="green" fontcolor="black"] +"grp_running_0" [ style=bold color="green" fontcolor="orange"] +"grp_start_0" -> "bar_start_0 rhel8-3" [ style = bold] +"grp_start_0" -> "foo_start_0 rhel8-3" [ style = bold] +"grp_start_0" -> "grp_running_0" [ style = bold] +"grp_start_0" -> "vip_start_0 rhel8-3" [ style = bold] +"grp_start_0" [ style=bold color="green" fontcolor="orange"] +"grp_stop_0" -> "bar_stop_0 rhel8-4" [ style = bold] +"grp_stop_0" -> "foo_stop_0 rhel8-4" [ style = bold] "grp_stop_0" -> "grp_stopped_0" [ style = bold] "grp_stop_0" -> "vip_stop_0 rhel8-3" [ style = bold] "grp_stop_0" [ style=bold color="green" fontcolor="orange"] +"grp_stopped_0" -> "grp_start_0" [ style = bold] "grp_stopped_0" [ style=bold color="green" fontcolor="orange"] +"vip_monitor_10000 rhel8-3" [ style=bold color="green" fontcolor="black"] +"vip_start_0 rhel8-3" -> "grp_running_0" [ style = bold] +"vip_start_0 rhel8-3" -> "vip_monitor_10000 rhel8-3" [ style = bold] +"vip_start_0 rhel8-3" [ style=bold color="green" fontcolor="black"] +"vip_stop_0 rhel8-3" -> "bar_stop_0 rhel8-4" [ style = bold] "vip_stop_0 rhel8-3" -> "grp_stopped_0" [ style = bold] +"vip_stop_0 rhel8-3" -> "vip_start_0 rhel8-3" [ style = bold] "vip_stop_0 rhel8-3" [ style=bold color="green" fontcolor="black"] } diff --git a/cts/scheduler/exp/coloc-with-inner-group-member.exp b/cts/scheduler/exp/coloc-with-inner-group-member.exp index e6d94d5fe7..bb8f779feb 100644 --- a/cts/scheduler/exp/coloc-with-inner-group-member.exp +++ b/cts/scheduler/exp/coloc-with-inner-group-member.exp @@ -1,38 +1,202 @@ - + - + - + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + diff --git a/cts/scheduler/scores/coloc-with-inner-group-member.scores b/cts/scheduler/scores/coloc-with-inner-group-member.scores index 10fe944cb4..8d1c6f621c 100644 --- a/cts/scheduler/scores/coloc-with-inner-group-member.scores +++ b/cts/scheduler/scores/coloc-with-inner-group-member.scores @@ -1,46 +1,46 @@ pcmk__group_assign: bar allocation score on rhel8-1: 0 pcmk__group_assign: bar allocation score on rhel8-2: 0 pcmk__group_assign: bar allocation score on rhel8-3: 0 pcmk__group_assign: bar allocation score on rhel8-4: 0 pcmk__group_assign: bar allocation score on rhel8-5: 0 pcmk__group_assign: foo allocation score on rhel8-1: 0 pcmk__group_assign: foo allocation score on rhel8-2: 0 pcmk__group_assign: foo allocation score on rhel8-3: 0 pcmk__group_assign: foo allocation score on rhel8-4: 0 pcmk__group_assign: foo allocation score on rhel8-5: 0 pcmk__group_assign: grp allocation score on rhel8-1: 0 pcmk__group_assign: grp allocation score on rhel8-2: 0 pcmk__group_assign: grp allocation score on rhel8-3: 0 pcmk__group_assign: grp allocation score on rhel8-4: 0 pcmk__group_assign: grp allocation score on rhel8-5: 0 pcmk__group_assign: vip allocation score on rhel8-1: 0 pcmk__group_assign: vip allocation score on rhel8-2: 0 pcmk__group_assign: vip allocation score on rhel8-3: 0 pcmk__group_assign: vip allocation score on rhel8-4: 0 pcmk__group_assign: vip allocation score on rhel8-5: 0 pcmk__primitive_assign: Fencing allocation score on rhel8-1: 0 pcmk__primitive_assign: Fencing allocation score on rhel8-2: 0 pcmk__primitive_assign: Fencing allocation score on rhel8-3: 0 pcmk__primitive_assign: Fencing allocation score on rhel8-4: 0 pcmk__primitive_assign: Fencing allocation score on rhel8-5: 0 pcmk__primitive_assign: bar allocation score on rhel8-1: -INFINITY pcmk__primitive_assign: bar allocation score on rhel8-2: -INFINITY -pcmk__primitive_assign: bar allocation score on rhel8-3: -INFINITY -pcmk__primitive_assign: bar allocation score on rhel8-4: 0 +pcmk__primitive_assign: bar allocation score on rhel8-3: 0 +pcmk__primitive_assign: bar allocation score on rhel8-4: -INFINITY pcmk__primitive_assign: bar allocation score on rhel8-5: -INFINITY -pcmk__primitive_assign: foo allocation score on rhel8-1: 0 -pcmk__primitive_assign: foo allocation score on rhel8-2: 0 +pcmk__primitive_assign: foo allocation score on rhel8-1: -INFINITY +pcmk__primitive_assign: foo allocation score on rhel8-2: -INFINITY pcmk__primitive_assign: foo allocation score on rhel8-3: 0 -pcmk__primitive_assign: foo allocation score on rhel8-4: 0 -pcmk__primitive_assign: foo allocation score on rhel8-5: 0 +pcmk__primitive_assign: foo allocation score on rhel8-4: -INFINITY +pcmk__primitive_assign: foo allocation score on rhel8-5: -INFINITY pcmk__primitive_assign: vip allocation score on rhel8-1: -INFINITY pcmk__primitive_assign: vip allocation score on rhel8-2: -INFINITY -pcmk__primitive_assign: vip allocation score on rhel8-3: -INFINITY +pcmk__primitive_assign: vip allocation score on rhel8-3: 0 pcmk__primitive_assign: vip allocation score on rhel8-4: -INFINITY pcmk__primitive_assign: vip allocation score on rhel8-5: -INFINITY pcmk__primitive_assign: vip-dep allocation score on rhel8-1: 0 pcmk__primitive_assign: vip-dep allocation score on rhel8-2: 0 pcmk__primitive_assign: vip-dep allocation score on rhel8-3: 0 pcmk__primitive_assign: vip-dep allocation score on rhel8-4: 0 pcmk__primitive_assign: vip-dep allocation score on rhel8-5: 0 diff --git a/cts/scheduler/summary/coloc-with-inner-group-member.summary b/cts/scheduler/summary/coloc-with-inner-group-member.summary index 3e87f0867e..6659721a79 100644 --- a/cts/scheduler/summary/coloc-with-inner-group-member.summary +++ b/cts/scheduler/summary/coloc-with-inner-group-member.summary @@ -1,33 +1,45 @@ Using the original execution date of: 2023-06-20 20:45:06Z Current cluster status: * Node List: * Online: [ rhel8-1 rhel8-2 rhel8-3 rhel8-4 rhel8-5 ] * Full List of Resources: * Fencing (stonith:fence_xvm): Started rhel8-1 * vip-dep (ocf:pacemaker:Dummy): Started rhel8-3 * Resource Group: grp: * foo (ocf:pacemaker:Dummy): Started rhel8-4 * bar (ocf:pacemaker:Dummy): Started rhel8-4 * vip (ocf:pacemaker:Dummy): Started rhel8-3 Transition Summary: - * Stop vip ( rhel8-3 ) due to node availability + * Move foo ( rhel8-4 -> rhel8-3 ) + * Move bar ( rhel8-4 -> rhel8-3 ) + * Restart vip ( rhel8-3 ) due to required bar start Executing Cluster Transition: * Pseudo action: grp_stop_0 * Resource action: vip stop on rhel8-3 + * Resource action: bar stop on rhel8-4 + * Resource action: foo stop on rhel8-4 * Pseudo action: grp_stopped_0 + * Pseudo action: grp_start_0 + * Resource action: foo start on rhel8-3 + * Resource action: bar start on rhel8-3 + * Resource action: vip start on rhel8-3 + * Resource action: vip monitor=10000 on rhel8-3 + * Pseudo action: grp_running_0 + * Resource action: foo monitor=10000 on rhel8-3 + * Resource action: bar monitor=10000 on rhel8-3 Using the original execution date of: 2023-06-20 20:45:06Z Revised Cluster Status: * Node List: * Online: [ rhel8-1 rhel8-2 rhel8-3 rhel8-4 rhel8-5 ] * Full List of Resources: * Fencing (stonith:fence_xvm): Started rhel8-1 * vip-dep (ocf:pacemaker:Dummy): Started rhel8-3 * Resource Group: grp: - * foo (ocf:pacemaker:Dummy): Started rhel8-4 - * bar (ocf:pacemaker:Dummy): Started rhel8-4 - * vip (ocf:pacemaker:Dummy): Stopped + * foo (ocf:pacemaker:Dummy): Started rhel8-3 + * bar (ocf:pacemaker:Dummy): Started rhel8-3 + * vip (ocf:pacemaker:Dummy): Started rhel8-3