Bug 2222720
| Summary: | Ceph-volume doesn't allow using --osd-id while preparing OSDs | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Santosh Pillai <sapillai> |
| Component: | Ceph-Volume | Assignee: | Guillaume Abrioux <gabrioux> |
| Status: | ON_QA --- | QA Contact: | Manisha Saini <msaini> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1 | CC: | ceph-eng-bugs, cephqe-warriors, msaini, prsurve, tserlin, vdas, vereddy |
| Target Milestone: | --- | ||
| Target Release: | 6.1z2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-17.2.6-109.el9cp | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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: | |||
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity. |
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: