From 780b71cd0f069757094cab01ac39b43dad687b9e Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 5 Mar 2021 09:40:59 -0500 Subject: [PATCH] Revert "rgw: register daemon in service map with more details" This reverts commit 46ec2f0ddd81b4b5b4a61633eada998dcd606c9b. This broke cephadm (by triggering CEPHADM_STRAY_DAEMON) because cephadm assumes that a daemon named rgw.r.z.foo will register as rgw.r.z.foo. It is not clear to me that there is a way to work around this naming mismatch that makes much sense. I think it makes more sense to focus on the use-case that needs daemons to register under unique names and perhaps control that naming behavior via an option or invest in providing daemons with unique ids up front. Signed-off-by: Sage Weil --- src/rgw/rgw_rados.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index bf3eae6b8d3..c8932c748aa 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -1136,9 +1136,7 @@ int RGWRados::register_to_service_map(const string& daemon_type, const map