From 8f413300b29f437a345f226cb222d99e80663bc7 Mon Sep 17 00:00:00 2001 From: Naman Munet Date: Tue, 17 Mar 2026 19:03:28 +0530 Subject: [PATCH] mgr/dashboard: services page breaking for test_orchestrator module Fixes: https://tracker.ceph.com/issues/75561 Signed-off-by: Naman Munet --- src/pybind/mgr/dashboard/services/certificate.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/pybind/mgr/dashboard/services/certificate.py b/src/pybind/mgr/dashboard/services/certificate.py index 53f17d23c6ea..d9cbbcc5f488 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 {} -- 2.47.3