]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: osd: prime new daemons with proper daemon_id type
authorSebastian Wagner <sewagner@redhat.com>
Wed, 8 Sep 2021 13:24:58 +0000 (15:24 +0200)
committerSebastian Wagner <sewagner@redhat.com>
Mon, 3 Jan 2022 13:14:01 +0000 (14:14 +0100)
No one noticed this before, cause it's going to fix itself next time we
check teh daemons on that host

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
(cherry picked from commit 3fa14458a853b68856e45376833e8c12038be7e6)

src/pybind/mgr/cephadm/services/osd.py

index 5e7e26fc15c543ffee5500febbe6f688da93089d..f485257f2b47027411e87be5f10e4f1a36237357 100644 (file)
@@ -133,7 +133,7 @@ class OSDService(CephService):
                 created.append(osd_id)
                 daemon_spec: CephadmDaemonDeploySpec = CephadmDaemonDeploySpec(
                     service_name=service_name,
-                    daemon_id=osd_id,
+                    daemon_id=str(osd_id),
                     host=host,
                     daemon_type='osd',
                 )