From: Thomas Lamprecht Date: Tue, 5 Sep 2023 11:37:48 +0000 (+0200) Subject: debian: add missing bcrypt to manager .requires X-Git-Url: https://git.proxmox.com/?p=ceph.git;a=commitdiff_plain;h=c945b955169d15aa91b93f5d583923b4049c7c90 debian: add missing bcrypt to manager .requires Signed-off-by: Thomas Lamprecht --- diff --git a/patches/0014-debian-add-missing-bcrypt-to-manager-.requires.patch b/patches/0014-debian-add-missing-bcrypt-to-manager-.requires.patch new file mode 100644 index 000000000..70c50a0f7 --- /dev/null +++ b/patches/0014-debian-add-missing-bcrypt-to-manager-.requires.patch @@ -0,0 +1,42 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Thomas Lamprecht +Date: Tue, 5 Sep 2023 13:28:07 +0200 +Subject: [PATCH] debian: add missing bcrypt to manager .requires + +The `ceph-mgr` package lost its dependency on `python3-bcrypt` when +the dependencies got moved from d/control to a dh_python3 compatible +requires file. Add it again as the bcrypt module is still used there. + +Otherwise one gets errors when, e.g., calling `ceph -s` after a fresh +installation: + +> 13 mgr modules have failed dependencies +> Module 'balancer' has failed dependency: No module named 'bcrypt' +> Module 'crash' has failed dependency: No module named 'bcrypt' +> Module 'devicehealth' has failed dependency: No module named 'bcrypt' +> Module 'iostat' has failed dependency: No module named 'bcrypt' +> Module 'nfs' has failed dependency: No module named 'bcrypt' +> Module 'orchestrator' has failed dependency: No module named 'bcrypt' +> Module 'pg_autoscaler' has failed dependency: No module named 'bcrypt' +> Module 'progress' has failed dependency: No module named 'bcrypt' +> Module 'rbd_support' has failed dependency: No module named 'bcrypt' +> Module 'restful' has failed dependency: No module named 'bcrypt' +> Module 'status' has failed dependency: No module named 'bcrypt' +> Module 'telemetry' has failed dependency: No module named 'bcrypt' +> Module 'volumes' has failed dependency: No module named 'bcrypt' + +Fixes: ef19547e83e ("debian: add .requires for specifying python3 deps") +Signed-off-by: Thomas Lamprecht +--- + debian/ceph-mgr.requires | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/debian/ceph-mgr.requires b/debian/ceph-mgr.requires +index bf334fb9bd2..39336330c93 100644 +--- a/debian/ceph-mgr.requires ++++ b/debian/ceph-mgr.requires +@@ -1,3 +1,4 @@ ++bcrypt + pyOpenSSL + cephfs + ceph-argparse diff --git a/patches/series b/patches/series index d1b233eaf..c78de0235 100644 --- a/patches/series +++ b/patches/series @@ -11,3 +11,4 @@ 0011-d-rules-fix-no-restart-on-upgrade.patch 0012-fix-4759-run-ceph-crash-daemon-with-www-data-group-f.patch 0013-d-rules-compile-with-gcc-12.patch +0014-debian-add-missing-bcrypt-to-manager-.requires.patch