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

(1.35.0) Error: rpc error: code = Unavailable desc = transport is closing #4641

Closed
cwebbtw opened this issue Oct 17, 2019 · 6 comments
Closed

Comments

@cwebbtw
Copy link
Contributor

cwebbtw commented Oct 17, 2019

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 "me too" comments, 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 (and AzureRM Provider) Version

2019/10/17 11:50:47 [INFO] Terraform version: 0.12.10  
2019/10/17 11:50:47 [INFO] Go runtime version: go1.12.9
2019/10/17 11:50:47 [DEBUG] plugin requirements: "helm"=""
2019/10/17 11:50:47 [DEBUG] plugin requirements: "azurerm"="=1.35.0"
2019/10/17 11:50:47 [DEBUG] plugin requirements: "kubernetes"="=1.6.2"

Debug Output

See debug log: -

debug.log

Panic Output

See crash log:

crash.log

2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: panic: runtime error: invalid memory address or nil pointer dereference
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2b483d8]
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: 
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: goroutine 99 [running]:
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: github.com/terraform-providers/terraform-provider-azurerm/azurerm.dataSourceArmClientConfigRead(0xc0003ca2a0, 0x321a320, 0xc0004fbb00, 0xc0003ca2a0, 0x0)
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/azurerm/data_source_client_config.go:87 +0x378
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).ReadDataApply(0xc0004a6600, 0xc00084c300, 0x321a320, 0xc0004fbb00, 0xc00015fb18, 0x1, 0x0)
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:398 +0x88
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).ReadDataApply(0xc000578880, 0xc000bbfaf0, 0xc00084c300, 0xc00084c300, 0x0, 0x0)
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:446 +0x17f
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform/helper/plugin.(*GRPCProviderServer).ReadDataSource(0xc0000e31d0, 0x3f976c0, 0xc0006b6a20, 0xc00084e0c0, 0xc0000e31d0, 0xc0006b6a20, 0xc00078cba8)
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform/helper/plugin/grpc_provider.go:1036 +0x45f
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform/internal/tfplugin5._Provider_ReadDataSource_Handler(0x36c6040, 0xc0000e31d0, 0x3f976c0, 0xc0006b6a20, 0xc000ba2280, 0x0, 0x3f976c0, 0xc0006b6a20, 0xc00047a0a0, 0x92)
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/github.com/hashicorp/terraform/internal/tfplugin5/tfplugin5.pb.go:3253 +0x23e
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: github.com/terraform-providers/terraform-provider-azurerm/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc00059ad80, 0x3fe4e40, 0xc00059bb00, 0xc00017a100, 0xc00060b650, 0x760d470, 0x0, 0x0, 0x0)
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/google.golang.org/grpc/server.go:972 +0x470
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: github.com/terraform-providers/terraform-provider-azurerm/vendor/google.golang.org/grpc.(*Server).handleStream(0xc00059ad80, 0x3fe4e40, 0xc00059bb00, 0xc00017a100, 0x0)
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/google.golang.org/grpc/server.go:1252 +0xda6
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: github.com/terraform-providers/terraform-provider-azurerm/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc0005e0230, 0xc00059ad80, 0x3fe4e40, 0xc00059bb00, 0xc00017a100)
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/google.golang.org/grpc/server.go:691 +0x9f
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: created by github.com/terraform-providers/terraform-provider-azurerm/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
2019-10-17T11:37:40.376Z [DEBUG] plugin.terraform-provider-azurerm_v1.35.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-azurerm/vendor/google.golang.org/grpc/server.go:689 +0xa1
2019-10-17T11:37:40.378Z [DEBUG] plugin: plugin process exited: path=/home/jenkins/workspace/API_SERVICE_INFRA_PIPELINE/app-infrastructure/.terraform/plugins/linux_amd64/terraform-provider-azurerm_v1.35.0_x4 pid=1074 error="exit status 2"
2019/10/17 11:37:40 [ERROR] <root>: eval: *terraform.EvalRead

Expected Behavior

Infrastructure should have created successfully

Actual Behavior

Panic/Crash

Steps to Reproduce

  1. terraform apply

Important Factoids

Using MSI

References

N/A

  • #0000
@ghost ghost added bug crash labels Oct 18, 2019
@rudolphjacksonm

This comment has been minimized.

@tombuildsstuff

This comment has been minimized.

@mbfrahry
Copy link
Member

mbfrahry commented Dec 3, 2019

Hi @cwebbtw, I just took a look at this crash and we've updated some of the logic that made it occur. Could you confirm whether or not you're still seeing this in the latest version of the provider?

@cwebbtw
Copy link
Contributor Author

cwebbtw commented Dec 5, 2019

I cannot reproduce this anymore on 1.37.0 👍

@mbfrahry
Copy link
Member

mbfrahry commented Dec 5, 2019

Cheers! Thanks for checking @cwebbtw. Closing this down

@mbfrahry mbfrahry closed this as completed Dec 5, 2019
@ghost
Copy link

ghost commented Jan 5, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Jan 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants