Project

General

Profile

Actions

Bug #46833

closed
TS TS

simple (ceph-disk style) OSDs adopted by cephadm must not call `ceph-volume lvm activate`

Bug #46833: simple (ceph-disk style) OSDs adopted by cephadm must not call `ceph-volume lvm activate`

Added by Tim Serong over 6 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
cephadm
Target version:
Due date:
% Done:

0%

Source:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-4192-g4510389252
Released In:
v16.2.0~1753
Upkeep Timestamp:
2025-07-14T19:34:35+00:00

Description

The unit files created when adopting OSDs include a few chown calls to handle simple (ceph-disk style) OSDs, and also include a call to ceph-volume lvm activate, to handle LVM OSDs. The problem here is that ceph-volume lvm activate fails for simple OSDs, and this in turn causes the OSD to not start. Last time I was working on this (see https://tracker.ceph.com/issues/45129), I didn't hit this problem, but something must have changed in the meantime. Whether that's a new systemd version, or a slightly different error handling path, I'm not sure, but the point is it would be best if we only generated exactly the correct commands, depending on the type of OSD, rather than including both the chown and the ceph-volume lvm activate calls in all cases.

(This issue was originally reported downstream as https://bugzilla.suse.com/show_bug.cgi?id=1174594)


Related issues 1 (0 open — 1 closed)

Related to Orchestrator - Bug #45129: simple (ceph-disk) style OSDs adopted by cephadm don't start after rebootResolvedTim Serong

Actions

TS Updated by Tim Serong over 6 years ago Actions #1

  • Related to Bug #45129: simple (ceph-disk) style OSDs adopted by cephadm don't start after reboot added

TS Updated by Tim Serong over 6 years ago Actions #2

  • Status changed from New to In Progress

TS Updated by Tim Serong over 6 years ago Actions #3

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 36463

TS Updated by Tim Serong over 6 years ago Actions #4

  • Status changed from Fix Under Review to Pending Backport

SW Updated by Sebastian Wagner over 6 years ago Actions #5

  • Status changed from Pending Backport to Resolved
  • Target version set to v15.2.5

UB Updated by Upkeep Bot over 1 year ago Actions #6

  • Merge Commit set to 45103892520475d02f92f05b7a4f841817820709
  • Fixed In set to v16.0.0-4192-g4510389252
  • Released In set to v16.2.0~1753
  • Upkeep Timestamp set to 2025-07-14T19:34:35+00:00
Actions

Also available in: PDF Atom