Project

General

Profile

Actions

Bug #45129

closed

simple (ceph-disk) style OSDs adopted by cephadm don't start after reboot

Added by Tim Serong about 4 years ago. Updated almost 4 years ago.

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

0%

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

Description

When running cephadm adopt against a simple (ceph-disk) style OSD, the adopt runs fine, and the OSD starts, but later when you reboot the system, the OSD won't start again. It fails with "bdev(0x559b02592000 /var/lib/ceph/osd/ceph-21/block) open open got: (13) Permission denied".

Looks like after the adopt is run, the device files backing the OSD are owned by ceph:ceph, but after a subsequent reboot, it reverts to being owned by root:root. I assume there's something in the old-style activation that's not happening anymore?


Related issues 1 (0 open1 closed)

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

Actions
Actions

Also available in: Atom PDF