From: Sage Weil Date: Tue, 10 Sep 2019 18:50:50 +0000 (-0500) Subject: ceph: make 'ceph tell mgr.*' send to the active mgr X-Git-Tag: v15.1.0~1323^2~39 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=774c0e67978653b166bc1b75175f819ebaec6da4;p=ceph.git ceph: make 'ceph tell mgr.*' send to the active mgr We can only send tell commands to the active mgr. Signed-off-by: Sage Weil --- diff --git a/src/ceph.in b/src/ceph.in index fa6514418c06..fac4ce3f06e9 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -211,8 +211,9 @@ def mgrids(): d = json.loads(outbuf.decode('utf-8')) l = [] l.append(d['active_name']) - for i in d['standbys']: - l.append(i['name']) + # we can only send tell commands to the active mgr + #for i in d['standbys']: + # l.append(i['name']) return l