From 27177c9fce6dc80c2630af74d07a8b74e0a747f2 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 9 Mar 2021 12:51:55 +0800 Subject: [PATCH] mgr: add mon metada using type of "mon" this change addresses a regression introduced by c037f4cb5d7436879d58c34748ef516b5269781f also remove the "P" before the json command. see also: https://tracker.ceph.com/issues/48905 Fixes: https://tracker.ceph.com/issues/49661 Signed-off-by: Kefu Chai (cherry picked from commit 8fc290bfba4d71a60d30c2374ce4bcba37e649de) Conflicts: src/mgr/Mgr.cc: trivial resolution --- src/mgr/Mgr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mgr/Mgr.cc b/src/mgr/Mgr.cc index 5dee63267ea9f..941f146cd27cb 100644 --- a/src/mgr/Mgr.cc +++ b/src/mgr/Mgr.cc @@ -510,7 +510,7 @@ void Mgr::handle_mon_map() } }); for (const auto& name : names_exist) { - const auto k = DaemonKey{"osd", name}; + const auto k = DaemonKey{"mon", name}; if (daemon_state.is_updating(k)) { continue; } -- 2.39.5