]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Add example to run when debugging ssh failures 34153/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Mon, 23 Mar 2020 13:27:51 +0000 (14:27 +0100)
committerSage Weil <sage@redhat.com>
Tue, 24 Mar 2020 20:35:51 +0000 (15:35 -0500)
commitbb5f12777cc2c93eea5da99e1fa7e516c8b28785
tree4069307be317e14a74b2e3387c14a734fab6a23b
parent5d09c481a434e899dcc00b815499c05a63123568
mgr/cephadm: Add example to run when debugging ssh failures

```
$ ceph orch host add foobar
Error ENOENT: Failed to connect to foobar (foobar).  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) rook@foobar
$  ssh -F =(ceph cephadm get-ssh-config) -i =(ceph config-key get mgr/cephadm/ssh_identity_key) rook@foobar
ssh: Could not resolve hostname foobar: Temporary failure in name resolution
```

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit c840dd2204e9a419c28875ace18d33ad6f87500f)
src/pybind/mgr/cephadm/module.py