Created
May 20, 2021 16:16
-
-
Save dansteen/98d3a64c2c93c685a7406178d8badb0b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: Request cancelled | |
│ | |
│ with module.stag.module.xavier.nomad_namespace.app, | |
│ on xavier/nomad.tf line 2, in resource "nomad_namespace" "app": | |
│ 2: resource "nomad_namespace" "app" { | |
│ | |
│ The plugin.(*GRPCProvider).UpgradeResourceState request was cancelled. | |
╵ | |
Stack trace from the terraform-provider-nomad_v1.4.14_x4 plugin: | |
fatal error: concurrent map iteration and map write | |
goroutine 24 [running]: | |
runtime.throw(0x13d4a78, 0x26) | |
/opt/goenv/versions/1.14.0/src/runtime/panic.go:1112 +0x72 fp=0xc00068f098 sp=0xc00068f068 pc=0x432dd2 | |
runtime.mapiternext(0xc00068f310) | |
/opt/goenv/versions/1.14.0/src/runtime/map.go:853 +0x552 fp=0xc00068f118 sp=0xc00068f098 pc=0x40f302 | |
runtime.mapiterinit(0x134ea40, 0xc00045d140, 0xc00068f310) | |
/opt/goenv/versions/1.14.0/src/runtime/map.go:843 +0x1c4 fp=0xc00068f138 sp=0xc00068f118 pc=0x40ecb4 | |
net/http.(*Transport).roundTrip(0xc0001877c0, 0xc0007d2200, 0xc00068f3d8, 0x41725e, 0x7fce88cc5190) | |
/opt/goenv/versions/1.14.0/src/net/http/transport.go:500 +0x180 fp=0xc00068f380 sp=0xc00068f138 pc=0x7f68e0 | |
net/http.(*Transport).RoundTrip(0xc0001877c0, 0xc0007d2200, 0xc0001877c0, 0x0, 0x0) | |
/opt/goenv/versions/1.14.0/src/net/http/roundtrip.go:17 +0x35 fp=0xc00068f3b8 sp=0xc00068f380 pc=0x7e90e5 | |
net/http.send(0xc0007d2200, 0x1700340, 0xc0001877c0, 0x0, 0x0, 0x0, 0xc0007e0018, 0xc00068f588, 0x1, 0x0) | |
/opt/goenv/versions/1.14.0/src/net/http/client.go:252 +0x43e fp=0xc00068f520 sp=0xc00068f3b8 pc=0x7bfbfe | |
net/http.(*Client).send(0xc00045d170, 0xc0007d2200, 0x0, 0x0, 0x0, 0xc0007e0018, 0x0, 0x1, 0xc00068f680) | |
/opt/goenv/versions/1.14.0/src/net/http/client.go:176 +0xfa fp=0xc00068f5a0 sp=0xc00068f520 pc=0x7bf61a | |
net/http.(*Client).do(0xc00045d170, 0xc0007d2200, 0x0, 0x0, 0x0) | |
/opt/goenv/versions/1.14.0/src/net/http/client.go:699 +0x44a fp=0xc00068f778 sp=0xc00068f5a0 pc=0x7c12ea | |
net/http.(*Client).Do(...) | |
/opt/goenv/versions/1.14.0/src/net/http/client.go:567 | |
github.com/hashicorp/nomad/api.(*Client).doRequest(0xc0001602a0, 0xc000314070, 0x3, 0xc0006fe060, 0x29, 0xc000314070) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/nomad/api@v0.0.0-20210223222946-149b150fb2d8/api.go:714 +0xa0 fp=0xc00068f818 sp=0xc00068f778 pc=0xf08c60 | |
github.com/hashicorp/nomad/api.(*Client).query(0xc0001602a0, 0xc0006fe060, 0x29, 0x1130160, 0xc0000cc980, 0x0, 0x0, 0x0, 0x0) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/nomad/api@v0.0.0-20210223222946-149b150fb2d8/api.go:833 +0xd3 fp=0xc00068f8a0 sp=0xc00068f818 pc=0xf099e3 | |
github.com/hashicorp/nomad/api.(*Namespaces).Info(0xc00068f980, 0xc0000b6080, 0x1b, 0x0, 0x1, 0x0, 0x2074630, 0x1404418) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/nomad/api@v0.0.0-20210223222946-149b150fb2d8/namespace.go:43 +0xc3 fp=0xc00068f908 sp=0xc00068f8a0 pc=0xf164d3 | |
github.com/hashicorp/terraform-provider-nomad/nomad.resourceNamespaceRead(0xc000314000, 0x12d3760, 0xc0007a8780, 0xc000314000, 0x0) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-nomad/nomad/resource_namespace.go:114 +0x14a fp=0xc00068f9c8 sp=0xc00068f908 pc=0x109c6ba | |
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0003a0e10, 0xc00007d270, 0x12d3760, 0xc0007a8780, 0xc00063c938, 0x0, 0x0) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk@v1.16.0/helper/schema/resource.go:460 +0x119 fp=0xc00068fa38 sp=0xc00068f9c8 pc=0xeb44c9 | |
github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadResource(0xc000288a70, 0x171f740, 0xc0000251d0, 0xc0000ba000, 0xc000288a70, 0xc0000251d0, 0xc000197ba0) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk@v1.16.0/internal/helper/plugin/grpc_provider.go:525 +0x3d8 fp=0xc00068fb40 sp=0xc00068fa38 pc=0xed45e8 | |
github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler(0x1359100, 0xc000288a70, 0x171f740, 0xc0000251d0, 0xc0000cbf80, 0x0, 0x171f740, 0xc0000251d0, 0xc0000b8000, 0x9f) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk@v1.16.0/internal/tfplugin5/tfplugin5.pb.go:3269 +0x217 fp=0xc00068fbb0 sp=0xc00068fb40 pc=0xdc4847 | |
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0003ab500, 0x172e760, 0xc000782600, 0xc000294800, 0xc000896840, 0x20398f0, 0x0, 0x0, 0x0) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:1171 +0x50a fp=0xc00068fe40 sp=0xc00068fbb0 pc=0x8da7ba | |
google.golang.org/grpc.(*Server).handleStream(0xc0003ab500, 0x172e760, 0xc000782600, 0xc000294800, 0x0) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:1494 +0xccd fp=0xc00068ff68 sp=0xc00068fe40 pc=0x8de94d | |
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc00003a2d0, 0xc0003ab500, 0x172e760, 0xc000782600, 0xc000294800) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:834 +0xa1 fp=0xc00068ffb8 sp=0xc00068ff68 pc=0x8ebfb1 | |
runtime.goexit() | |
/opt/goenv/versions/1.14.0/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc00068ffc0 sp=0xc00068ffb8 pc=0x463091 | |
created by google.golang.org/grpc.(*Server).serveStreams.func1 | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/google.golang.org/grpc@v1.30.0/server.go:832 +0x204 | |
goroutine 1 [select]: | |
github.com/hashicorp/go-plugin.Serve(0xc0002dded8) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/go-plugin@v1.3.0/server.go:472 +0xa40 | |
github.com/hashicorp/terraform-plugin-sdk/plugin.Serve(0xc00063ff50) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/terraform-plugin-sdk@v1.16.0/plugin/serve.go:76 +0x1e7 | |
main.main() | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-nomad/main.go:11 +0x60 | |
goroutine 5 [select]: | |
go.opencensus.io/stats/view.(*worker).start(0xc000302100) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/go.opencensus.io@v0.22.4/stats/view/worker.go:276 +0x100 | |
created by go.opencensus.io/stats/view.init.0 | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/go.opencensus.io@v0.22.4/stats/view/worker.go:34 +0x68 | |
goroutine 12 [select]: | |
github.com/hashicorp/go-plugin.(*gRPCBrokerServer).Recv(0xc0002835f0, 0x0, 0x0, 0x0) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/go-plugin@v1.3.0/grpc_broker.go:121 +0xb3 | |
github.com/hashicorp/go-plugin.(*GRPCBroker).Run(0xc00007c0f0) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/go-plugin@v1.3.0/grpc_broker.go:411 +0x7a | |
created by github.com/hashicorp/go-plugin.(*GRPCServer).Init | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/go-plugin@v1.3.0/grpc_server.go:85 +0x398 | |
goroutine 13 [IO wait]: | |
internal/poll.runtime_pollWait(0x7fce88f7ce38, 0x72, 0xffffffffffffffff) | |
/opt/goenv/versions/1.14.0/src/runtime/netpoll.go:203 +0x55 | |
internal/poll.(*pollDesc).wait(0xc000048258, 0x72, 0x1001, 0x1000, 0xffffffffffffffff) | |
/opt/goenv/versions/1.14.0/src/internal/poll/fd_poll_runtime.go:87 +0x45 | |
internal/poll.(*pollDesc).waitRead(...) | |
/opt/goenv/versions/1.14.0/src/internal/poll/fd_poll_runtime.go:92 | |
internal/poll.(*FD).Read(0xc000048240, 0xc000155000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
/opt/goenv/versions/1.14.0/src/internal/poll/fd_unix.go:169 +0x19b | |
os.(*File).read(...) | |
/opt/goenv/versions/1.14.0/src/os/file_unix.go:263 | |
os.(*File).Read(0xc0000c8028, 0xc000155000, 0x1000, 0x1000, 0x400, 0x11783c0, 0x1) | |
/opt/goenv/versions/1.14.0/src/os/file.go:116 +0x71 | |
bufio.(*Reader).Read(0xc0002adf50, 0xc0003b4c00, 0x400, 0x400, 0x0, 0x0, 0x0) | |
/opt/goenv/versions/1.14.0/src/bufio/bufio.go:226 +0x24f | |
github.com/hashicorp/go-plugin.copyChan(0x1735e20, 0xc000049980, 0xc0000426c0, 0x1700600, 0xc0000c8028) | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/go-plugin@v1.3.0/grpc_stdio.go:181 +0xc6 | |
created by github.com/hashicorp/go-plugin.newGRPCStdioServer | |
/opt/teamcity-agent/work/5d79fe75d4460a2f/pkg/mod/github.com/hashicorp/go-plugin@v1.3.0/grpc_stdio.go:37 +0xb1 | |
goroutine 14 [IO wait]: | |
internal/poll.runtime_pollWait(0x7fce88f7cc78, 0x72, 0xffffffffffffffff) | |
/opt/goenv/versions/1.14.0/src/runtime/netpoll.go:203 +0x55 | |
internal/poll.(*pollDesc).wait(0xc000048318, 0x72, 0x1001, 0x1000, 0xffffffffffffffff) | |
/opt/goenv/versions/1.14.0/src/internal/poll/fd_poll_runtime.go:87 +0x45 | |
internal/poll.(*pollDesc).waitRead(...) | |
/opt/goenv/versions/1.14.0/src/internal/poll/fd_poll_runtime.go:92 | |
internal/poll.(*FD).Read(0xc000048300, 0xc000213000, 0x1000, 0x1000, 0x0, 0x0, 0x0) | |
/opt/goenv/versions/1.14.0/src/internal/poll/fd_unix.go:169 +0x19b | |
os.(*File).read(...) | |
/opt/goenv/versions/1.14.0/src/os/file_unix.go:263 | |
os.(*File).Read(0xc0000c8040, 0xc000213000, 0x1000, 0x1000, 0x400, 0x11783c0, 0x1) | |
/opt/goenv/versions/1.14.0/src/os/file.go:116 +0x71 | |
Error: The terraform-provider-nomad_v1.4.14_x4 plugin crashed! | |
This is always indicative of a bug within the plugin. It would be immensely | |
helpful if you could report the crash with the plugin's maintainers so that it | |
can be fixed. The output above should help diagnose the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment