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

Dominik Csapak d.csapak at proxmox.com
Thu Jul 4 08:38:49 CEST 2019


only suggest not recommend the plugins

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
changes from v1:
* do not remove scipy,numpy,sklearn dependecies for diskprediction_local
  plugin, as they are used (this is hidden in pickled py objects)
 patches/0011-only-suggest-mgr-plugins.patch | 35 +++++++++++++++++++++
 patches/series                              |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 patches/0011-only-suggest-mgr-plugins.patch

diff --git a/patches/0011-only-suggest-mgr-plugins.patch b/patches/0011-only-suggest-mgr-plugins.patch
new file mode 100644
index 000000000..2f56cf125
--- /dev/null
+++ b/patches/0011-only-suggest-mgr-plugins.patch
@@ -0,0 +1,35 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Dominik Csapak <d.csapak at proxmox.com>
+Date: Thu, 4 Jul 2019 08:17:05 +0200
+Subject: [PATCH] only suggest mgr plugins
+
+so that they wont be installed by default
+
+Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
+---
+ debian/control | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/debian/control b/debian/control
+index e7a01c6ff8..692705c4c4 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
diff --git a/patches/series b/patches/series
index 91dfc6138..1701a0e54 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-only-suggest-mgr-plugins.patch
-- 
2.20.1





More information about the pve-devel mailing list