]> git-server-git.apps.pok.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:13:28 +0000 (11:43 +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/69940
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
(cherry picked from commit a4f0ba46067187aeadb361249c12535af74677cf)

src/rgw/driver/rados/rgw_lc_tier.cc

index 9fbc931ebcb959f1451fe24e39a7da99d553e5a8..34dba346eba7d5f0ca2d667c60a0ed8680a93144 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) {