[pve-devel] [PATCH ceph] change ceph mgr plugin dependencies

Dominik Csapak d.csapak at proxmox.com
Wed Jul 3 15:55:52 CEST 2019


only suggest not recommend, remove scipy,numpy and sklearn
dependencies(they are not used)

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 ...mgr-dependencies-to-more-sane-values.patch | 46 +++++++++++++++++++
 patches/series                                |  1 +
 2 files changed, 47 insertions(+)
 create mode 100644 patches/0011-change-ceph-mgr-dependencies-to-more-sane-values.patch

diff --git a/patches/0011-change-ceph-mgr-dependencies-to-more-sane-values.patch b/patches/0011-change-ceph-mgr-dependencies-to-more-sane-values.patch
new file mode 100644
index 000000000..4974357cc
--- /dev/null
+++ b/patches/0011-change-ceph-mgr-dependencies-to-more-sane-values.patch
@@ -0,0 +1,46 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Dominik Csapak <d.csapak at proxmox.com>
+Date: Wed, 3 Jul 2019 13:44:31 +0200
+Subject: [PATCH] change ceph mgr dependencies to more sane values
+
+Only suggest the mgr plugins and remove numpy,scipy and sklearn from
+the diskprediction_local dependencies, as they are not using them
+
+Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
+---
+ debian/control | 15 ++++++---------
+ 1 file changed, 6 insertions(+), 9 deletions(-)
+
+diff --git a/debian/control b/debian/control
+index e7a01c6ff8..6fd8060c57 100644
+--- a/debian/control
++++ b/debian/control
+@@ -188,12 +188,12 @@ Depends: ceph-base (= ${binary:Version}),
+          ${misc:Depends},
+          ${python:Depends},
+          ${shlibs:Depends},
+-Recommends: ceph-mgr-dashboard,
+-            ceph-mgr-diskprediction-local,
+-            ceph-mgr-diskprediction-cloud,
+-            ceph-mgr-rook,
+-            ceph-mgr-ssh
+-Suggests: python-influxdb
++Suggests: ceph-mgr-dashboard,
++          ceph-mgr-diskprediction-local,
++          ceph-mgr-diskprediction-cloud,
++          ceph-mgr-rook,
++          ceph-mgr-ssh,
++          python-influxdb
+ Replaces: ceph (<< 0.93-417),
+ Breaks: ceph (<< 0.93-417),
+ Description: manager for the ceph distributed storage system
+@@ -230,9 +230,6 @@ Description: dashboard plugin for ceph-mgr
+ Package: ceph-mgr-diskprediction-local
+ Architecture: all
+ Depends: ceph-mgr (= ${binary:Version}),
+-         python-numpy,
+-         python-scipy,
+-         python-sklearn,
+          ${misc:Depends},
+          ${python:Depends},
+          ${shlibs:Depends},
diff --git a/patches/series b/patches/series
index 91dfc6138..3a4225433 100644
--- a/patches/series
+++ b/patches/series
@@ -5,3 +5,4 @@
 0008-ceph-volume-lvm.zap-fix-cleanup-for-db-partitions.patch
 0009-remove-legacy-pve-ceph-osd-activation-script-in-post.patch
 0010-remove-legacy-init.d-ceph-script.patch
+0011-change-ceph-mgr-dependencies-to-more-sane-values.patch
-- 
2.20.1





More information about the pve-devel mailing list