From: Naman Munet Date: Tue, 17 Mar 2026 13:33:28 +0000 (+0530) Subject: mgr/dashboard: services page breaking for test_orchestrator module X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8f413300b29f437a345f226cb222d99e80663bc7;p=ceph.git mgr/dashboard: services page breaking for test_orchestrator module Fixes: https://tracker.ceph.com/issues/75561 Signed-off-by: Naman Munet --- diff --git a/src/pybind/mgr/dashboard/services/certificate.py b/src/pybind/mgr/dashboard/services/certificate.py index 53f17d23c6e..d9cbbcc5f48 100644 --- a/src/pybind/mgr/dashboard/services/certificate.py +++ b/src/pybind/mgr/dashboard/services/certificate.py @@ -540,9 +540,13 @@ class CertificateService: :param include_cephadm_signed: Whether to include cephadm-signed certs (default: True) :return: Dictionary of certificate data """ - cert_ls_result = orch.cert_store.cert_ls( - filter_by=filter_by, - show_details=show_details, - include_cephadm_signed=include_cephadm_signed - ) - return cert_ls_result or {} + try: + cert_ls_result = orch.cert_store.cert_ls( + filter_by=filter_by, + show_details=show_details, + include_cephadm_signed=include_cephadm_signed + ) + return cert_ls_result or {} + except NotImplementedError: + # Orchestrator doesn't support certificate operations + return {}