I would like to create 3 nodes cluster using SUSE 15 SP5. The second node could be joined to the new cluster. However, the third node can’t be joined with the below error. Please advise how I can fix it. Thanks in advance.
ocfs2-node03:~ # crm cluster join -c 10.206.117.111
INFO: SSH key for root does not exist, hence generate it now
INFO: Configuring SSH passwordless with root@10.206.117.111
Password:
INFO: The user ‘hacluster’ will have the login shell configuration changed to /bin/bash
Continue (y/n)? y
INFO: SSH key for hacluster does not exist, hence generate it now
INFO: Configuring SSH passwordless with root@ocfs2-node02
Password:
INFO: Checking passwordless for hacluster between ocfs2-node01 and ocfs2-node02
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_input_loop
rc = handle_noninteractive_use(context, user_args)
File “/usr/lib/python3.6/site-packages/crmsh/main.py”, line 204, in handle_noninteractive_use
if context.run(’ '.join(l)):
File “/usr/lib/python3.6/site-packages/crmsh/ui_context.py”, line 86, in run
rv = self.execute_command() is not False
File “/usr/lib/python3.6/site-packages/crmsh/ui_context.py”, line 271, in execute_command
rv = self.command_info.function(*arglist)
File “/usr/lib/python3.6/site-packages/crmsh/ui_cluster.py”, line 438, in do_join
bootstrap.bootstrap_join(join_context)
File “/usr/lib/python3.6/site-packages/crmsh/bootstrap.py”, line 2504, in bootstrap_join
setup_passwordless_with_other_nodes(cluster_node)
File “/usr/lib/python3.6/site-packages/crmsh/bootstrap.py”, line 1996, in setup_passwordless_with_other_nodes
swap_key_for_hacluster(cluster_nodes_list)
File “/usr/lib/python3.6/site-packages/crmsh/bootstrap.py”, line 2013, in swap_key_for_hacluster
if not utils.check_text_included(public_key_content, authorized_file, remote=node):
File “/usr/lib/python3.6/site-packages/crmsh/utils.py”, line 2806, in check_text_included
if not detect_file(target_file, remote=remote):
File “/usr/lib/python3.6/site-packages/crmsh/utils.py”, line 3485, in detect_file
cmd = “ssh {} {}@{} ‘test -f {}’”.format(SSH_OPTION, user_of(remote), remote, _file)
File “/usr/lib/python3.6/site-packages/crmsh/utils.py”, line 218, in user_of
return _user_of_host_instance.user_of(host)
File “/usr/lib/python3.6/site-packages/crmsh/utils.py”, line 128, in user_of
raise self.UserNotFoundError
crmsh.utils.UserNotFoundError
ocfs2-node03:~ #
ocfs2-node03:~ # grep hacluster /etc/passwd
hacluster:x:90:90:heartbeat processes:/var/lib/heartbeat/cores/hacluster:/bin/bash