]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "mgr/osd_support: remove module and all traces" 36973/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Wed, 2 Sep 2020 14:05:25 +0000 (16:05 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Thu, 3 Sep 2020 11:08:41 +0000 (13:08 +0200)
This reverts commit a55c1dd0fac826978edf22e448c3456e7634cbc3.

Kept to keep upgrades from older point releases working.
This module can be removed as soon as we no longer
support upgrades from old octopus point releases.

Revert "build/debian: remove osd_support"

This reverts commit 8ff2824beb78dfd03710e94302f038ea70fb4561.

Fixes: https://tracker.ceph.com/issues/47109
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit 43f1bdb6ef7d740eda219bac7d0280ed558e319d)

ceph.spec.in
debian/ceph-mgr-modules-core.install
src/pybind/mgr/osd_support/__init__.py [new file with mode: 0644]
src/pybind/mgr/osd_support/module.py [new file with mode: 0644]

index dcc341cbf5919fc4a268f9139f9c78ff3cf32a96..04122c99726685f98dcfee4a686f2f20a59f6e6a 100644 (file)
@@ -1713,6 +1713,7 @@ fi
 %{_datadir}/ceph/mgr/localpool
 %{_datadir}/ceph/mgr/orchestrator
 %{_datadir}/ceph/mgr/osd_perf_query
+%{_datadir}/ceph/mgr/osd_support
 %{_datadir}/ceph/mgr/pg_autoscaler
 %{_datadir}/ceph/mgr/progress
 %{_datadir}/ceph/mgr/prometheus
index 903a4d8b014a5e1f1acdc8300d5b7d9ed002ab27..bdb687a64c96a7b9a10c2ca8d78179ee2586f7da 100644 (file)
@@ -8,6 +8,7 @@ usr/share/ceph/mgr/iostat
 usr/share/ceph/mgr/localpool
 usr/share/ceph/mgr/orchestrator
 usr/share/ceph/mgr/osd_perf_query
+usr/share/ceph/mgr/osd_support
 usr/share/ceph/mgr/pg_autoscaler
 usr/share/ceph/mgr/progress
 usr/share/ceph/mgr/prometheus
diff --git a/src/pybind/mgr/osd_support/__init__.py b/src/pybind/mgr/osd_support/__init__.py
new file mode 100644 (file)
index 0000000..88ed2b9
--- /dev/null
@@ -0,0 +1 @@
+from .module import OSDSupport
diff --git a/src/pybind/mgr/osd_support/module.py b/src/pybind/mgr/osd_support/module.py
new file mode 100644 (file)
index 0000000..1f3e137
--- /dev/null
@@ -0,0 +1,19 @@
+from mgr_module import MgrModule
+
+
+class OSDSupport(MgrModule):
+    # Kept to keep upgrades from older point releases working.
+    # This module can be removed as soon as we no longer
+    # support upgrades from old octopus point releases.
+
+    # On the other hand, if you find a use for this module,
+    # Feel free to use it!
+
+    COMMANDS = []
+
+    MODULE_OPTIONS: []
+
+    NATIVE_OPTIONS: []
+
+    def __init__(self, *args, **kwargs):
+        super(OSDSupport, self).__init__(*args, **kwargs)