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

[ibm_cbr_zone] Error: Provider produced inconsistent result after apply #5590

Closed
ocofaigh opened this issue Aug 29, 2024 · 10 comments
Closed
Labels
bug service/CBR Issues related to Context Based Restrictions

Comments

@ocofaigh
Copy link
Contributor

When running an apply in schematics on the code here, it failed with this:

 2024/08/29 10:19:59 Terraform apply | Error: Provider produced inconsistent result after apply
 2024/08/29 10:19:59 Terraform apply | 
 2024/08/29 10:19:59 Terraform apply | When applying changes to module.cbr_zone.ibm_cbr_zone.cbr_zone, provider
 2024/08/29 10:19:59 Terraform apply | "provider[\"registry.terraform.io/ibm-cloud/ibm\"]" produced an unexpected
 2024/08/29 10:19:59 Terraform apply | new value: Root object was present, but now absent.
 2024/08/29 10:19:59 Terraform apply | 
 2024/08/29 10:19:59 Terraform apply | This is a bug in the provider, which should be reported in the provider's own
 2024/08/29 10:19:59 Terraform apply | issue tracker.

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 other comments that do not add relevant new information or questions, 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 CLI and Terraform IBM Provider Version

  • terraform 1.6.6
  • ibm-cloud/ibm v1.68.1

Affected Resource(s)

  • ibm_cbr_zone

Terraform Configuration Files

https://github.com/terraform-ibm-modules/terraform-ibm-icd-redis/tree/main/solutions/standard

Debug Output

apply-log.txt

Panic Output

Expected Behavior

No error

Actual Behavior

Error: Provider produced inconsistent result after apply

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@github-actions github-actions bot added bug service/CBR Issues related to Context Based Restrictions labels Aug 29, 2024
@ocofaigh
Copy link
Contributor Author

ocofaigh commented Sep 9, 2024

@hkantare This has been seen again in v1.69.0 - could you escalate to CBR team please?

 2024/09/07 16:44:02 Terraform apply | Error: Provider produced inconsistent result after apply
 2024/09/07 16:44:02 Terraform apply | 
 2024/09/07 16:44:02 Terraform apply | When applying changes to
 2024/09/07 16:44:02 Terraform apply | module.redis.module.redis.module.cbr_rule[0].ibm_cbr_rule.cbr_rule, provider
 2024/09/07 16:44:02 Terraform apply | "provider[\"registry.terraform.io/ibm-cloud/ibm\"]" produced an unexpected
 2024/09/07 16:44:02 Terraform apply | new value: Root object was present, but now absent.
 2024/09/07 16:44:02 Terraform apply | 
 2024/09/07 16:44:02 Terraform apply | This is a bug in the provider, which should be reported in the provider's own
 2024/09/07 16:44:02 Terraform apply | issue tracker.

@hkantare
Copy link
Collaborator

hkantare commented Sep 9, 2024

@zhenwan
Can some from team look into the panic issue

@JonahFarc
Copy link

I see you reproduced it recently, but could you reproduce it again and additionally provide the logs for this last occurrence?

@ocofaigh
Copy link
Contributor Author

@JonahFarc Its an intermittent issue, so I have not yet reproduced with terraform provider trace logs enabled. I am running the code at https://github.com/terraform-ibm-modules/terraform-ibm-icd-redis (specifically in module.redis.module.redis.module.cbr_rule[0].ibm_cbr_rule.cbr_rule). We are using the module defaults.

@zhenwan
Copy link
Contributor

zhenwan commented Sep 30, 2024

@ocofaigh The PR to fix this issue has been merged #5643

@ocofaigh
Copy link
Contributor Author

Thanks, I assume its part of 1.70.0 then?

@zhenwan
Copy link
Contributor

zhenwan commented Oct 3, 2024

Don't know what the build plan is, I don't see this fix is built into 1.70.0 https://github.com/IBM-Cloud/terraform-provider-ibm/releases/tag/v1.70.0-beta0

@ocofaigh
Copy link
Contributor Author

@zhenwan Were you able to confirm if this is in a release yet?

@zhenwan
Copy link
Contributor

zhenwan commented Oct 21, 2024

@ocofaigh yes, I see the fix is in v1.70.0: v1.69.2...v1.70.0. Let me know if you still see the bug. Please help close this issue if you think the bug was fixed.

image

@ocofaigh
Copy link
Contributor Author

Going to close this - if we reproduce I will re-open

ocofaigh pushed a commit to terraform-ibm-modules/terraform-ibm-cbr that referenced this issue Oct 23, 2024
…the fix for this provider issue: [[ibm_cbr_zone] Error: Provider produced inconsistent result after apply](IBM-Cloud/terraform-provider-ibm#5590)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug service/CBR Issues related to Context Based Restrictions
Projects
None yet
Development

No branches or pull requests

4 participants