From bc4c323163a3ca799d2aa2b1bd4392f6d5d85aaf Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 11 Nov 2019 11:05:00 -0600 Subject: [PATCH] ceph-daemon: do not fetch daemon detail when removing a cluster It's slow and not needed. Signed-off-by: Sage Weil --- src/ceph-daemon/ceph-daemon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ceph-daemon/ceph-daemon b/src/ceph-daemon/ceph-daemon index f07f84e82d5..befdd5f4f8e 100755 --- a/src/ceph-daemon/ceph-daemon +++ b/src/ceph-daemon/ceph-daemon @@ -1467,7 +1467,7 @@ def command_rm_cluster(): 'this command may destroy precious data!') # stop + disable individual daemon units - for d in list_daemons(): + for d in list_daemons(detail=False): if d['fsid'] != args.fsid: continue if d['style'] != 'ceph-daemon:v1': -- 2.47.3