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

[Bug]: s3 bucket poll not happening regularly #1441

Open
1 task done
Gourab1998 opened this issue Aug 3, 2024 · 3 comments
Open
1 task done

[Bug]: s3 bucket poll not happening regularly #1441

Gourab1998 opened this issue Aug 3, 2024 · 3 comments
Labels
bug Something isn't working needs:triage

Comments

@Gourab1998
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Affected Resource(s)

s3.aws.upbound.io/v1beta1

Resource MRs required to reproduce the bug

No response

Steps to Reproduce

Create a bucket
Delete the bucket from s3 console

What happened?

Bucket not recreated automatically by provider-aws-s3
Expected was controller should pick up the drift and try to recreate the bucket
On force restart of provider-aws-s3- pod it reconciles & bucket recreated

Relevant Error Output Snippet

No response

Crossplane Version

1.16.0

Provider Version

v1.10.0

Kubernetes Version

No response

Kubernetes Distribution

No response

Additional Info

No response

@Gourab1998 Gourab1998 added bug Something isn't working needs:triage labels Aug 3, 2024
@mergenci
Copy link
Collaborator

mergenci commented Aug 4, 2024

@Gourab1998, thanks for your report. Have you waited for a reconciliation period to let the provider recreate the bucket? Alternatively, you can trigger a reconciliation by adding a dummy annotation: kubectl annotate buckets.s3.aws.upbound.io/bucketname --overwrite foo="$(date)"

@Gourab1998
Copy link
Author

Gourab1998 commented Aug 4, 2024

Hi @mergenci
Thanks for your super quick response. According to the docs --poll-interval is 1 minute so was expecting new s3 bucket to be created by then. I noticed that Bucket was actually being created but after 10 minutes since deletion.
Don't know if it is intentionally this long or a minor bug, also it would be great if it can be configurable since 10 minutes is too long.

@mergenci
Copy link
Collaborator

mergenci commented Aug 5, 2024

Our default poll interval is 10 minutes. Do you remember in which documentation you've read it as 1 minute? We better update it.

You can set a custom poll interval by configuring a DeploymentRuntimeConfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs:triage
Projects
None yet
Development

No branches or pull requests

2 participants