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]: No retry logic? #1532

Open
Aransh opened this issue Jul 29, 2024 · 7 comments
Open

[Bug]: No retry logic? #1532

Aransh opened this issue Jul 29, 2024 · 7 comments
Labels
bug issues that report a bug

Comments

@Aransh
Copy link

Aransh commented Jul 29, 2024

Terraform Version

Terraform v1.9.2 on darwin_arm64

Linode Provider Version

version = "2.23.1"

Effected Terraform Resources

linode_object_storage_key

Terraform Config Files

No response

Debug Output

No response

Panic Output

No response

Expected Behavior

linode_object_storage_key (and other resources too probably) should have a retry mechanism in place, especially for server side errors

Actual Behavior

I constantly get 502 errors from Linode provider, a few restarts usually resolve it, but this should be handled on the provider side...

[2024-07-29T08:04:53.186Z] │ Error: Failed to create Object Storage Key
[2024-07-29T08:04:53.186Z] │
[2024-07-29T08:04:53.186Z] │ with module.a1-ddc-ato-heuristic.linode_object_storage_key.this[0],
[2024-07-29T08:04:53.186Z] │ on .terraform/modules/a1-ddc-ato-heuristic/linode-object-storage-key/main.tf line 17, in resource "linode_object_storage_key" "this":
[2024-07-29T08:04:53.186Z] │ 17: resource "linode_object_storage_key" "this" {
[2024-07-29T08:04:53.186Z] │
[2024-07-29T08:04:53.186Z] │ [502] Bad gateway
[2024-07-29T08:04:53.186Z] ╵
[2024-07-29T08:04:53.186Z] ╷
[2024-07-29T08:04:53.186Z] │ Error: Failed to create Object Storage Key
[2024-07-29T08:04:53.186Z] │
[2024-07-29T08:04:53.186Z] │ with module.yondu-unified-feed.linode_object_storage_key.this[0],
[2024-07-29T08:04:53.186Z] │ on .terraform/modules/yondu-unified-feed/linode-object-storage-key/main.tf line 17, in resource "linode_object_storage_key" "this":
[2024-07-29T08:04:53.187Z] │ 17: resource "linode_object_storage_key" "this" {
[2024-07-29T08:04:53.187Z] │
[2024-07-29T08:04:53.187Z] │ [502] Bad gateway

Steps to Reproduce

I guess manages a lot of linode access keys on Linode (us-iad-1 region in my case)... kind of a hard one to replicate, but a retry mechanism for this should be good for everyone either way

@Aransh Aransh added the bug issues that report a bug label Jul 29, 2024
@zliang-akamai
Copy link
Member

zliang-akamai commented Aug 6, 2024

Hi @Aransh, thanks for the feedback!
We are currently looking to this and tracking it internally. We will let you know if we have any update.

Copy link

github-actions bot commented Sep 6, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale label Sep 6, 2024
@Aransh
Copy link
Author

Aransh commented Sep 6, 2024

Not stale

@github-actions github-actions bot removed the Stale label Sep 7, 2024
Copy link

github-actions bot commented Oct 7, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale label Oct 7, 2024
@Aransh
Copy link
Author

Aransh commented Oct 7, 2024

Not stale

@github-actions github-actions bot removed the Stale label Oct 8, 2024
Copy link

github-actions bot commented Nov 7, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added Stale and removed Stale labels Nov 7, 2024
@Aransh
Copy link
Author

Aransh commented Nov 8, 2024

Not stale, still often fails without retry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues that report a bug
Projects
None yet
Development

No branches or pull requests

2 participants