]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: fix a typo 40498/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 30 Mar 2021 12:23:25 +0000 (14:23 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 30 Mar 2021 13:23:42 +0000 (15:23 +0200)
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 <gabrioux@redhat.com>
src/pybind/mgr/cephadm/serve.py

index 824f674807523bb5aaf5bb1bf0a4c9b560cdc138..d8007f56eecf3e43f2417709951168b3d2874718 100644 (file)
@@ -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