Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2064429

Summary: [CEE/SD][ceph-volume] ceph-volume lvm batch not accepting the /dev/disk/by-path/ & /dev/disk/by-id/ for persistent naming
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Geo Jose <gjose>
Component: Ceph-VolumeAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1CC: ceph-eng-bugs, gabrioux, hfukumot, mmuench, msaini, sostapov, tsaito, tserlin, vdas, vereddy
Target Milestone: ---   
Target Release: 5.3z1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-16.2.10-124.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-28 10:05:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Geo Jose 2022-03-15 19:32:23 UTC
Description of problem:
 - ceph-volume lvm batch command is not accepting the /dev/disk/by-path/ & /dev/disk/by-id/ for persistent naming

Version-Release number of selected component (if applicable):
 RHCS 5

How reproducible:
Always 

Steps to Reproduce:
1. Install RHCS 5.
2. Create a spec file which contains /dev/disk/by-path/ or /dev/disk/by-id/ as below and apply the configuration:

~~~
[ceph: root@admin /]# cat osd.yaml
service_type: osd
service_id: osd_node1
placement:
  hosts:
    - node1
data_devices:
  paths:
    - /dev/disk/by-id/ata-QEMU_HARDDISK_QM00005
db_devices:
  paths:
    - /dev/disk/by-id/ata-QEMU_HARDDISK_QM00003
[ceph: root@admin /]#
[ceph: root@admin /]# ceph orch apply -i osd.yaml
Scheduled osd.osd_node1 update...
[ceph: root@admin /]#
~~~

3. Check the osd status

Actual results:
 - The osds are not creating since the devices - /dev/disk/by-path/ & /dev/disk/by-id/ are not accepting.

Expected results:
 - The osd should create on the device /dev/disk/by-path/ & /dev/disk/by-id/.
 - For persistent naming, this should be accepted

Comment 23 Scott Ostapovicz 2022-12-14 04:05:00 UTC
Moved to 5.3.  Please clone to the 6.0 release as required.

Comment 31 Scott Ostapovicz 2023-01-04 16:06:15 UTC
This has been merged upstream, but there may not be time to cherry pick this soon enough to include it in 5.3.  Moving back to 5.3 z1.

Comment 39 errata-xmlrpc 2023-02-28 10:05:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Ceph Storage 5.3 Bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:0980