]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: emit warning during fs rm 61187/head
authorMilind Changire <mchangir@redhat.com>
Mon, 4 Nov 2024 16:01:39 +0000 (21:31 +0530)
committerMilind Changire <mchangir@redhat.com>
Thu, 26 Dec 2024 15:55:52 +0000 (21:25 +0530)
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit dd0c8168325cb6d2bc67b17e9b659f1952956267)

src/mon/FSCommands.cc

index c564226b04f5904f2bf03c8de327986219f00586..5b0b12bc59ec00f1e0e0b75fd36ead2b7b5611a2 100644 (file)
@@ -1157,6 +1157,11 @@ class RemoveFilesystemHandler : public FileSystemCommandHandler
 
     fsmap.erase_filesystem(fs->fscid);
 
+    ss << "If there are active snapshot schedules associated with this "
+       << "file-system, you might see EIO errors in the mgr logs or at the "
+       << "snap-schedule command-line due to the missing file-system. "
+       << "However, these errors are transient and will get auto-resolved.";
+
     return 0;
   }
 };