Back to bug 2188246

Who When What Removed Added
Red Hat One Jira (issues.redhat.com) 2023-04-20 09:13:55 UTC Link ID Red Hat Issue Tracker RHCEPH-6493
Geo Jose 2023-04-20 09:16:40 UTC CC gjose
Yalcin 2023-04-20 10:44:31 UTC Comment 0 updated
Guillaume Abrioux 2023-04-20 12:43:34 UTC Target Release 6.1z1 5.3z3
Guillaume Abrioux 2023-05-02 13:10:18 UTC Status NEW ASSIGNED
Veera Raghava Reddy 2023-05-03 19:16:35 UTC CC vereddy
Guillaume Abrioux 2023-05-04 08:16:08 UTC Target Release 5.3z3 6.1z1
Link ID Github ceph/ceph/pull/51343
Geo Jose 2023-05-10 09:42:24 UTC Link ID Red Hat Knowledge Base (Solution) 7012104
Guillaume Abrioux 2023-05-23 13:30:58 UTC Blocks 2209319
Scott Ostapovicz 2023-07-12 12:48:34 UTC CC sostapov
Scott Ostapovicz 2023-07-12 12:49:10 UTC Target Release 6.1z1 6.1z2
Guillaume Abrioux 2023-07-12 12:49:45 UTC Target Release 6.1z2 6.1z1
Status ASSIGNED POST
errata-xmlrpc 2023-07-12 15:27:37 UTC CC tserlin
Status POST MODIFIED
Fixed In Version ceph-17.2.6-92.el9cp
Status MODIFIED ON_QA
Akash Raj 2023-07-13 17:25:04 UTC Flags needinfo?(gabrioux)
Blocks 2221020
Docs Contact akraj
CC akraj, gabrioux
Guillaume Abrioux 2023-07-17 13:22:02 UTC Flags needinfo?(gabrioux)
Red Hat Bugzilla 2023-07-17 13:22:02 UTC Doc Type If docs needed, set a value No Doc Update
Guillaume Abrioux 2023-07-17 13:35:05 UTC Doc Type No Doc Update Bug Fix
Doc Text Cause: ceph-volume filters out devices that are already used by ceph. In case of non-collocated OSDs journal devices (db/wal) are filtered out given that a db/wal device can be shared between multiple OSDs. ceph-volume always assumes that passed db/wal devices are not 'already used by ceph' so they can be re-used when deploying new OSDs. It makes the logic from ceph-volume always return the full list of passed db/wal devices when the 'lvm batch' command is invoked. Given that it checks whether the length of the list returned by get_lvm_fast_allocs() is equal to num_osds (the number of OSD being created), it fails.

Consequence: Deploying new OSDs with pre-created VGs/LVs fails.

Fix: add a new property "journal_used_by_ceph" in the code so db/wal devices aren't filtered out.

Result: Deploying new OSDs with pre-created VGs/LVs works.
Guillaume Abrioux 2023-07-17 13:37:49 UTC Doc Text Cause: ceph-volume filters out devices that are already used by ceph. In case of non-collocated OSDs journal devices (db/wal) are filtered out given that a db/wal device can be shared between multiple OSDs. ceph-volume always assumes that passed db/wal devices are not 'already used by ceph' so they can be re-used when deploying new OSDs. It makes the logic from ceph-volume always return the full list of passed db/wal devices when the 'lvm batch' command is invoked. Given that it checks whether the length of the list returned by get_lvm_fast_allocs() is equal to num_osds (the number of OSD being created), it fails.

Consequence: Deploying new OSDs with pre-created VGs/LVs fails.

Fix: add a new property "journal_used_by_ceph" in the code so db/wal devices aren't filtered out.

Result: Deploying new OSDs with pre-created VGs/LVs works.
Cause: Due to a bug, ceph-volume doesn't filter out devices already used by ceph.

Consequence: Adding new OSDs with ceph-volume fails when using pre-created LVs.

Fix: make ceph-volume filter out devices already used by ceph as expected.

Result: Adding new OSDs with pre-created LVs works.
Akash Raj 2023-07-25 04:38:17 UTC Doc Text Cause: Due to a bug, ceph-volume doesn't filter out devices already used by ceph.

Consequence: Adding new OSDs with ceph-volume fails when using pre-created LVs.

Fix: make ceph-volume filter out devices already used by ceph as expected.

Result: Adding new OSDs with pre-created LVs works.
.Devices already used by Ceph are filtered out in `ceph-volume`

Previously, due to a bug, `ceph-volume` would not filter out devices already used by Ceph. Due to this, adding new OSDs with `ceph-volume` failed when using pre-created LVs.

With this fix, devices already used by Ceph are filtered out in `ceph-volume` as expected and new OSDs with pre-created LVs can now be added.
Manisha Saini 2023-07-26 05:22:16 UTC QA Contact msaini aramteke
Aditya Ramteke 2023-07-27 11:24:37 UTC Status ON_QA ASSIGNED
Aditya Ramteke 2023-07-28 12:55:41 UTC Status ASSIGNED VERIFIED
errata-xmlrpc 2023-08-03 16:32:26 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-08-03 16:45:09 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2023-08-03 16:45:09 UTC
errata-xmlrpc 2023-08-03 16:46:18 UTC Link ID Red Hat Product Errata RHBA-2023:4473

Back to bug 2188246