ceph/patches
Thomas Lamprecht b7c0642969 cherry-pick fixes for parsing the version of modern cryptsetup
Recent 18.2.4 release contained a cherry-pick of 0985e201342
("ceph-volume: use 'no workqueue' options with dmcrypt") and that
patch introduced parsing the output of `cryptsetup --version`, but it
had a coupling on either a old (or distro-specific) cryptsetup version
output and/or some legacy behavior of the python `packaging` module that
is used for the version parsing.

As the `cryptsetup` tool on bookworm outputs the following version:
> cryptsetup 2.6.1 flags: UDEV BLKID KEYRING KERNEL_CAPI

As the extra strings at the end are not accepted anymore by the
`packaging` python module in bookworm [0], this test fails ceph-volume when
encrypted OSDs are used, which we do by default.

[0]: due to https://github.com/pypa/packaging/pull/407 being included
     in the bookworm version

To make this work again cherry-pick two patches that first filter out
the numerical part from the raw version output using a regex and only
pass that to the version parsing call.

Fixes: https://tracker.ceph.com/issues/66393
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-07-30 20:32:56 +02:00
..
0001-cmake-disable-version-from-git.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0002-debian-control-add-break-libpvestorage-perl.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0003-d-rules-fix-instaldoc-override-and-ship-upstream-cha.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0004-remove-legacy-pve-ceph-osd-activation-script-in-post.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0005-remove-legacy-init.d-ceph-script.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0006-ceph-mgr-only-suggest-mgr-plugins.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0007-Remove-failing-actions-from-prerm.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0008-fix-service-ordering-avoid-Before-remote-fs-pre.targ.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0009-fix-4759-run-ceph-crash-daemon-with-www-data-group-f.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0010-fix-compatibility-with-CPUs-not-supporting-SSE-4.1-i.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0011-mgr-dashboard-remove-ability-to-create-and-check-TLS.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0012-ceph-osd-postinst-do-not-always-reload-all-sysctl-se.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0013-debian-recursively-adjust-permissions-of-var-lib-cep.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0014-ceph-crash-change-order-of-client-names.patch normalize downstream patches 2024-07-30 20:17:52 +02:00
0015-ceph-volume-fix-set_dmcrypt_no_workqueue.patch cherry-pick fixes for parsing the version of modern cryptsetup 2024-07-30 20:32:56 +02:00
0016-ceph-volume-fix-regex-usage-in-set_dmcrypt_no_workqu.patch cherry-pick fixes for parsing the version of modern cryptsetup 2024-07-30 20:32:56 +02:00
series cherry-pick fixes for parsing the version of modern cryptsetup 2024-07-30 20:32:56 +02:00