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 attempts CF Authentication slowing down overall flow of terraform #5161

Closed
dpittner opened this issue Mar 1, 2024 · 0 comments · Fixed by #5162
Closed

Provider attempts CF Authentication slowing down overall flow of terraform #5161

dpittner opened this issue Mar 1, 2024 · 0 comments · Fixed by #5162

Comments

@dpittner
Copy link
Contributor

dpittner commented Mar 1, 2024

When turning on logs via TF_LOG=INFO one can spot that the tf provider still attempts CF Authentication, despite it's being sunset. The retries delay any TF run by approx a minute. In order to fix this we should remove the CF Auth

2024-03-01T11:34:08.419+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 10: timestamp=2024-03-01T11:34:08.419+0100
2024-03-01T11:34:09.281+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 10: timestamp=2024-03-01T11:34:09.281+0100
2024-03-01T11:34:13.589+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 9: timestamp=2024-03-01T11:34:13.589+0100
2024-03-01T11:34:14.475+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 9: timestamp=2024-03-01T11:34:14.475+0100
2024-03-01T11:34:18.777+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 8: timestamp=2024-03-01T11:34:18.777+0100
2024-03-01T11:34:19.643+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 8: timestamp=2024-03-01T11:34:19.643+0100
2024-03-01T11:34:23.947+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 7: timestamp=2024-03-01T11:34:23.947+0100
2024-03-01T11:34:24.812+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 7: timestamp=2024-03-01T11:34:24.812+0100
2024-03-01T11:34:29.143+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 6: timestamp=2024-03-01T11:34:29.142+0100
2024-03-01T11:34:29.969+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 6: timestamp=2024-03-01T11:34:29.969+0100
2024-03-01T11:34:34.295+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 5: timestamp=2024-03-01T11:34:34.295+0100
2024-03-01T11:34:35.136+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 5: timestamp=2024-03-01T11:34:35.136+0100
2024-03-01T11:34:39.461+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 4: timestamp=2024-03-01T11:34:39.461+0100
2024-03-01T11:34:40.307+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 4: timestamp=2024-03-01T11:34:40.307+0100
2024-03-01T11:34:44.649+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 3: timestamp=2024-03-01T11:34:44.649+0100
2024-03-01T11:34:45.476+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 3: timestamp=2024-03-01T11:34:45.476+0100
2024-03-01T11:34:49.810+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 2: timestamp=2024-03-01T11:34:49.809+0100
2024-03-01T11:34:50.743+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 2: timestamp=2024-03-01T11:34:50.742+0100
2024-03-01T11:34:55.040+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 1: timestamp=2024-03-01T11:34:55.040+0100
2024-03-01T11:34:55.921+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 1: timestamp=2024-03-01T11:34:55.921+0100
2024-03-01T11:35:00.216+0100 [INFO]  provider.terraform-provider-ibm_v1.62.0: Retrying CF Authentication 0: timestamp=2024-03-01T11:35:00.216+0100

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

Affected Resource(s)

  • All

Terraform Configuration Files

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

Any usage of ibm provider with TF_LOG=INFO will show this delay

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

Debug Output

Panic Output

Expected Behavior

Actual Behavior

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant