]> git.proxmox.com Git - ceph.git/commitdiff
debian: add missing bcrypt to manager .requires
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 Sep 2023 11:37:48 +0000 (13:37 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 5 Sep 2023 11:37:48 +0000 (13:37 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
patches/0014-debian-add-missing-bcrypt-to-manager-.requires.patch [new file with mode: 0644]
patches/series

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 (file)
index 0000000..70c50a0
--- /dev/null
@@ -0,0 +1,42 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Thomas Lamprecht <t.lamprecht@proxmox.com>
+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 <t.lamprecht@proxmox.com>
+---
+ 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
index d1b233eaf6adcb833b275bac39b8c6eadf4ea3bb..c78de02355dd707d9c65daf02f1de93ea977b7bb 100644 (file)
@@ -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