terraform-provider-linode icon indicating copy to clipboard operation
terraform-provider-linode copied to clipboard

[Bug]: No retry logic?

Open Aransh opened this issue 1 year ago • 5 comments

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 avatar Jul 29 '24 08:07 Aransh

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.

zliang-akamai avatar Aug 06 '24 01:08 zliang-akamai

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[bot] avatar Sep 06 '24 00:09 github-actions[bot]

Not stale

Aransh avatar Sep 06 '24 08:09 Aransh

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[bot] avatar Oct 07 '24 00:10 github-actions[bot]

Not stale

Aransh avatar Oct 07 '24 08:10 Aransh

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[bot] avatar Nov 07 '24 00:11 github-actions[bot]

Not stale, still often fails without retry

Aransh avatar Nov 08 '24 12:11 Aransh

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[bot] avatar Dec 09 '24 00:12 github-actions[bot]

any updates here?

metacoma avatar Feb 05 '25 19:02 metacoma

Handled by https://github.com/linode/terraform-provider-linode/pull/1867 🤩

Aransh avatar May 22 '25 17:05 Aransh