From ff4db7f5fe50e9b63cb7ba4364aeb7a9a0a1c654 Mon Sep 17 00:00:00 2001 From: xin liang Date: Wed, 23 Oct 2024 15:32:59 +0800 Subject: [PATCH] Dev: bootstrap: Add a log info when starting pacemaker.service To show what's happening at this time, avoid confusion of hanging when SBD_DELAY_START is set then need longer time to start pacemaker. --- crmsh/bootstrap.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crmsh/bootstrap.py b/crmsh/bootstrap.py index 60d5d096e..a0c89827d 100644 --- a/crmsh/bootstrap.py +++ b/crmsh/bootstrap.py @@ -798,6 +798,7 @@ def start_pacemaker(node_list=[], enable_flag=False): except ValueError as err: node_list.remove(node) logger.error(err) + logger.info("Starting %s on %s", constants.PCMK_SERVICE, ', '.join(node_list) or utils.this_node()) return service_manager.start_service("pacemaker.service", enable=enable_flag, node_list=node_list)