]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/cloud-restore: Do not send internal headers to cloud-endpoint
authorSoumya Koduri <skoduri@redhat.com>
Fri, 6 Dec 2024 07:38:28 +0000 (13:08 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Tue, 29 Apr 2025 06:15:05 +0000 (11:45 +0530)
While fetching object from the cloud-endpoint, we need not set headers
used internally within RGW. Some of these headers are resulting in
403 error for GET response while using PoINT S3 cloud service.

Fixes: https://tracker.ceph.com/issues/69941
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
(cherry picked from commit a4f0ba46067187aeadb361249c12535af74677cf)

src/rgw/driver/rados/rgw_lc_tier.cc

index c52acef654f3711a2db15086897b9676e77a5fdf..1b7de42b3757871d1b72e8aea362ec7ad8586b91 100644 (file)
@@ -257,10 +257,6 @@ static int cloud_tier_get_object(RGWLCCloudTierCtx& tier_ctx, bool head,
 
   /* init input connection */
   req_params.get_op = !head;
-  req_params.prepend_metadata = true;
-  req_params.rgwx_stat = true;
-  req_params.sync_manifest = true;
-  req_params.skip_decrypt = true;
 
   ret = tier_ctx.conn.get_obj(tier_ctx.dpp, dest_obj, req_params, true /* send */, &in_req);
   if (ret < 0) {