Pacemaker cluster initialization using automation scripts

Hi Team,

I am receiving a below error when running pacemaker cluster initialization using automation scripts.

OS : SUSE 15 SP5
Cloud : Azure
SSH is working fine between both the nodes(Primary and Secondary)
crmsh and crmsh-scripts packages are on latest level that was release last year December 2023.

It’s an SAP system we are building the cluster for.

INFO: END csync2 syncing files in cluster
INFO: Done (log saved to /var/log/crmsh/crmsh.log)
INFO: Merging known_hosts
Traceback (most recent call last):
File “/usr/sbin/crm”, line 53, in
rc = main.run()
File “/usr/lib/python3.6/site-packages/crmsh/main.py”, line 369, in run
return main_input_loop(context, user_args)
File “/usr/lib/python3.6/site-packages/crmsh/main.py”, line 247, in main_in
rc = handle_noninteractive_use(context, user_args)
File “/usr/lib/python3.6/site-packages/crmsh/main.py”, line 204, in handle_
if context.run(’ '.join(l)):
File “/usr/lib/python3.6/site-packages/crmsh/ui_context.py”, line 86, in ru
rv = self.execute_command() is not False
File “/usr/lib/python3.6/site-packages/crmsh/ui_context.py”, line 271, in e
rv = self.command_info.function(*arglist)
File “/usr/lib/python3.6/site-packages/crmsh/ui_cluster.py”, line 512, in d
bootstrap.bootstrap_join(join_context)
File “/usr/lib/python3.6/site-packages/crmsh/bootstrap.py”, line 2453, in b
globals()[“join_” + _context.stage](cluster_node, remote_user)
File “/usr/lib/python3.6/site-packages/crmsh/bootstrap.py”, line 1847, in j
utils.write_remote_file(hoststxt, “~/.ssh/known_hosts”, utils.user_of(hos
File “/usr/lib/python3.6/site-packages/crmsh/utils.py”, line 206, in user_o
return _user_of_host_instance.user_of(host)
File “/usr/lib/python3.6/site-packages/crmsh/utils.py”, line 127, in user_o
raise self.UserNotFoundError
crmsh.utils.UserNotFoundError

Can you please let me know if anyone has come across this issue

Regards,
Balaji R S

Did you get resolution for this ?

Hi, Did you end up resolving this issue? I am experiencing the same… Cheers

I got the same problem, what is the solution for it? can anyone reply please.