]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/nvmeof: introduce nvmeof module and create .nvmeof rbd pool on orch nvmeof apply
authorTomer Haskalovitch <tomer.haska@ibm.com>
Sun, 23 Nov 2025 07:46:30 +0000 (09:46 +0200)
committerTomer Haskalovitch <tomer.haska@ibm.com>
Thu, 19 Feb 2026 01:17:14 +0000 (03:17 +0200)
Introduce a new NVMe-oF mgr module and which create the pool
used for storing NVMe-related metadata ceph orch nvmeof apply command.
This removes the need for users to manually create and configure the
metadata pool before using the NVMe-oF functionality, simplifying
setup and reducing the chance of misconfiguration.
Signed-off-by: Tomer Haskalovitch <tomer.haska@ibm.com>
src/mon/MgrMonitor.cc

index e387212ac0917decae6ba562fff8abd6ae4850cf..eab01e96e3a97c40e3f8d1c04a7c0a3e65a3bf8e 100644 (file)
@@ -90,13 +90,21 @@ static const std::map<uint32_t, std::set<std::string>>& always_on_modules() {
     "pg_autoscaler",
     "telemetry",
   };
+
+  // Tentacle adds nvmeof as always-on
+  static const std::set<std::string> tentacle_modules = [] {
+    auto s = octopus_modules;
+    s.insert("nvmeof");
+    return s;
+  }();
+
   static const std::map<uint32_t, std::set<std::string>> always_on_modules_map = {
     { CEPH_RELEASE_OCTOPUS, octopus_modules },
     { CEPH_RELEASE_PACIFIC, octopus_modules },
     { CEPH_RELEASE_QUINCY, octopus_modules },
     { CEPH_RELEASE_REEF, octopus_modules },
     { CEPH_RELEASE_SQUID, octopus_modules },
-    { CEPH_RELEASE_TENTACLE, octopus_modules },
+    { CEPH_RELEASE_TENTACLE, tentacle_modules },
   };
   return always_on_modules_map;
 };