]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orchestrator: clarify error message about kubernetes python module 24525/head
authorJeff Layton <jlayton@redhat.com>
Fri, 5 Oct 2018 15:16:46 +0000 (11:16 -0400)
committerJeff Layton <jlayton@redhat.com>
Fri, 5 Oct 2018 15:16:46 +0000 (11:16 -0400)
When I saw this message, it took a bit of digging for me to understand
that it meant the _python_ module and not some missing ceph-mgr module.
Let's make that clear.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/pybind/mgr/rook/module.py

index dafd1191aa8b28451fd668fae413018ece085606..6677a10a01483df6f3758c7f31cfcd79622003f7 100644 (file)
@@ -182,11 +182,11 @@ class RookOrchestrator(MgrModule, orchestrator.Orchestrator):
         if kubernetes_imported:
             return True, ""
         else:
-            return False, "`kubernetes` module not found"
+            return False, "`kubernetes` python module not found"
 
     def available(self):
         if not kubernetes_imported:
-            return False, "`kubernetes` module not found"
+            return False, "`kubernetes` python module not found"
         elif not self._in_cluster():
             return False, "ceph-mgr not running in Rook cluster"