From a3cb119a7a5134e7a3e4006381da14ea2a927136 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 30 Mar 2021 14:23:25 +0200 Subject: [PATCH] cephadm: fix a typo this adds a space in order to avoid displaying this: ``` "2021-03-29T10:51:32.595782Z service:rgw.default [ERROR] \"Failed while placing rgw.default.ceph-vasi-node5-osd-rgw-iscsi-gw.hpuesfon ceph-vasi-node5-osd-rgw-iscsi-gw ``` instead of: ``` "2021-03-29T10:51:32.595782Z service:rgw.default [ERROR] \"Failed while placing rgw.default.ceph-vasi-node5-osd-rgw-iscsi-gw.hpuesf on ceph-vasi-node5-osd-rgw-iscsi-rgw ``` Signed-off-by: Guillaume Abrioux --- src/pybind/mgr/cephadm/serve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/cephadm/serve.py b/src/pybind/mgr/cephadm/serve.py index 824f67480752..d8007f56eecf 100644 --- a/src/pybind/mgr/cephadm/serve.py +++ b/src/pybind/mgr/cephadm/serve.py @@ -634,7 +634,7 @@ class CephadmServe: r = True except (RuntimeError, OrchestratorError) as e: self.mgr.events.for_service(spec, 'ERROR', - f"Failed while placing {daemon_type}.{daemon_id}" + f"Failed while placing {daemon_type}.{daemon_id} " f"on {slot.hostname}: {e}") # only return "no change" if no one else has already succeeded. # later successes will also change to True -- 2.47.3