]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: deprecate the civetweb frontend 41262/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 10 May 2021 15:48:48 +0000 (11:48 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 11 May 2021 12:45:22 +0000 (08:45 -0400)
Fixes: https://tracker.ceph.com/issues/50758
Signed-off-by: Casey Bodley <cbodley@redhat.com>
doc/radosgw/frontends.rst
src/rgw/rgw_main.cc

index e4a013590851c06fbe815352bd7e551c42d94791..124dd9665023928e108cf5452f1896c172b65c81 100644 (file)
@@ -100,6 +100,7 @@ Civetweb
 ========
 
 .. versionadded:: Firefly
+.. deprecated:: Pacific
 
 The ``civetweb`` frontend uses the Civetweb HTTP library, which is a
 fork of Mongoose.
index 25377848dd00365faa5bd961132ae0cf8b7b9df4..b684021a7a13bbfc7a3da00b59bcee28f0e9d7c9 100644 (file)
@@ -560,6 +560,8 @@ int radosgw_Main(int argc, const char **argv)
     RGWFrontend *fe = NULL;
 
     if (framework == "civetweb" || framework == "mongoose") {
+      lderr(cct.get()) << "IMPORTANT: the civetweb frontend is now deprecated "
+          "and will be removed in a future release" << dendl;
       framework = "civetweb";
       std::string uri_prefix;
       config->get_val("prefix", "", &uri_prefix);