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 #1

Updated by Michael Fritch about 2 years ago

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

Updated by Redouane Kachach Elhichou almost 2 years ago

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

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Backport changed from quincy to quincy,pacific
Actions #6

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF