Project

General

Profile

Actions

Bug #55654

closed

cephadm: adoption of osds from cluster with custom names is broken

Added by Adam King almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
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

When trying to adopt osds from clusters with custom names the osd's old files aren't properly transferred over. This results in the osd failing with something like

May 12 18:10:55 vm-00 ceph-f97fafcf-6b5f-4ffe-8b50-dbd7072d4cd9-osd-1[48106]: debug 2022-05-12T18:10:55.269+0000 7f8b89bf4080 -1 auth: unable to find a keyring on /var/lib/ceph/osd/ceph-1/keyring: (2)>
May 12 18:10:55 vm-00 ceph-f97fafcf-6b5f-4ffe-8b50-dbd7072d4cd9-osd-1[48106]: debug 2022-05-12T18:10:55.269+0000 7f8b89bf4080 -1 AuthRegistry(0x5590d63eca40) no keyring found at /var/lib/ceph/osd/ceph>
May 12 18:10:55 vm-00 ceph-f97fafcf-6b5f-4ffe-8b50-dbd7072d4cd9-osd-1[48106]: debug 2022-05-12T18:10:55.269+0000 7f8b89bf4080 -1 auth: unable to find a keyring on /var/lib/ceph/osd/ceph-1/keyring: (2)>
May 12 18:10:55 vm-00 ceph-f97fafcf-6b5f-4ffe-8b50-dbd7072d4cd9-osd-1[48106]: debug 2022-05-12T18:10:55.269+0000 7f8b89bf4080 -1 AuthRegistry(0x7ffe6cfb9dd0) no keyring found at /var/lib/ceph/osd/ceph>
May 12 18:10:55 vm-00 ceph-f97fafcf-6b5f-4ffe-8b50-dbd7072d4cd9-osd-1[48106]: failed to fetch mon config (--no-mon-config to skip)

This seems to be an issue with which directory in the container we mount our new data directory to.


Related issues 2 (0 open2 closed)

Copied to Orchestrator - Backport #55953: quincy: cephadm: adoption of osds from cluster with custom names is brokenResolvedGuillaume AbriouxActions
Copied to Orchestrator - Backport #55954: pacific: cephadm: adoption of osds from cluster with custom names is brokenResolvedActions
Actions #1

Updated by Guillaume Abrioux almost 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 46481
Actions #2

Updated by Guillaume Abrioux almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #55953: quincy: cephadm: adoption of osds from cluster with custom names is broken added
Actions #4

Updated by Backport Bot almost 2 years ago

  • Copied to Backport #55954: pacific: cephadm: adoption of osds from cluster with custom names is broken added
Actions #5

Updated by Adam King almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF