Bug 2414811 - RFE: provide udev rules for OSDs
Summary: RFE: provide udev rules for OSDs
Keywords:
Status: NEW
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Volume
Version: 9.1
Hardware: All
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 9.1
Assignee: Guillaume Abrioux
QA Contact: Aditya Ramteke
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-13 12:37 UTC by Jan Safranek
Modified: 2025-11-13 12:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Jan Safranek 2025-11-13 12:37:25 UTC
Please provide udev rule(s) that create /dev/disk/by-uuid symlink for BlueStores.

When a raw block device is used as an OSD, it's hard to identify which device is which after a reboot. Some platforms don't have good /dev/disk/by-id symlinks (e.g. vSphere VMs) and the UUID symlink could help users to identify which device is which.

This will be especially useful in ODF that is based on local-storage-operator (LSO) volumes. LSO could use by-uuid symlinks to fix frequent customer issues when by-id symlinks are missing or wrong. For example:
https://issues.redhat.com/browse/OCPBUGS-61988
https://issues.redhat.com/browse/OCPBUGS-60033

These bugs are frustrating to users, because their ODF does not work and they escalate. They blame ODF, which then blames OpenShift and we in OpenShift then blame Ceph tooling not providing by-uuid symlinks.

The hardest part would be to extract a small utility that can detect BlueStore disks and extract UUID from them, so it could be eventually included in a small RPM sub-package with a simple udev rule. It needs to be small enough to be included in the RH CoreOS image. ceph-volume is too heavy and brings too many dependencies.

Version-Release number of selected component (if applicable):
OpenShift 4.21 (= Red Hat Enterprise Linux CoreOS 9.6.20251112-0).
The final target would be probably CoreOS based on RHEL 10.

How reproducible:
always

Steps to Reproduce:
1. Install ODF on OpenShift. Use raw block devices for OSDs.

Actual results:
No /dev/disk/by-uuid symlink exists.

Expected results:
/dev/disk/by-uuid/ symlinks appears for the OSD devices.

Additional info:


Note You need to log in before you can comment on or make changes to this bug.