Bug 2064429 - [CEE/SD][ceph-volume] ceph-volume lvm batch not accepting the /dev/disk/by-path/ & /dev/disk/by-id/ for persistent naming
Summary: [CEE/SD][ceph-volume] ceph-volume lvm batch not accepting the /dev/disk/by-pa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Volume
Version: 5.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 5.3z1
Assignee: Guillaume Abrioux
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-15 19:32 UTC by Geo Jose
Modified: 2023-10-05 10:41 UTC (History)
10 users (show)

Fixed In Version: ceph-16.2.10-124.el8cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-28 10:05:13 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 46893 0 None Merged ceph-volume: allow symlinks as devices 2023-01-04 15:59:50 UTC
Red Hat Issue Tracker RHCEPH-3788 0 None None None 2022-03-15 19:37:43 UTC
Red Hat Knowledge Base (Solution) 7001026 0 None None None 2023-04-10 09:41:09 UTC
Red Hat Product Errata RHSA-2023:0980 0 None None None 2023-02-28 10:06:02 UTC

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


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