Description of problem:
Multipart upload issues with Cloudflare R2 using S3 api. Some S3 compatible object storage systems like R2 require that all multipart chunks are the same size. This was mostly true before, except the final chunk was larger than the requested chunk size which causes uploads to fail.
Version-Release number of selected component (if applicable):
How reproducible:
Problem shows itself on OpenShift CI clusters intermittently.
Steps to Reproduce:
This behavior has been causing 504 Gateway Timeout issues in the image registry instances in OpenShift CI clusters. It is connected to uploading big images (i.e 35GB), but we do not currently have the exact steps that reproduce it. 1. 2. 3.
Actual results:
Expected results:
Additional info:
https://github.com/distribution/distribution/issues/3873 https://github.com/distribution/distribution/issues/3873#issuecomment-2258926705 https://developers.cloudflare.com/r2/api/workers/workers-api-reference/#r2multipartupload-definition (look for "uniform in size")
- clones
-
OCPBUGS-38085 Multipart upload issues with Cloudflare R2 using S3 api
- Verified
- is blocked by
-
OCPBUGS-39040 Multipart upload issues with Cloudflare R2 using S3 api
- Closed
- links to
-
RHBA-2024:6632 OpenShift Container Platform 4.16.z bug fix update