Bug #46833
closedsimple (ceph-disk style) OSDs adopted by cephadm must not call `ceph-volume lvm activate`
0%
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)
Updated by Tim Serong over 5 years ago
- Related to Bug #45129: simple (ceph-disk) style OSDs adopted by cephadm don't start after reboot added
Updated by Tim Serong over 5 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 36463
Updated by Tim Serong over 5 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Sebastian Wagner over 5 years ago
- Status changed from Pending Backport to Resolved
- Target version set to v15.2.5
Updated by Upkeep Bot 8 months ago
- 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