From: Patrick Donnelly Date: Fri, 19 Mar 2021 21:41:58 +0000 (-0700) Subject: mgr: add debug output for commands dispatched X-Git-Tag: v17.1.0~2378^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bb56c30167bed615db86aff5290550a887b3731a;p=ceph.git mgr: add debug output for commands dispatched Signed-off-by: Patrick Donnelly --- diff --git a/src/mgr/DaemonServer.cc b/src/mgr/DaemonServer.cc index 64edc8bdfb7..ea41ba05887 100644 --- a/src/mgr/DaemonServer.cc +++ b/src/mgr/DaemonServer.cc @@ -2396,11 +2396,13 @@ bool DaemonServer::_handle_command( return true; } - dout(10) << "passing through " << cmdctx->cmdmap.size() << dendl; + dout(10) << "passing through command '" << prefix << "' size " << cmdctx->cmdmap.size() << dendl; finisher.queue(new LambdaContext([this, cmdctx, session, py_command, prefix] (int r_) mutable { std::stringstream ss; + dout(10) << "dispatching command '" << prefix << "' size " << cmdctx->cmdmap.size() << dendl; + // Validate that the module is enabled auto& py_handler_name = py_command.module_name; PyModuleRef module = py_modules.get_module(py_handler_name); @@ -2456,6 +2458,7 @@ bool DaemonServer::_handle_command( cmdctx->odata.append(ds); cmdctx->reply(r, ss); + dout(10) << " command returned " << r << dendl; })); return true; }