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

Error: rpc error: code = Canceled desc = context canceled #25526

Closed
ghost opened this issue Jul 9, 2020 · 3 comments
Closed

Error: rpc error: code = Canceled desc = context canceled #25526

ghost opened this issue Jul 9, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 9, 2020

Terraform Version

Terraform v0.12.21

Crash Output

datadog_logs_custom_pipeline.pipeline: Creating...

Error: rpc error: code = Canceled desc = context canceled


panic: interface conversion: interface {} is nil, not map[string]interface {}
2020-07-09T07:33:40.098Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: 
2020-07-09T07:33:40.099Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: goroutine 27 [running]:
2020-07-09T07:33:40.099Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: github.com/terraform-providers/terraform-provider-datadog/datadog.buildDatadogPipeline(0xc0006c6b60, 0x7, 0x0, 0xffffffffffffffff)
2020-07-09T07:33:40.099Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-datadog/datadog/resource_datadog_logs_custom_pipeline.go:660 +0x40a
2020-07-09T07:33:40.099Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: github.com/terraform-providers/terraform-provider-datadog/datadog.resourceDatadogLogsPipelineCreate(0xc0006c6b60, 0x10aeae0, 0xc0000701c0, 0x2, 0x20673a0)
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-datadog/datadog/resource_datadog_logs_custom_pipeline.go:320 +0x84
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).Apply(0xc0001afc20, 0xc0007c5720, 0xc0007c7020, 0x10aeae0, 0xc0000701c0, 0x1168401, 0xc00098a298, 0xc000941da0)
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-datadog/vendor/github.com/hashicorp/terraform-plugin-sdk/helper/schema/resource.go:310 +0x363
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Provider).Apply(0xc000172000, 0xc0008ab9e8, 0xc0007c5720, 0xc0007c7020, 0xc00092e2c8, 0xc00091c3e0, 0x116a680)
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-datadog/vendor/github.com/hashicorp/terraform-plugin-sdk/helper/schema/provider.go:294 +0x9c
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ApplyResourceChange(0xc00016c150, 0x1562a40, 0xc0006d3710, 0xc0001f7030, 0xc00016c150, 0xc0006d36b0, 0x118df40)
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-datadog/vendor/github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin/grpc_provider.go:885 +0x8a2
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ApplyResourceChange_Handler(0x12cecc0, 0xc00016c150, 0x1562a40, 0xc0006d3710, 0xc00040e300, 0x0, 0x0, 0x0, 0xc00057ca00, 0x655)
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-datadog/vendor/github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5/tfplugin5.pb.go:3305 +0x23e
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: google.golang.org/grpc.(*Server).processUnaryRPC(0xc0004f2480, 0x156aee0, 0xc000074d80, 0xc000030100, 0xc0001538f0, 0x2039440, 0x0, 0x0, 0x0)
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-datadog/vendor/google.golang.org/grpc/server.go:1024 +0x4e5
2020-07-09T07:33:40.100Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: google.golang.org/grpc.(*Server).handleStream(0xc0004f2480, 0x156aee0, 0xc000074d80, 0xc000030100, 0x0)
2020-07-09T07:33:40.101Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-datadog/vendor/google.golang.org/grpc/server.go:1313 +0xe02
2020-07-09T07:33:40.101Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc0000a4100, 0xc0004f2480, 0x156aee0, 0xc000074d80, 0xc000030100)
2020-07-09T07:33:40.101Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-datadog/vendor/google.golang.org/grpc/server.go:722 +0x9f
2020-07-09T07:33:40.101Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: created by google.golang.org/grpc.(*Server).serveStreams.func1
2020-07-09T07:33:40.101Z [DEBUG] plugin.terraform-provider-datadog_v2.11.0_x4: 	/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-datadog/vendor/google.golang.org/grpc/server.go:720 +0xa1
2020-07-09T07:33:40.103Z [DEBUG] plugin: plugin process exited: path=/tmp/datadog/terraform/logs/pipeline/.terraform/plugins/linux_amd64/terraform-provider-datadog_v2.11.0_x4 pid=182 error="exit status 2"
2020/07/09 07:33:40 [DEBUG] datadog_logs_custom_pipeline.pipeline: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Canceled desc = context canceled
2020/07/09 07:33:40 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2020/07/09 07:33:40 [TRACE] EvalMaybeTainted: datadog_logs_custom_pipeline.pipeline encountered an error during creation, so it is now marked as tainted
2020/07/09 07:33:40 [TRACE] <root>: eval: *terraform.EvalWriteState
2020/07/09 07:33:40 [TRACE] EvalWriteState: removing state object for datadog_logs_custom_pipeline.pipeline
2020/07/09 07:33:40 [TRACE] <root>: eval: *terraform.EvalApplyProvisioners
2020/07/09 07:33:40 [TRACE] EvalApplyProvisioners: datadog_logs_custom_pipeline.pipeline has no state, so skipping provisioners
2020/07/09 07:33:40 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2020/07/09 07:33:40 [TRACE] EvalMaybeTainted: datadog_logs_custom_pipeline.pipeline encountered an error during creation, so it is now marked as tainted
2020/07/09 07:33:40 [TRACE] <root>: eval: *terraform.EvalWriteState
2020/07/09 07:33:40 [TRACE] EvalWriteState: removing state object for datadog_logs_custom_pipeline.pipeline
2020/07/09 07:33:40 [TRACE] <root>: eval: *terraform.EvalIf
2020/07/09 07:33:40 [TRACE] <root>: eval: *terraform.EvalIf
2020/07/09 07:33:40 [TRACE] <root>: eval: *terraform.EvalWriteDiff
2020/07/09 07:33:40 [TRACE] <root>: eval: *terraform.EvalApplyPost
2020/07/09 07:33:40 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: rpc error: code = Canceled desc = context canceled
2020/07/09 07:33:40 [ERROR] <root>: eval: *terraform.EvalSequence, err: rpc error: code = Canceled desc = context canceled
2020/07/09 07:33:40 [TRACE] [walkApply] Exiting eval tree: datadog_logs_custom_pipeline.pipeline
2020/07/09 07:33:40 [TRACE] vertex "datadog_logs_custom_pipeline.pipeline": visit complete
2020/07/09 07:33:40 [TRACE] dag/walk: upstream of "datadog_logs_pipeline_order.pipeline" errored, so skipping
2020/07/09 07:33:40 [TRACE] dag/walk: upstream of "meta.count-boundary (EachMode fixup)" errored, so skipping
2020/07/09 07:33:40 [TRACE] dag/walk: upstream of "provider.datadog (close)" errored, so skipping
2020/07/09 07:33:40 [TRACE] dag/walk: upstream of "root" errored, so skipping
2020-07-09T07:33:40.108Z [DEBUG] plugin: plugin exited



!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Terraform crashed! This is always indicative of a bug within Terraform.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Terraform[1] so that we can fix this.

When reporting bugs, please include your terraform version. That
information is available on the first line of crash.log. You can also
get it by running 'terraform --version' on the command line.

SECURITY WARNING: the "crash.log" file that was created may contain 
sensitive information that must be redacted before it is safe to share 
on the issue tracker.

[1]: https://github.com/hashicorp/terraform/issues

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
@mgzenitech
Copy link

This probably should go to datadog provider. Very similar issue that I've encountered was in aws provider. hashicorp/terraform-provider-aws#14087

@ghost
Copy link
Author

ghost commented Jul 9, 2020

@ghost ghost closed this as completed Jul 9, 2020
@ghost
Copy link

ghost commented Aug 9, 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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Aug 9, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant