From 04d5f0fcd48a3ce61abad592595eb299e94c2a51 Mon Sep 17 00:00:00 2001 From: lilyeyes Date: Tue, 7 Jan 2025 15:25:17 +0800 Subject: [PATCH] Fix HA migration patch_sle sporadical sbd failure Fix HA migration patch_sle sporadical failure: [FAILED] Failed to start Shared-storage based fencing daemon TEAM-9918 - Test module patch_sle failed sporadically: scc registration needle mismatch --- tests/ha/stop_pacemaker.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/ha/stop_pacemaker.pm b/tests/ha/stop_pacemaker.pm index a2e955470e57..ee68059fc05f 100644 --- a/tests/ha/stop_pacemaker.pm +++ b/tests/ha/stop_pacemaker.pm @@ -15,7 +15,12 @@ use Utils::Systemd qw(systemctl); sub run { select_console("root-console"); - systemctl 'stop pacemaker'; + systemctl 'status sbd', ignore_failure => 1; + systemctl 'status pacemaker', ignore_failure => 1; + systemctl 'stop sbd', ignore_failure => 1; + systemctl 'stop pacemaker', ignore_failure => 1; + systemctl 'status sbd', ignore_failure => 1; + systemctl 'status pacemaker', ignore_failure => 1; } 1;