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

Provider incorrectly report the latest version as 2 versions behind the latest in any error message #2263

Open
luckeyca opened this issue Jan 9, 2025 · 2 comments
Labels
awaiting-affected-resources Please Provide the affected resource name in description. ex. Affected resource - oci_core_instance bug

Comments

@luckeyca
Copy link

luckeyca commented Jan 9, 2025

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version and Provider Version

Terraform v1.8.5
on linux_amd64

  • provider registry.terraform.io/oracle/oci v6.21.0

Affected Resource(s)

affected_resources = terraform

Terraform Configuration Files

N/A. Any terraform run producing an error will have this issue.

Debug Output

Panic Output

│ Error: 404-NotAuthorizedOrNotFound, Failed to validate tags: TagNamespace ns does not exists
│ Suggestion: Either the resource has been deleted or service Identity Compartment need policy to access this resource. Policy reference: https://docs.oracle.com/en-us/iaas/Content/Identity/Reference/policyreference.htm
│ Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/identity_compartment
│ API Reference: https://docs.oracle.com/iaas/api/#/en/identity/20160918/Compartment/CreateCompartment
│ Request Target: POST https://identity.ca-toronto-1.oci.oraclecloud.com/20160918/compartments
│ Provider version: 6.21.0, released on 2024-12-22. This provider is 2 Update(s) behind to current.
│ Service: Identity Compartment
│ Operation Name: CreateCompartment
│ OPC request ID: 7e54ff190781fece5b9e0978a2d54970/53CD14EF4076FFEA613F311BF0996F7B/32B37618E54F3694336E2E3D80012ACC

│ Error: 429-TooManyRequests, Tenant has been throttled. Too Many Requests
│ Suggestion: Please re-apply your Terraform config and/or increase the retry timeout using this document: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/terraformtroubleshooting.htm#common_issues__automaticretries
│ Documentation: https://registry.terraform.io/providers/oracle/oci/latest/docs/resources/identity_tag
│ API Reference: https://docs.oracle.com/iaas/api/#/en/identity/20160918/Tag/DeleteTag
│ Request Target: DELETE https://identity.ca-toronto-1.oci.oraclecloud.com/20160918/tagNamespaces/ocid1.tagnamespace.oc1..aaaaaaaas4jtlhko64f22bhpzxf4x2strcysub4bczhyroivpc4svpk2u6yq/tags/k3
│ Provider version: 6.21.0, released on 2024-12-22. This provider is 2 Update(s) behind to current.
│ Service: Identity Tag
│ Operation Name: DeleteTag
│ OPC request ID: 7737077f23a440e1cf21a80dffdbc971/92E643E906742C48465D23A5E6BC4CF6/006F3E46D0BFDF07E7C6201FF6A1DCD2

Expected Behavior

As of today, Jan 9, 2025, provider version 6.21.0 is the latest published version, so in any message referencing the version should NOT say it's out-of-date.

Actual Behavior

As the two error messages posted above, even though 6.21.0 is the latest, it says it's 2 Updates behind to the current.

Steps to Reproduce

  1. create a dummy terraform code that will fail with error

  2. terraform apply

@luckeyca luckeyca added the bug label Jan 9, 2025
@tf-oci-pub
Copy link
Member

Thank you for reporting the issue. We observed the affected resources are not provided in the description or it's incorrect. We request you to add it in issue description as mentioned in below format.
Example: affected_resources = oci_core_instance , oci_core_instances

If it's not related to any particular resource then mention affected resource as terraform.
Example: affected_resources = terraform

As this works through automation, request you to follow exact syntax.

@tf-oci-pub tf-oci-pub added the awaiting-affected-resources Please Provide the affected resource name in description. ex. Affected resource - oci_core_instance label Jan 9, 2025
@luckeyca
Copy link
Author

Thank you for reporting the issue. We observed the affected resources are not provided in the description or it's incorrect. We request you to add it in issue description as mentioned in below format. Example: affected_resources = oci_core_instance , oci_core_instances

If it's not related to any particular resource then mention affected resource as terraform. Example: affected_resources = terraform

As this works through automation, request you to follow exact syntax.

Updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-affected-resources Please Provide the affected resource name in description. ex. Affected resource - oci_core_instance bug
Projects
None yet
Development

No branches or pull requests

2 participants