Project

General

Profile

Actions

Bug #71998

closed
CB SM

multisite: bucket full sync gets stuck at keys containing % due to 403 SignatureDoesNotMatch

Bug #71998: multisite: bucket full sync gets stuck at keys containing % due to 403 SignatureDoesNotMatch

Added by Casey Bodley over 1 year ago. Updated 29 days ago.

Status:
Backporting
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
multisite, sigv4
Fixed In:
v20.3.0-2069-ge13a23c760
Released In:
v21.2.0~2338
Upkeep Timestamp:
2026-11-04T01:05:01+00:00

Description

bucket full sync uses RGWListRemoteBucketCR to send a bucket listing request with a query param key-marker as the position to resume listing

the client-side v4 signing logic appears to be calculating a signature based on un-encoded query parameters, but gen_v4_canonical_qs() relies on aws4_uri_recode() when expects them to be url-encoded already. aws4_uri_recode() first calls uri_decode() on the input, which returns an empty string if the input isn't a valid url-encoding (such as normal object names that contain a % character)

when that happens, the client would calculate a signature based on an empty value for key-marker, while the server would handle it correctly


Related issues 2 (1 open — 1 closed)

Copied to rgw - Backport #72570: tentacle: multisite: bucket full sync gets stuck at keys containing % due to 403 SignatureDoesNotMatchFix Under ReviewShilpa MJ

Actions
Copied to rgw - Backport #72571: squid: multisite: bucket full sync gets stuck at keys containing % due to 403 SignatureDoesNotMatchResolvedShilpa MJ

Actions

SM Updated by Shilpa MJ over 1 year ago Actions #1

  • Pull request ID set to 64376

SM Updated by Shilpa MJ over 1 year ago Actions #2

  • Status changed from New to Fix Under Review

JI Updated by J. Eric Ivancich over 1 year ago Actions #3

  • Assignee set to Shilpa MJ

UB Updated by Upkeep Bot over 1 year ago Actions #4

  • Merge Commit set to e13a23c760c812d1d95b059568bf3bde599d2078
  • Fixed In set to v20.3.0-2069-ge13a23c760
  • Upkeep Timestamp set to 2025-08-05T05:02:07+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #5

  • Status changed from Fix Under Review to Pending Backport
  • Upkeep Timestamp changed from 2025-08-05T05:02:07+00:00 to 2025-08-13T14:03:10+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #6

  • Copied to Backport #72570: tentacle: multisite: bucket full sync gets stuck at keys containing % due to 403 SignatureDoesNotMatch added

UB Updated by Upkeep Bot over 1 year ago Actions #7

  • Copied to Backport #72571: squid: multisite: bucket full sync gets stuck at keys containing % due to 403 SignatureDoesNotMatch added

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • Tags (freeform) changed from multisite sigv4 to multisite sigv4 backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #9

  • Status changed from Pending Backport to Backporting
  • Upkeep Timestamp changed from 2025-08-13T14:03:10+00:00 to 2026-08-27T18:06:08+00:00

UB Updated by Upkeep Bot 3 months ago Actions #10

  • Tags (freeform) changed from multisite sigv4 backport_processed to multisite, sigv4
  • Upkeep Timestamp changed from 2026-08-27T18:06:08+00:00 to 2026-08-28T01:51:26+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #11

  • Released In set to v21.2.0~2337
  • Upkeep Timestamp changed from 2026-08-28T01:51:26+00:00 to 2026-10-23T16:19:45+00:00

UB Updated by Upkeep Bot 29 days ago Actions #12

  • Released In changed from v21.2.0~2337 to v21.2.0~2338
  • Upkeep Timestamp changed from 2026-10-23T16:19:45+00:00 to 2026-11-04T01:05:01+00:00
Actions

Also available in: PDF Atom