]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon: emit warning during fs rm
authorMilind Changire <mchangir@redhat.com>
Mon, 4 Nov 2024 16:01:39 +0000 (21:31 +0530)
committerJos Collin <jcollin@redhat.com>
Mon, 6 Oct 2025 22:44:46 +0000 (04:14 +0530)
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit dd0c8168325cb6d2bc67b17e9b659f1952956267)

src/mon/FSCommands.cc

index e9774230997b530f60ee55d86ee8b50f57c9a366..5a082b84c74a31eab25a20b65cfc9bfbe82b2e35 100644 (file)
@@ -1150,6 +1150,11 @@ class RemoveFilesystemHandler : public FileSystemCommandHandler
 
     fsmap.erase_filesystem(fsp->get_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;
   }
 };