# Can't add third node in the new cluster

**URL:** <https://forums.suse.com/t/cant-add-third-node-in-the-new-cluster/45247>\
**Category:** SLES High Availability Extension\
**Created:** [March 1, 2025, 6:12pm UTC](https://forums.suse.com/t/cant-add-third-node-in-the-new-cluster/45247 "2025-03-01T18:12:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivancheng](https://avatars.discourse-cdn.com/v4/letter/i/ce73a5/32.png) [@ivancheng](https://forums.suse.com/u/ivancheng)\
**Post date:** [March 1, 2025, 6:12pm UTC](https://forums.suse.com/t/cant-add-third-node-in-the-new-cluster/45247/1 "2025-03-01T18:12:47Z")

</div>

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](mailto: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

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [March 5, 2025, 6:47pm UTC](https://forums.suse.com/t/cant-add-third-node-in-the-new-cluster/45247/2 "2025-03-05T18:47:36Z")

</div>

> [@ivancheng](#):
>
> INFO: SSH key for root does not exist, hence generate it now

Did you set up the cluster on the first two nodes as root or a user with sudo privileges?

When first creating the cluster the “crm cluster init” command checks for SSH keys for passwordless access and should have generated public and private SSH keys if they didn’t exist.

---

<div class="post-metadata">

**Author:** ![ivancheng](https://avatars.discourse-cdn.com/v4/letter/i/ce73a5/32.png) [@ivancheng](https://forums.suse.com/u/ivancheng)\
**Post date:** [March 7, 2025, 8:17am UTC](https://forums.suse.com/t/cant-add-third-node-in-the-new-cluster/45247/3 "2025-03-07T08:17:12Z")

</div>

The problem was fixed after using the hostname instead of IP address.

crm cluster join -c ocsf2-node01

Thanks.
