Description of problem: Not able to replace an OSD in raw mode using ceph-volume. Ceph-volume does not support --osd-id argument. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Destroy an OSD -> ceph osd destroy {id} --yes-i-really-mean-it 2. clean up the disk -> ceph-volume lvm zap /dev/sdX 3. Prepare OSD again in raw mode using - > ceph-volume lvm prepare --osd-id {id} --data /dev/sdX Actual results: Failure at Step 3 due to --osd-id flag not supported in raw mode. 2023-07-13 06:17:49.184305 E | cephosd: . usage: ceph-volume raw prepare [-h] --data DATA [--bluestore] [--bluestore-rdr] [--crush-device-class CRUSH_DEVICE_CLASS] [--no-tmpfs] [--block.db BLOCK_DB] [--block.wal BLOCK_WAL] [--dmcrypt] ceph-volume raw prepare: error: unrecognized arguments: --osd-id 0 Expected results: Ceph volume should support --osd-id flag in raw mode as well. Additional info:
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.
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 (Moderate: Red Hat Ceph Storage 6.1 security, enhancement, and bug fix 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:5693