Unable to join the node in cluster

Hi Team,

When I try to join the another node in cluster, I’m getting below error. I’ve entered correct password of primary node, however still I’m getting this error.

Can some one please help me on it.

loninengvm263:~ # crm cluster join

INFO: Join This Node to Cluster:

You will be asked for the IP address of an existing node, from which

configuration will be copied. If you have not already configured

passwordless ssh between nodes, you will be prompted for the root

password of the existing node.

IP address or hostname of existing node (e.g.: 192.168.1.1) X.X.X.X

INFO: Configuring csync2

INFO: Starting csync2.socket service

INFO: BEGIN csync2 syncing files in cluster

INFO: END csync2 syncing files in cluster

INFO: Merging known_hosts

Access to this computer is prohibited unless authorised

Accessing programs or data unrelated to your job is prohibited

(root@loninengvm263) Password:

(root@loninengvm263) Password:

(root@loninengvm263) Password:

root@loninengvm263: Permission denied (publickey,keyboard-interactive).

ERROR: ‘NoneType’ object has no attribute ‘decode’

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 375, in run

return main_input_loop(context, user_args)

File “/usr/lib/python3.6/site-packages/crmsh/main.py”, line 246, in main_input_loop

rc = handle_noninteractive_use(context, user_args)

File “/usr/lib/python3.6/site-packages/crmsh/main.py”, line 203, in handle_noninteractive_use

if context.run(' '.join(l)):

File “/usr/lib/python3.6/site-packages/crmsh/ui_context.py”, line 93, in run

rv = self.execute_command() is not False

File “/usr/lib/python3.6/site-packages/crmsh/ui_context.py”, line 274, in execute_command

rv = self.command_info.function(\*arglist)

File “/usr/lib/python3.6/site-packages/crmsh/ui_cluster.py”, line 578, in do_join

bootstrap.bootstrap_join(join_context)

File “/usr/lib/python3.6/site-packages/crmsh/bootstrap.py”, line 2662, in bootstrap_join

join_ssh_merge(cluster_node, remote_user)

File “/usr/lib/python3.6/site-packages/crmsh/bootstrap.py”, line 1921, in join_ssh_merge

shell.ssh_to_localhost(None, 'true')

File “/usr/lib/python3.6/site-packages/crmsh/sh.py”, line 427, in ssh_to_localhost

raise AuthorizationError(cmd, host, remote_user, Utils.decode_str(result.stderr).strip())

File “/usr/lib/python3.6/site-packages/crmsh/sh.py”, line 104, in decode_str

return x.decode('utf-8')

AttributeError: ‘NoneType’ object has no attribute ‘decode’

loninengvm263:~ #

Issue got fixed by copying rsa pub keys of local server in authorized_keys file