Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937928 - sys-cluster/ceph-18.2.4-r2 ceph-volume fails to detect cryptsetup dependancy
Summary: sys-cluster/ceph-18.2.4-r2 ceph-volume fails to detect cryptsetup dependancy
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-14 17:55 UTC by ev
Modified: 2024-08-15 02:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
first patch (ceph-18.2.4-ceph-volume-fix-set_dmcrypt_no_workqueue-1.patch,3.50 KB, patch)
2024-08-14 17:56 UTC, ev
Details | Diff
second patch (ceph-18.2.4-ceph-volume-fix-set_dmcrypt_no_workqueue-2.patch,3.77 KB, patch)
2024-08-14 17:56 UTC, ev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ev 2024-08-14 17:55:48 UTC
ceph-volume fail cryptsetup version check on ceph-18.2.4-r2 and cannot cannot create dmcrypt encrypted OSDs.

Nixos people have also encountered this issue.  https://github.com/NixOS/nixpkgs/issues/334227

Applying these two commits/patches on top of ceph-18.2.4-r2 fixed the issue for me.

These patches have to applied in correct order. 

https://github.com/ceph/ceph/commit/6ae874902b63652fa199563b6e7950cd75151304.patch
https://github.com/ceph/ceph/commit/607eb34b2c278566c386efcbf3018629cf08ccfd.patch
Comment 1 ev 2024-08-14 17:56:12 UTC
Created attachment 900150 [details, diff]
first patch
Comment 2 ev 2024-08-14 17:56:26 UTC
Created attachment 900151 [details, diff]
second patch