Project

General

Profile

Actions

Bug #44769

closed

cephadm doesn't reuse osd_id of 'destroyed' osds

Added by Joshua Schmid about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

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

Description

The replacement operation is supposed to work like this:

ceph orch osd rm $id --replace

See https://docs.ceph.com/docs/master/mgr/orchestrator_modules/#osd-replacement

This will leave the osd.$id in the crushmap with the "destroyed" flag.

The next osd deployment should pick those up and pass it to ceph-volume

ceph-volume lvm batch <devices> --osd-ids <ids_to_reuse>

Related issues 1 (0 open1 closed)

Related to Dashboard - Feature #38234: mgr/dashboard Replace broken osd ResolvedKiefer Chang

Actions
Actions

Also available in: Atom PDF