From 0bbca1c665b6d1336ee1ab89d685e472adb44a45 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Fri, 5 Oct 2018 11:16:46 -0400 Subject: [PATCH] mgr/orchestrator: clarify error message about kubernetes python module 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 --- src/pybind/mgr/rook/module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/rook/module.py b/src/pybind/mgr/rook/module.py index dafd1191aa8b..6677a10a0148 100644 --- a/src/pybind/mgr/rook/module.py +++ b/src/pybind/mgr/rook/module.py @@ -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" -- 2.47.3