From: Raimund Sacherer Date: Thu, 13 Nov 2025 19:56:36 +0000 (+0100) Subject: mgr: generate correct keyname for crash daemon X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=52318847b5ef49b5ce1bacb6ed1d40f24d6db1f7;p=ceph-ci.git mgr: generate correct keyname for crash daemon Fixed the orchestrator to create the correct key name for crash daemons. The key was created with the hostname, while we add as authentication name `-n client.crash.`. Fixes: https://tracker.ceph.com/issues/73847 Signed-off-by: Raimund Sacherer --- diff --git a/src/pybind/mgr/cephadm/services/cephadmservice.py b/src/pybind/mgr/cephadm/services/cephadmservice.py index f166051d0ae..8f29488cd0a 100644 --- a/src/pybind/mgr/cephadm/services/cephadmservice.py +++ b/src/pybind/mgr/cephadm/services/cephadmservice.py @@ -52,9 +52,9 @@ def get_auth_entity(daemon_type: str, daemon_id: str, host: str = "") -> AuthEnt """ # despite this mapping entity names to daemons, self.TYPE within # the CephService class refers to service types, not daemon types - if daemon_type in ['rgw', 'rbd-mirror', 'cephfs-mirror', 'nfs', "iscsi", 'nvmeof', 'ingress', 'ceph-exporter']: + if daemon_type in ['rgw', 'rbd-mirror', 'cephfs-mirror', 'nfs', "iscsi", 'nvmeof', 'ingress', 'ceph-exporter', 'crash']: return AuthEntity(f'client.{daemon_type}.{daemon_id}') - elif daemon_type in ['crash', 'agent', 'node-proxy']: + elif daemon_type in ['agent', 'node-proxy']: if host == "": raise OrchestratorError( f'Host not provided to generate <{daemon_type}> auth entity name')