From: Sage Weil Date: Fri, 23 Apr 2021 19:28:31 +0000 (-0400) Subject: mgr/cephadm: make _plan show removed daemon names X-Git-Tag: v17.1.0~1854^2~36 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1b0980752f159e93a72d73094125dd8d4ec582cc;p=ceph.git mgr/cephadm: make _plan show removed daemon names This is more informative than just the hostnames. Signed-off-by: Sage Weil --- diff --git a/src/pybind/mgr/cephadm/module.py b/src/pybind/mgr/cephadm/module.py index f2a158f07bf2..e7526cb06946 100644 --- a/src/pybind/mgr/cephadm/module.py +++ b/src/pybind/mgr/cephadm/module.py @@ -2255,7 +2255,7 @@ Then run the following: 'service_name': spec.service_name(), 'service_type': spec.service_type, 'add': [hs.hostname for hs in to_add], - 'remove': [d.hostname for d in to_remove] + 'remove': [d.name() for d in to_remove] } @handle_orch_error