Actions
Bug #54530
closedcephadm: authorized_keys file removed during RPM upgrade
% Done:
0%
Source:
Tags:
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
The cephadm RPM package maintains the following file:
/var/lib/cephadm/.ssh/authorized_keys
The cephadm users home is redirected to this file which contains the ssh-key for mgr/cephadm to access the cluster node.
During upgrade the file is replaced with an empty file breaking ssh connections from the orchestrator to the node and causing the host to appear in the offline state:
master:~ # ceph orch host ls HOST ADDR LABELS STATUS master master Offline node1 node1 node2 node2 node3 node3 Offline
Actions