syncing many large files between s3 buckets occasionally results in a copy failed due to a CompleteMultipartUpload operation: Access Denied #4035
Labels
automation-exempt
Issue will not be subject to stale-bot
closing-soon
This issue will automatically close in 4 days unless further comments are made.
duplicate
This issue is a duplicate.
guidance
Question that needs advice or information.
s3
I have been recently syncing (move-ing) several TB of data between two different S3 buckets. Each file in the "subfolder" is several 10s of GB (e.g. 50GB). I noticed that occasionally in the sync 1 file fails with the following error:
copy failed: {s3 source bucket location} to {s3 target bucket location} An error occurred (AccessDenied) when calling the CompleteMultipartUpload operation: Access Denied
The error is hard to reproduce, but I have observed it twice so far in the past two days. For reproducing, I have tried to delete the failed file from the target bucket and re-run the sync and it succeeds (I have never deleted everything and re-run the full sync since that is very time consuming). I am also unclear on what is actually failing since when I look at the byte count or verify the checksum they both match with the origin bucket.
The command I have been using is
aws s3 sync {s3 source bucket location} to {s3 target bucket location}
.The awscli I have been been using is
aws s3 --version
:aws-cli/1.15.80 Python/2.7.14 Linux/4.14.94-89.73.amzn2.x86_64 botocore/1.10.79
This seems related to #635 since we also get our credentials from the instance metadata.
The text was updated successfully, but these errors were encountered: