Skip to content

Commit

Permalink
Dev: report: add a reminder to use crm cluster health (bsc#1228899)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasyang2022 committed Sep 23, 2024
1 parent 035aeec commit 8bd4efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crmsh/report/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,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.')

Check warning on line 416 in crmsh/report/core.py

View check run for this annotation

Codecov / codecov/patch

crmsh/report/core.py#L412-L416

Added lines #L412 - L416 were not covered by tests


Expand Down

0 comments on commit 8bd4efc

Please sign in to comment.