From: Ricardo Dias Date: Tue, 5 Feb 2019 12:02:59 +0000 (+0000) Subject: mgr/dashboard: ganesha: add LookupError when checking RGW connectivity X-Git-Tag: v14.1.0~199^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d8900d4ffe6547450d032b7b93f5bf54e4587bdb;p=ceph.git mgr/dashboard: ganesha: add LookupError when checking RGW connectivity Signed-off-by: Ricardo Dias --- 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