Open ocofaigh opened 3 years ago
@kavya498 @hkantare Was anyone able to confirm if this response should actually be returning an incident ID? Is it the same issue as https://github.com/IBM-Cloud/terraform-provider-ibm/issues/3187#issuecomment-950808261 perhaps? Although the response does seem a little different to that issue, so maybe not. Over the past 2 weeks, we have hit this quite a lot, and it always correlates to an IKS CIE, however we cannot prove this without an incident ID which should be printed as part of the response.
With the recent terraform releases, enabling debug mode should be giving you API responses.. @ocofaigh, are we good to close this issue? Thanks..
Hi @kavya498 đź‘‹ Thanks for working on this.
I tried looking through the recent commits but I didn’t find the change. Is the X-Request-Id header (incident ID in error response) printed when a failure occurs? If you have an example, that’d be awesome.
By the way, if you’re making API calls directly (not through CLI), it’d also be helpful to pass in the client’s own new UUID per retry for the X-Request-Id header so we can help trace more requests. It becomes more relevant when requests time out and no response is received, but the client’s request ID can still be linked to our records.
During an IBM Cloud CIE, the ibm_container_cluster_config data lookup was failing with:
According to the IKS team, the response from the containers API should also include an incident ID. From slack:
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
--->
Panic Output
Expected Behavior
Incide ID included in response
Actual Behavior
No incident Id included
Steps to Reproduce
terraform apply
Important Factoids
References
0000