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

[Bug]: Panic deleting network acl template #750

Open
ocobles opened this issue Aug 6, 2024 · 1 comment
Open

[Bug]: Panic deleting network acl template #750

ocobles opened this issue Aug 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ocobles
Copy link
Contributor

ocobles commented Aug 6, 2024

Terraform Version

Terraform v1.5.7 on darwin_arm64

Equinix Provider Version

  • provider registry.terraform.io/equinix/equinix v2.3.1

Effected Terraform Resources

equinix_network_acl_template

Terraform Config Files

No response

Debug Output

No response

Panic Output

equinix_network_acl_template.this: Destroying... [id=0460a454-28b8-3232-5454-059acf5a0216]
╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the
│ plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more
│ details.
╵
╷
│ Error: Plugin did not respond
│ 
│ The plugin encountered an error, and failed to respond to the
│ plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more
│ details.
╵

Stack trace from the terraform-provider-equinix_v2.3.1 plugin:

fatal error: concurrent map writes

goroutine 138 [running]:
net/textproto.MIMEHeader.Set(...)
        net/textproto/header.go:22
net/http.Header.Set(...)
        net/http/header.go:40
github.com/go-resty/resty/v2.(*Client).SetHeader(...)
        github.com/go-resty/resty/[email protected]/client.go:165
github.com/equinix/terraform-provider-equinix/internal/config.(*Config).AddModuleToNEUserAgent(0x1400004ef68?, 0x1400004ef80, 0x1176592d3f5?)
        github.com/equinix/terraform-provider-equinix/internal/config/config.go:297 +0xdc
github.com/equinix/terraform-provider-equinix/equinix.resourceNetworkACLTemplateDelete({0x103d88a38?, 0x14000539080?}, 0x140008c4e00, {0x103ceef80?, 0x140006a35c0?})
        github.com/equinix/terraform-provider-equinix/equinix/resource_network_acl_template.go:288 +0x54
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).delete(0x14000430620, {0x103d88a38, 0x14000539080}, 0x140008c4e00, {0x103ceef80, 0x140006a35c0})
        github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:857 +0xe4
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0x14000430620, {0x103d88a38, 0x14000539080}, 0x1400069b790, 0x140008c4d80, {0x103ceef80, 0x140006a35c0})
        github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:906 +0x488
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0x14000129b18, {0x103d88a38?, 0x14000538fc0?}, 0x14000614a00)
        github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1153 +0xaa4
github.com/hashicorp/terraform-plugin-mux/tf5muxserver.(*muxServer).ApplyResourceChange(0x1400044e000, {0x103d88a38?, 0x14000538cf0?}, 0x14000614a00)
        github.com/hashicorp/[email protected]/tf5muxserver/mux_server_ApplyResourceChange.go:36 +0x184
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*ser

Expected Behavior

Actual Behavior

Steps to Reproduce

@ocobles ocobles added the bug Something isn't working label Aug 6, 2024
@ctreatma
Copy link
Contributor

ctreatma commented Aug 6, 2024

Related to #286 and #403

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants