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

Terraform Crash Error: rpc error: code = Unavailable desc = transport is closing #73

Closed
melissabrooksQHR opened this issue Dec 4, 2019 · 1 comment

Comments

@melissabrooksQHR
Copy link

Terraform Version

Terraform v0.12.17
+ provider.akamai v0.1.3

Affected Resource(s)

No resources were impacted. Attempt was to create a new property in akamai.

Terraform Configuration Files

##################################################################################
# PROVIDERS
##################################################################################

provider "akamai" {
  edgerc       = "~/.edgerc"
  papi_section = "global"
}

##################################################################################
# RESOURCES
##################################################################################

resource "akamai_property" "example" {
  name    = "example.domain.com"
  contact = ["[email protected]"]
  product = "prd_Site_Accel"

  hostnames = {
    "example.domain.com" = "example.domain.com.xxx.xxx"
  }
}

Debug Output

Error: rpc error: code = Unavailable desc = transport is closing

Panic Output

...
2019/12/04 11:53:09 [DEBUG] akamai_property.example: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Unavailable desc = transport is closing
2019/12/04 11:53:09 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2019/12/04 11:53:09 [TRACE] EvalMaybeTainted: akamai_property.example encountered an error during creation, so it is now marked as tainted
2019/12/04 11:53:09 [TRACE] <root>: eval: *terraform.EvalWriteState
2019/12/04 11:53:09 [TRACE] EvalWriteState: removing state object for akamai_property.example
2019/12/04 11:53:09 [TRACE] <root>: eval: *terraform.EvalApplyProvisioners
2019/12/04 11:53:09 [TRACE] EvalApplyProvisioners: akamai_property.example has no state, so skipping provisioners
2019/12/04 11:53:09 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2019/12/04 11:53:09 [TRACE] EvalMaybeTainted: akamai_property.example encountered an error during creation, so it is now marked as tainted
2019/12/04 11:53:09 [TRACE] <root>: eval: *terraform.EvalWriteState
2019/12/04 11:53:09 [TRACE] EvalWriteState: removing state object for akamai_property.example
2019/12/04 11:53:09 [TRACE] <root>: eval: *terraform.EvalIf
2019/12/04 11:53:09 [TRACE] <root>: eval: *terraform.EvalIf
2019/12/04 11:53:09 [TRACE] <root>: eval: *terraform.EvalWriteDiff
2019/12/04 11:53:09 [TRACE] <root>: eval: *terraform.EvalApplyPost
2019/12/04 11:53:09 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: rpc error: code = Unavailable desc = transport is closing
2019/12/04 11:53:09 [ERROR] <root>: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2019/12/04 11:53:09 [TRACE] [walkApply] Exiting eval tree: akamai_property.example
2019/12/04 11:53:09 [TRACE] vertex "akamai_property.example": visit complete
2019/12/04 11:53:09 [TRACE] dag/walk: upstream of "provider.akamai (close)" errored, so skipping
...

Expected Behavior

A new property is created in Akamai

Actual Behavior

Terraform crashed

References

This issue has been reported and resolved on the terraform side:
hashicorp/terraform#22349

There is multiuple comments that this has been resolved for AWS and Azurerm providers:
hashicorp/terraform-provider-azurerm#4641

When will this be fixed for Akamai?

@melissabrooksQHR melissabrooksQHR changed the title Terraform crashed - resolved in other providers but not Akamai? Terraform Crash Error: rpc error: code = Unavailable desc = transport is closing Dec 4, 2019
@martinstibbe
Copy link
Contributor

https://releases.hashicorp.com/terraform-provider-akamai/0.1.4/ released please test and validate

@sidph sidph closed this as completed Dec 19, 2019
zstlaw added a commit that referenced this issue Oct 20, 2020
…efault-activation-case to develop

* commit 'adcaab0b54301f40a0dcf76f2577e3268b4cb26a':
  Set default to upper case.  Had to ditch my unit tests work to switch tasks for release work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants