Project

General

Profile

Actions

Bug #47493

closed

fix simple activate when legacy osd

Added by Guillaume Abrioux over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
High
Target version:
-
% Done:

0%

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

Description

ceph-volume simple activate --all relies on the presence of json files
in /etc/ceph/osd that was created with ceph-volume simple scan
command.

In a cluster lifecycle, it is very likely an OSD which was deployed with
ceph-disk at some point gets removed or replaced. It means the corresponding
json file in /etc/ceph/osd becomes unrelevant. It makes ceph-volume simple activate --all fails because it tries to mount non existing
partitions.
The idea here is to simply warn the user that the osd described in the
json file doesn't exist anymore and exit properly instead of throwing an
error.


Related issues 3 (0 open3 closed)

Copied to ceph-volume - Backport #47503: octopus: fix simple activate when legacy osdResolvedGuillaume AbriouxActions
Copied to ceph-volume - Backport #47504: nautilus: fix simple activate when legacy osdResolvedGuillaume AbriouxActions
Copied to ceph-volume - Backport #47505: mimic: fix simple activate when legacy osdResolvedGuillaume AbriouxActions
Actions #1

Updated by Jan Fajerski over 3 years ago

  • Backport set to octopus,nautilus, mimic
  • Pull request ID set to 37093
Actions #2

Updated by Jan Fajerski over 3 years ago

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

Updated by Guillaume Abrioux over 3 years ago

  • Copied to Backport #47503: octopus: fix simple activate when legacy osd added
Actions #4

Updated by Guillaume Abrioux over 3 years ago

  • Copied to Backport #47504: nautilus: fix simple activate when legacy osd added
Actions #5

Updated by Guillaume Abrioux over 3 years ago

  • Copied to Backport #47505: mimic: fix simple activate when legacy osd added
Actions #6

Updated by Jan Fajerski over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF