https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2020-07-15T14:15:40ZCeph Orchestrator - Tasks #46551: cephadm: Add better a better hint how to add a hosthttps://tracker.ceph.com/issues/46551?journal_id=1706302020-07-15T14:15:40ZStephan Müller
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-4 priority-default closed" href="/issues/46098">Bug #46098</a>: Exception adding host using cephadm</i> added</li></ul> Orchestrator - Tasks #46551: cephadm: Add better a better hint how to add a hosthttps://tracker.ceph.com/issues/46551?journal_id=1717522020-07-28T14:37:39ZStephan Müller
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul> Orchestrator - Tasks #46551: cephadm: Add better a better hint how to add a hosthttps://tracker.ceph.com/issues/46551?journal_id=1744052020-09-04T06:41:33ZMario Ohnewald
<ul></ul><p>This will give you that warning:<br /><pre>
root@ceph01:~# ssh -F ssh_config -i key root@ceph05
Warning: Permanently added 'ceph05,10.10.1.5' (ECDSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for 'key' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "key": bad permissions
</pre></p>
<p>I think we need to add chmod, too:</p>
<pre>
ceph cephadm get-ssh-config > ssh_config
ceph config-key get mgr/cephadm/ssh_identity_key > ~/cephadm_ssh_key
chmod 0600 key
ssh -F ssh_config -i ~/cephadm_ssh_key root@mgr0
</pre> Orchestrator - Tasks #46551: cephadm: Add better a better hint how to add a hosthttps://tracker.ceph.com/issues/46551?journal_id=1823072021-01-11T11:35:08ZSebastian Wagner
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>New</i></li></ul> Orchestrator - Tasks #46551: cephadm: Add better a better hint how to add a hosthttps://tracker.ceph.com/issues/46551?journal_id=1841912021-02-03T12:56:54ZSebastian Wagner
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li><li><strong>Pull request ID</strong> set to <i>39259</i></li></ul> Orchestrator - Tasks #46551: cephadm: Add better a better hint how to add a hosthttps://tracker.ceph.com/issues/46551?journal_id=1872062021-03-10T14:13:32ZSebastian Wagner
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Resolved</i></li></ul>