]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "mgr/osd_support: remove module and all traces" 36949/head
authorSebastian Wagner <sebastian.wagner@suse.com>
Wed, 2 Sep 2020 14:05:25 +0000 (16:05 +0200)
committerSebastian Wagner <sebastian.wagner@suse.com>
Wed, 2 Sep 2020 14:07:49 +0000 (16:07 +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>
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 fe193aec60edbf2d648bab6f2390a3f35c726601..0c0eb9e978986b6af00e4f02725e5cd25cef6fb3 100644 (file)
@@ -1641,6 +1641,7 @@ fi
 %{_datadir}/ceph/mgr/mds_autoscaler
 %{_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 ac9ddd201c7fa11bfb309cb598e25ed337c5abf2..f0f18065bf687db338efdb2e0b3242f4c2af3393 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)