Project

General

Profile

Bug #54530

cephadm: authorized_keys file removed during RPM upgrade

Added by Michael Fritch over 1 year ago. Updated about 1 year 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

History

#1 Updated by Michael Fritch over 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 45347

#4 Updated by Redouane Kachach Elhichou about 1 year ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to quincy

#5 Updated by Redouane Kachach Elhichou about 1 year ago

  • Backport changed from quincy to quincy,pacific

#6 Updated by Redouane Kachach Elhichou about 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF