Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust S3 Object error message for operation error S3: PutObjectTagging, exceeded maximum number of attempts, 3 #1481

Open
applike-ss opened this issue Sep 3, 2024 · 0 comments
Labels
enhancement New feature or request needs:triage

Comments

@applike-ss
Copy link

What problem are you facing?

I am facing an issue where the following message is displayed for an S3 Object (kind: Object):

async update failed: failed to update the resource: [{0 updating tags
        for S3 (Simple Storage) Object
        (arn:aws:s3:::xyz/object-filename.zyx):
        setting resource tags
        (xyz/object-filename.zyx): operation error
        S3: PutObjectTagging, exceeded maximum number of attempts, 3, https
        response error StatusCode: 503, RequestID: XYZXYZXYZXYZ, HostID:
        y0kr1iy6zyx0DNOZWByum5rIbcoFkkDZ16zkceBs9puOLGjBKq4qptXYxMFErvoRYN2+eM2Be9MEwyoQCcqDFc2ZHdBGScSg95skzxjP9hY=,
        api error SlowDown: Please reduce your request rate.  []}]

As you can see, we are getting a slow down error from the aws api here.

I assume that this comes from the object version (it is a versioned bucket) not existing anymore and crossplane constantly trying to set the tags.

What could help solve your problem?

Better detect if an object (or its version) does not exist anymore and add this into the message field on the kubernetes object to give a hint why there is this error.

@applike-ss applike-ss added enhancement New feature or request needs:triage labels Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs:triage
Projects
None yet
Development

No branches or pull requests

1 participant