]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/main: if !nfs, register service map as "rgw" 47771/head
authorMatt Benjamin <mbenjamin@redhat.com>
Mon, 12 Sep 2022 21:00:49 +0000 (17:00 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Mon, 12 Sep 2022 21:00:49 +0000 (17:00 -0400)
This was accidentally changed to "nfs"--which breaks various
ceph orchestration assumptions.

Found by Ernesto Puerta <epuertat@redhat.com>

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_appmain.cc

index 6719de12ddb1581ec651470a6a35b341b245d6e7..3f548e0e041e761fff9e5f6c484fdc4b608dba80 100644 (file)
@@ -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;