From c3f8c359c28e44576b0bfbc59dc71a2ebfd0239e Mon Sep 17 00:00:00 2001 From: Soumya Koduri Date: Fri, 6 Dec 2024 13:08:28 +0530 Subject: [PATCH] rgw/cloud-restore: Do not send internal headers to cloud-endpoint 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 (cherry picked from commit a4f0ba46067187aeadb361249c12535af74677cf) --- src/rgw/driver/rados/rgw_lc_tier.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/rgw/driver/rados/rgw_lc_tier.cc b/src/rgw/driver/rados/rgw_lc_tier.cc index c52acef654f37..1b7de42b37578 100644 --- a/src/rgw/driver/rados/rgw_lc_tier.cc +++ b/src/rgw/driver/rados/rgw_lc_tier.cc @@ -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) { -- 2.39.5