From: Sage Weil Date: Wed, 8 Aug 2018 13:51:10 +0000 (-0500) Subject: mgr/MgrClient: make some noise for a user if no mgr daemon is running X-Git-Tag: v14.0.1~615^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F23492%2Fhead;p=ceph.git mgr/MgrClient: make some noise for a user if no mgr daemon is running Otherwise a cli command may unexpectedly hang forever with not output because no ceph-mgr is running, which can be confusing for an admin. Signed-off-by: Sage Weil --- diff --git a/src/mgr/MgrClient.cc b/src/mgr/MgrClient.cc index 06d2810d827..ea6998167b7 100644 --- a/src/mgr/MgrClient.cc +++ b/src/mgr/MgrClient.cc @@ -428,7 +428,7 @@ int MgrClient::start_command(const vector& cmd, const bufferlist& inbl, MCommand *m = op.get_message({}); session->con->send_message(m); } else { - ldout(cct, 4) << "start_command: no mgr session, waiting" << dendl; + ldout(cct, 0) << "no mgr session (no running mgr daemon?), waiting" << dendl; } return 0; }