From b44fbd40f34274a9ad02b67274fa723574471ed8 Mon Sep 17 00:00:00 2001 From: nicholasyang Date: Fri, 7 Jun 2024 11:05:21 +0800 Subject: [PATCH] Dev: bootstrap: warn about cleartext traffic in corosync --- crmsh/bootstrap.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crmsh/bootstrap.py b/crmsh/bootstrap.py index 5e7ddc3414..cbb5ff3e18 100644 --- a/crmsh/bootstrap.py +++ b/crmsh/bootstrap.py @@ -1378,6 +1378,11 @@ def init_corosync() -> None: if not confirm("%s already exists - overwrite?" % (corosync.conf())): return + if _context.transport != 'knet': + logger.warning( + 'Transport %s does not support encryption and message authentication. Corosync traffic will be in cleartext.', + _context.transport, + ) config_corosync_conf() adjust_corosync_parameters_according_to_profiles()