Skip to content

Commit

Permalink
Dev: bootstrap: Add a log info when starting pacemaker.service
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
liangxin1300 committed Oct 23, 2024
1 parent c4c8563 commit ff4db7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crmsh/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit ff4db7f

Please sign in to comment.