Skip to content

Commit

Permalink
Dev: bootstrap: warn about cleartext traffic in corosync
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasyang2022 committed Jun 7, 2024
1 parent c078907 commit b44fbd4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crmsh/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit b44fbd4

Please sign in to comment.