Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
pacemaker.29737
bsc#1206263-0006-Test-cts-scheduler-update-test...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc#1206263-0006-Test-cts-scheduler-update-test-for-preventing-inacti.patch of Package pacemaker.29737
From b3ef4c7f06ff367831c4a6bcc50b307b85259372 Mon Sep 17 00:00:00 2001 From: "Gao,Yan" <ygao@suse.com> Date: Thu, 8 Dec 2022 18:04:14 +0100 Subject: [PATCH 6/6] Test: cts-scheduler: update test for preventing inactive instances from starting if probe is unrunnable on any nodes --- .../dot/leftover-pending-monitor.dot | 11 ++++--- .../exp/leftover-pending-monitor.exp | 33 ++----------------- .../summary/leftover-pending-monitor.summary | 7 ++-- 3 files changed, 10 insertions(+), 41 deletions(-) diff --git a/cts/scheduler/dot/leftover-pending-monitor.dot b/cts/scheduler/dot/leftover-pending-monitor.dot index 0f76394e6..601ef3157 100644 --- a/cts/scheduler/dot/leftover-pending-monitor.dot +++ b/cts/scheduler/dot/leftover-pending-monitor.dot @@ -1,13 +1,14 @@ digraph "g" { "promotable-1_running_0" [ style=bold color="green" fontcolor="orange"] "promotable-1_start_0" -> "promotable-1_running_0" [ style = bold] -"promotable-1_start_0" -> "stateful-1:2_start_0 node-1" [ style = bold] +"promotable-1_start_0" -> "stateful-1:2_start_0 node-1" [ style = dashed] "promotable-1_start_0" [ style=bold color="green" fontcolor="orange"] "st-sbd_monitor_0 node-2" [ style=dashed color="red" fontcolor="black"] -"stateful-1:2_monitor_5000 node-1" [ style=bold color="green" fontcolor="black"] -"stateful-1:2_start_0 node-1" -> "promotable-1_running_0" [ style = bold] -"stateful-1:2_start_0 node-1" -> "stateful-1:2_monitor_5000 node-1" [ style = bold] -"stateful-1:2_start_0 node-1" [ style=bold color="green" fontcolor="black"] +"stateful-1:2_monitor_5000 node-1" [ style=dashed color="red" fontcolor="black"] +"stateful-1:2_start_0 node-1" -> "promotable-1_running_0" [ style = dashed] +"stateful-1:2_start_0 node-1" -> "stateful-1:2_monitor_5000 node-1" [ style = dashed] +"stateful-1:2_start_0 node-1" [ style=dashed color="red" fontcolor="black"] "stateful-1_monitor_0 node-2" -> "promotable-1_start_0" [ style = dashed] +"stateful-1_monitor_0 node-2" -> "stateful-1:2_start_0 node-1" [ style = dashed] "stateful-1_monitor_0 node-2" [ style=dashed color="red" fontcolor="black"] } diff --git a/cts/scheduler/exp/leftover-pending-monitor.exp b/cts/scheduler/exp/leftover-pending-monitor.exp index 9508f16db..52619adea 100644 --- a/cts/scheduler/exp/leftover-pending-monitor.exp +++ b/cts/scheduler/exp/leftover-pending-monitor.exp @@ -1,46 +1,17 @@ <transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY" transition_id="0"> - <synapse id="0"> - <action_set> - <rsc_op id="11" operation="monitor" operation_key="stateful-1:2_monitor_5000" on_node="node-1" on_node_uuid="1"> - <primitive id="stateful-1" long-id="stateful-1:2" class="ocf" provider="pacemaker" type="Stateful"/> - <attributes CRM_meta_clone="2" CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_interval="5000" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="monitor" CRM_meta_notify="false" CRM_meta_on_node="node-1" CRM_meta_on_node_uuid="1" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> - </rsc_op> - </action_set> - <inputs> - <trigger> - <rsc_op id="10" operation="start" operation_key="stateful-1:2_start_0" on_node="node-1" on_node_uuid="1"/> - </trigger> - </inputs> - </synapse> - <synapse id="1"> - <action_set> - <rsc_op id="10" operation="start" operation_key="stateful-1:2_start_0" on_node="node-1" on_node_uuid="1"> - <primitive id="stateful-1" long-id="stateful-1:2" class="ocf" provider="pacemaker" type="Stateful"/> - <attributes CRM_meta_clone="2" CRM_meta_clone_max="3" 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_on_node="node-1" CRM_meta_on_node_uuid="1" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> - </rsc_op> - </action_set> - <inputs> - <trigger> - <pseudo_event id="12" operation="start" operation_key="promotable-1_start_0"/> - </trigger> - </inputs> - </synapse> - <synapse id="2" priority="1000000"> + <synapse id="0" priority="1000000"> <action_set> <pseudo_event id="13" operation="running" operation_key="promotable-1_running_0"> <attributes CRM_meta_clone_max="3" 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_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> </pseudo_event> </action_set> <inputs> - <trigger> - <rsc_op id="10" operation="start" operation_key="stateful-1:2_start_0" on_node="node-1" on_node_uuid="1"/> - </trigger> <trigger> <pseudo_event id="12" operation="start" operation_key="promotable-1_start_0"/> </trigger> </inputs> </synapse> - <synapse id="3"> + <synapse id="1"> <action_set> <pseudo_event id="12" operation="start" operation_key="promotable-1_start_0"> <attributes CRM_meta_clone_max="3" 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_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> diff --git a/cts/scheduler/summary/leftover-pending-monitor.summary b/cts/scheduler/summary/leftover-pending-monitor.summary index ee31231c2..ee79b5baa 100644 --- a/cts/scheduler/summary/leftover-pending-monitor.summary +++ b/cts/scheduler/summary/leftover-pending-monitor.summary @@ -12,13 +12,11 @@ Current cluster status: * Stopped: [ node-1 node-2 ] Transition Summary: - * Start stateful-1:2 ( node-1 ) + * Start stateful-1:2 ( node-1 ) due to unrunnable stateful-1:0 monitor (blocked) Executing Cluster Transition: * Pseudo action: promotable-1_start_0 - * Resource action: stateful-1 start on node-1 * Pseudo action: promotable-1_running_0 - * Resource action: stateful-1 monitor=5000 on node-1 Using the original execution date of: 2022-12-02 17:04:52Z Revised Cluster Status: @@ -30,5 +28,4 @@ Revised Cluster Status: * st-sbd (stonith:external/sbd): Started node-1 * Clone Set: promotable-1 [stateful-1] (promotable): * Promoted: [ node-3 ] - * Unpromoted: [ node-1 ] - * Stopped: [ node-2 ] + * Stopped: [ node-1 node-2 ] -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor