From: Guillaume Abrioux Date: Tue, 30 Mar 2021 12:23:25 +0000 (+0200) Subject: cephadm: fix a typo X-Git-Tag: v17.1.0~2387^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a3cb119a7a5134e7a3e4006381da14ea2a927136;p=ceph.git 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 --- 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