Bug #45286
Updated by Sebastian Wagner about 4 years ago
hi, using centos8 can't add an host to the cluster via cephadm. Following the docs i was able to boostrap a new cluster but asap i try to add another hosts i get an error c8-oc-osd1 is my host I'm trying to add c8-oc-admin is my admin node previously configured so, when i try to add c8-oc-osd1: <pre> [root@c8-oc-admin ceph]# ssh-copy-id -f -i /etc/ceph/ceph.pub root@c8-oc-osd1 /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/etc/ceph/ceph.pub" root@c8-oc-osd1's password: Number of key(s) added: 1 </pre> Now try logging into the machine, with: <pre> "ssh 'root@c8-oc-osd1'" ssh 'root@c8-oc-osd1' </pre> and check to make sure that only the key(s) you wanted were added. ok, then <pre> [root@c8-oc-admin ceph]# ceph orch host add c8-oc-osd1 Error ENOENT: Failed to connect to c8-oc-osd1 (c8-oc-osd1). Check that the host is reachable and accepts connections using the cephadm SSH key you may want to run: > ssh -F =(ceph cephadm get-ssh-config) -i =(ceph config-key get mgr/cephadm/ssh_identity_key) root@c8-oc-osd1 </pre> and <pre> ssh -F =(ceph cephadm get-ssh-config) -i =(ceph config-key get mgr/cephadm/ssh_identity_key) root@c8-oc-osd1 -bash: syntax error near unexpected token `(' </pre>