From d8900d4ffe6547450d032b7b93f5bf54e4587bdb Mon Sep 17 00:00:00 2001 From: Ricardo Dias Date: Tue, 5 Feb 2019 12:02:59 +0000 Subject: [PATCH] mgr/dashboard: ganesha: add LookupError when checking RGW connectivity Signed-off-by: Ricardo Dias --- src/pybind/mgr/dashboard/services/ganesha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/dashboard/services/ganesha.py b/src/pybind/mgr/dashboard/services/ganesha.py index bb9236babb77..d602c6d6bd9a 100644 --- a/src/pybind/mgr/dashboard/services/ganesha.py +++ b/src/pybind/mgr/dashboard/services/ganesha.py @@ -144,7 +144,7 @@ class Ganesha(object): if RgwClient.admin_instance().is_service_online() and \ RgwClient.admin_instance().is_system_user(): result.append("RGW") - except (NoCredentialsException, RequestException): + except (NoCredentialsException, RequestException, LookupError): pass return result -- 2.47.3