Skip to content

Commit

Permalink
Test: cts-scheduler: update colocation-priority-group outputs for fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kgaillot committed Oct 31, 2022
1 parent 018dc24 commit caab312
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
12 changes: 6 additions & 6 deletions cts/scheduler/dot/colocation-priority-group.dot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"group1_start_0" -> "member1a_start_0 node1" [ style = bold]
"group1_start_0" -> "member1b_start_0 node1" [ style = bold]
"group1_start_0" [ style=bold color="green" fontcolor="orange"]
"load_stopped_node1 node1" -> "rsc2_start_0 node1" [ style = bold]
"load_stopped_node1 node1" -> "rsc3_start_0 node1" [ style = bold]
"load_stopped_node1 node1" [ style=bold color="green" fontcolor="orange"]
"load_stopped_node2 node2" [ style=bold color="green" fontcolor="orange"]
"member1a_monitor_0 node1" -> "member1a_start_0 node1" [ style = bold]
Expand All @@ -29,15 +29,15 @@
"member1b_start_0 node1" -> "group1_running_0" [ style = bold]
"member1b_start_0 node1" -> "member1b_monitor_10000 node1" [ style = bold]
"member1b_start_0 node1" [ style=bold color="green" fontcolor="black"]
"rsc2_monitor_0 node1" -> "rsc2_start_0 node1" [ style = bold]
"rsc2_monitor_0 node1" [ style=bold color="green" fontcolor="black"]
"rsc2_monitor_0 node2" -> "rsc2_start_0 node1" [ style = bold]
"rsc2_monitor_0 node2" [ style=bold color="green" fontcolor="black"]
"rsc2_monitor_10000 node1" [ style=bold color="green" fontcolor="black"]
"rsc2_start_0 node1" -> "rsc2_monitor_10000 node1" [ style = bold]
"rsc2_start_0 node1" [ style=bold color="green" fontcolor="black"]
"rsc3_monitor_0 node1" -> "rsc3_start_0 node1" [ style = bold]
"rsc3_monitor_0 node1" [ style=bold color="green" fontcolor="black"]
"rsc3_monitor_0 node2" -> "rsc3_start_0 node1" [ style = bold]
"rsc3_monitor_0 node2" [ style=bold color="green" fontcolor="black"]
"rsc3_monitor_10000 node1" [ style=bold color="green" fontcolor="black"]
"rsc3_start_0 node1" -> "rsc3_monitor_10000 node1" [ style = bold]
"rsc3_start_0 node1" [ style=bold color="green" fontcolor="black"]
"rsc4_monitor_0 node1" -> "rsc4_start_0 node2" [ style = bold]
"rsc4_monitor_0 node1" [ style=bold color="green" fontcolor="black"]
"rsc4_monitor_0 node2" -> "rsc4_start_0 node2" [ style = bold]
Expand Down
50 changes: 25 additions & 25 deletions cts/scheduler/exp/colocation-priority-group.exp
Original file line number Diff line number Diff line change
Expand Up @@ -130,39 +130,21 @@
</synapse>
<synapse id="10" priority="2000">
<action_set>
<rsc_op id="11" operation="monitor" operation_key="rsc3_monitor_0" on_node="node2" on_node_uuid="2">
<primitive id="rsc3" class="ocf" provider="pacemaker" type="Dummy"/>
<attributes CRM_meta_on_node="node2" CRM_meta_on_node_uuid="2" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" />
</rsc_op>
</action_set>
<inputs/>
</synapse>
<synapse id="11" priority="2000">
<action_set>
<rsc_op id="6" operation="monitor" operation_key="rsc3_monitor_0" on_node="node1" on_node_uuid="1">
<rsc_op id="23" operation="monitor" operation_key="rsc3_monitor_10000" on_node="node1" on_node_uuid="1">
<primitive id="rsc3" class="ocf" provider="pacemaker" type="Dummy"/>
<attributes CRM_meta_on_node="node1" CRM_meta_on_node_uuid="1" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" />
</rsc_op>
</action_set>
<inputs/>
</synapse>
<synapse id="12" priority="1000">
<action_set>
<rsc_op id="23" operation="monitor" operation_key="rsc2_monitor_10000" on_node="node1" on_node_uuid="1">
<primitive id="rsc2" class="ocf" provider="pacemaker" type="Dummy"/>
<attributes CRM_meta_interval="10000" CRM_meta_name="monitor" CRM_meta_on_node="node1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" />
</rsc_op>
</action_set>
<inputs>
<trigger>
<rsc_op id="22" operation="start" operation_key="rsc2_start_0" on_node="node1" on_node_uuid="1"/>
<rsc_op id="22" operation="start" operation_key="rsc3_start_0" on_node="node1" on_node_uuid="1"/>
</trigger>
</inputs>
</synapse>
<synapse id="13" priority="1000">
<synapse id="11" priority="2000">
<action_set>
<rsc_op id="22" operation="start" operation_key="rsc2_start_0" on_node="node1" on_node_uuid="1">
<primitive id="rsc2" class="ocf" provider="pacemaker" type="Dummy"/>
<rsc_op id="22" operation="start" operation_key="rsc3_start_0" on_node="node1" on_node_uuid="1">
<primitive id="rsc3" class="ocf" provider="pacemaker" type="Dummy"/>
<attributes CRM_meta_name="start" CRM_meta_on_node="node1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="20000" />
</rsc_op>
</action_set>
Expand All @@ -171,13 +153,31 @@
<pseudo_event id="2" operation="load_stopped_node1" operation_key="load_stopped_node1"/>
</trigger>
<trigger>
<rsc_op id="7" operation="monitor" operation_key="rsc2_monitor_0" on_node="node1" on_node_uuid="1"/>
<rsc_op id="6" operation="monitor" operation_key="rsc3_monitor_0" on_node="node1" on_node_uuid="1"/>
</trigger>
<trigger>
<rsc_op id="12" operation="monitor" operation_key="rsc2_monitor_0" on_node="node2" on_node_uuid="2"/>
<rsc_op id="11" operation="monitor" operation_key="rsc3_monitor_0" on_node="node2" on_node_uuid="2"/>
</trigger>
</inputs>
</synapse>
<synapse id="12" priority="2000">
<action_set>
<rsc_op id="11" operation="monitor" operation_key="rsc3_monitor_0" on_node="node2" on_node_uuid="2">
<primitive id="rsc3" class="ocf" provider="pacemaker" type="Dummy"/>
<attributes CRM_meta_on_node="node2" CRM_meta_on_node_uuid="2" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" />
</rsc_op>
</action_set>
<inputs/>
</synapse>
<synapse id="13" priority="2000">
<action_set>
<rsc_op id="6" operation="monitor" operation_key="rsc3_monitor_0" on_node="node1" on_node_uuid="1">
<primitive id="rsc3" class="ocf" provider="pacemaker" type="Dummy"/>
<attributes CRM_meta_on_node="node1" CRM_meta_on_node_uuid="1" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" />
</rsc_op>
</action_set>
<inputs/>
</synapse>
<synapse id="14" priority="1000">
<action_set>
<rsc_op id="12" operation="monitor" operation_key="rsc2_monitor_0" on_node="node2" on_node_uuid="2">
Expand Down
4 changes: 2 additions & 2 deletions cts/scheduler/scores/colocation-priority-group.scores
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ pcmk__primitive_assign: member1a allocation score on node1: 0
pcmk__primitive_assign: member1a allocation score on node2: -4000
pcmk__primitive_assign: member1b allocation score on node1: 0
pcmk__primitive_assign: member1b allocation score on node2: -INFINITY
pcmk__primitive_assign: rsc2 allocation score on node1: 0
pcmk__primitive_assign: rsc2 allocation score on node1: 16
pcmk__primitive_assign: rsc2 allocation score on node2: 0
pcmk__primitive_assign: rsc3 allocation score on node1: 16
pcmk__primitive_assign: rsc3 allocation score on node1: 0
pcmk__primitive_assign: rsc3 allocation score on node2: 0
pcmk__primitive_assign: rsc4 allocation score on node1: 0
pcmk__primitive_assign: rsc4 allocation score on node2: 0
10 changes: 5 additions & 5 deletions cts/scheduler/summary/colocation-priority-group.summary
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Current cluster status:
Transition Summary:
* Start member1a ( node1 )
* Start member1b ( node1 )
* Start rsc2 ( node1 )
* Start rsc3 ( node1 )
* Move Fencing ( node1 -> node2 )
* Start rsc4 ( node2 )

Expand All @@ -35,13 +35,13 @@ Executing Cluster Transition:
* Pseudo action: load_stopped_node1
* Resource action: member1a start on node1
* Resource action: member1b start on node1
* Resource action: rsc2 start on node1
* Resource action: rsc3 start on node1
* Resource action: Fencing start on node2
* Resource action: rsc4 start on node2
* Pseudo action: group1_running_0
* Resource action: member1a monitor=10000 on node1
* Resource action: member1b monitor=10000 on node1
* Resource action: rsc2 monitor=10000 on node1
* Resource action: rsc3 monitor=10000 on node1
* Resource action: Fencing monitor=120000 on node2
* Resource action: rsc4 monitor=10000 on node2

Expand All @@ -53,7 +53,7 @@ Revised Cluster Status:
* Resource Group: group1:
* member1a (ocf:pacemaker:Dummy): Started node1
* member1b (ocf:pacemaker:Dummy): Started node1
* rsc3 (ocf:pacemaker:Dummy): Stopped
* rsc2 (ocf:pacemaker:Dummy): Started node1
* rsc3 (ocf:pacemaker:Dummy): Started node1
* rsc2 (ocf:pacemaker:Dummy): Stopped
* Fencing (stonith:fence_xvm): Started node2
* rsc4 (ocf:pacemaker:Dummy): Started node2

0 comments on commit caab312

Please sign in to comment.