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

[CBR] Error during TF detroy for CBR rules/zones. #4997

Closed
Ak-sky opened this issue Dec 15, 2023 · 2 comments
Closed

[CBR] Error during TF detroy for CBR rules/zones. #4997

Ak-sky opened this issue Dec 15, 2023 · 2 comments
Labels
service/CBR Issues related to Context Based Restrictions

Comments

@Ak-sky
Copy link

Ak-sky commented Dec 15, 2023

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 Version v1.5.7
Terraform IBM Provider Version v1.57.1

Affected Resource(s)

  • ibm_cbr_zone
  • ibm_cbr_rule

Terraform Configuration Files

We have been seeing intermittent CBR failures during TF destroy for the TIM modules for the CBR rules/zones.
It looks like that all the rules are not getting detroyed first before deletion starts for the zones and then it is throwing an error like this
The network zone 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' is referenced by one or more rules and cannot be deleted.

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please share a link to the ZIP file.

Debug Output

TF Trace logs
TF stdout text

Panic Output

Expected Behavior

All the rules/zones should get deleted during the TF destroy.

Actual Behavior

Rules/zones are not getting deleted.

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@github-actions github-actions bot added the service/CBR Issues related to Context Based Restrictions label Dec 15, 2023
@Ak-sky Ak-sky changed the title Error during TF detroy for CBR rules/zones. [CBR] Error during TF detroy for CBR rules/zones. Dec 19, 2023
@ocofaigh
Copy link
Contributor

ocofaigh commented Nov 4, 2024

CBR team have confirmed there is a proposed backend fix coming for this

@Ak-sky
Copy link
Author

Ak-sky commented Nov 21, 2024

CBR team has deployed the fix and have not seen any issues so far, will re-open if we encounter the same issue again.

@Ak-sky Ak-sky closed this as completed Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/CBR Issues related to Context Based Restrictions
Projects
None yet
Development

No branches or pull requests

2 participants