From 038d5cc848cd1f72e54f4eaf32f7818ee99106c1 Mon Sep 17 00:00:00 2001 From: nicholasyang Date: Mon, 23 Sep 2024 12:53:14 +0800 Subject: [PATCH] Dev: report: add a reminder to use `crm cluster health` (bsc#1228899) --- crmsh/report/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crmsh/report/core.py b/crmsh/report/core.py index f98a26159..477d84170 100644 --- a/crmsh/report/core.py +++ b/crmsh/report/core.py @@ -408,7 +408,7 @@ def find_ssh_user(context: Context) -> None: if not crmutils.can_ask(): logger.error('Cannot create a report non-interactively. Interactive authentication is required.') if userdir.getuser() == 'hacluster': - logger.info('Please setup passwordless ssh authentication for user hacluster.') + logger.warning('Passwordless ssh does not work. Run "crm cluster health hawk2 --fix" to set it up.') raise ValueError('Cannot create a report.')