Project

General

Profile

Fix #41540

Multiple issues in the RGW AWS cloud sync module

Added by Ed Fisher about 2 months ago. Updated about 1 month ago.

Status:
Need Review
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/27/2019
Due date:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

  • The default config profile is parsed before the acls/connections blocks, preventing the default config from using connection_id and potentially causing conflicts with explicit profiles
  • Tracking of created_buckets doesn't work as intended
  • Canonical resource generation for virtual-style endpoints incorrectly doesn't include the bucket name
  • Multipart upload min chunk size is calculated incorrectly, resulting in 10001 parts instead of 10000.
  • Tracking cur_ofs separately with multipart uploads can result in cur_ofs getting out of sync with cur_part, causing underflows when content-length is calculated and resulting in EntityTooLarge errors from S3.

And an enhancement thrown in:

  • Allow explicit profile matching based on bucket owner/bucket tenant, in addition to bucket name.

PR coming. This is my first contribution, so please let me know if I screwed up any of the steps, more information is needed, or I should split any of these into separate issues/PRs.

History

#2 Updated by Casey Bodley about 2 months ago

  • Status changed from New to Need Review
  • Pull request ID set to 29936

#3 Updated by Greg Farnum about 1 month ago

  • Project changed from Ceph to rgw

Also available in: Atom PDF