Project

General

Profile

Actions

Bug #54530

closed

cephadm: authorized_keys file removed during RPM upgrade

Added by Michael Fritch about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm (binary)
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

Also available in: Atom PDF