Actions
Bug #74005
open
JB
JB
rgw/posix: Multipart uploads fail with 404 error during part uploads when object names contain multiple dots
Bug #74005:
rgw/posix: Multipart uploads fail with 404 error during part uploads when object names contain multiple dots
Due date:
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Description
this is for RGW backed with driver/posix
create a file with dots in the name (e.g., sample-data.host.domain.id-12345)
$ s3cmd put ./sample-data.host.domain.id-12345 s3://bucket/ upload: './sample-data.host.domain.id-12345' -> 's3://bucket/sample-data.host.domain.id-12345' [part 1 of 5, 15MB] [1 of 1] 15728640 of 15728640 100% in 0s 55.41 MB/s done ERROR: Upload of './sample-data.host.domain.id-12345' part 1 failed. Use /usr/bin/s3cmd abortmp s3://bucket/sample-data.host.domain.id-12345 id-12345 to abort the upload, or /usr/bin/s3cmd --upload-id id-12345 put ... to continue the upload. ERROR: S3 error: 404 (NoSuchKey)
logs on rgw
2024-11-27T10:15:25.123 7f8a9c002700 1 rgw_posix: upload_part object=sample-data.host.domain.id-12345 part=1 upload_id=id-12345 2024-11-27T10:15:25.124 7f8a9c002700 2 rgw_posix: looking for shadow bucket .multipart_sample-data.host.domain.id-12345.id-12345 2024-11-27T10:15:25.125 7f8a9c002700 0 ERROR: could not open dir .multipart_sample-data.host.domain.id-12345.id-12345: (2) No such file or directory 2024-11-27T10:15:25.126 7f8a9c002700 -1 rgw_posix: load failed ret=-2
JB Updated by Joshua Blanch about 1 year ago
- Pull request ID set to 66435
JI Updated by J. Eric Ivancich 12 months ago
- Status changed from New to Fix Under Review
Actions