From: Guillaume Abrioux Date: Tue, 30 Mar 2021 12:23:25 +0000 (+0200) Subject: cephadm: fix a typo X-Git-Tag: v16.2.2~1^2~51 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a4136154df7a91daa88110a4348792c617fbfe45;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 (cherry picked from commit a3cb119a7a5134e7a3e4006381da14ea2a927136) --- diff --git a/src/pybind/mgr/cephadm/serve.py b/src/pybind/mgr/cephadm/serve.py index abd8d324d3597..fdf16c41ccbd2 100644 --- a/src/pybind/mgr/cephadm/serve.py +++ b/src/pybind/mgr/cephadm/serve.py @@ -643,7 +643,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