From 0a5debf8215e0507a58d4a862b49eb21467ae970 Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Mon, 12 Sep 2022 17:00:49 -0400 Subject: [PATCH] rgw/main: if !nfs, register service map as "rgw" This was accidentally changed to "nfs"--which breaks various ceph orchestration assumptions. Found by Ernesto Puerta Signed-off-by: Matt Benjamin --- src/rgw/rgw_appmain.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_appmain.cc b/src/rgw/rgw_appmain.cc index 6719de12ddb..3f548e0e041 100644 --- a/src/rgw/rgw_appmain.cc +++ b/src/rgw/rgw_appmain.cc @@ -477,7 +477,7 @@ int rgw::AppMain::init_frontends2(RGWLib* rgwlib) fes.push_back(fe); } - std::string daemon_type = (nfs) ? "rgw-nfs" : "nfs"; + std::string daemon_type = (nfs) ? "rgw-nfs" : "rgw"; r = store->register_to_service_map(dpp, daemon_type, service_map_meta); if (r < 0) { derr << "ERROR: failed to register to service map: " << cpp_strerror(-r) << dendl;