You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the init node already generated ssh key(default kind is ed25519), join node will failed:
INFO: Configuring SSH passwordless with root@alp-1
DEBUG: su_subprocess_run: ['/bin/sh', '-c', "ssh-copy-id -i ~/.ssh/id_rsa.pub 'root@alp-1' &> /dev/null"], {}
ERROR: cluster.join: Failed to login to root@alp-1. Please check the credentials.
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/crmsh/ui_context.py", line 93, in run
rv = self.execute_command() is not False
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/crmsh/ui_context.py", line 276, in execute_command
rv = self.command_info.function(*arglist)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/crmsh/ui_cluster.py", line 520, in do_join
bootstrap.bootstrap_join(join_context)
File "/usr/lib/python3.11/site-packages/crmsh/bootstrap.py", line 2314, in bootstrap_join
join_ssh(cluster_node, remote_user)
File "/usr/lib/python3.11/site-packages/crmsh/bootstrap.py", line 1602, in join_ssh
return join_ssh_impl(local_user, seed_host, seed_user, keys)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/crmsh/bootstrap.py", line 1624, in join_ssh_impl
raise ValueError(msg)
ValueError: Failed to login to root@alp-1. Please check the credentials.
It seems we have lots of places hard-coded as id_rsa.pub
The text was updated successfully, but these errors were encountered:
But there does exist another issue: When the init node and join node are already setup passwordless with the ed25519 key, then after bootstrap init/join process, there is still a key pair generated on the init node
When the init node already generated ssh key(default kind is ed25519), join node will failed:
It seems we have lots of places hard-coded as
id_rsa.pub
The text was updated successfully, but these errors were encountered: