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

Crash during apply #60

Closed
bentterp opened this issue Dec 13, 2018 · 2 comments · Fixed by #71
Closed

Crash during apply #60

bentterp opened this issue Dec 13, 2018 · 2 comments · Fixed by #71
Milestone

Comments

@bentterp
Copy link

I think that this crash belongs with the provider rather than TF itself.

Terraform v0.11.10

  • provider.azurestack v0.4.0

crash.log

The ressources were created by hand and imported.

PS H:\Documents\repos\cdc-test> terraform apply
azurestack_resource_group.nwk: Refreshing state... (ID: /subscriptions/0df96577-ae86-4a08-a1af-...resourceGroups/flk-ast-nrw-nwk-rgp-001)
azurestack_local_network_gateway.tieto: Refreshing state... (ID: /subscriptions/0df96577-ae86-4a08-a1af-...etworkGateways/flk-ast-nrw-nwk-lgw-001)
azurestack_virtual_network.nwk: Refreshing state... (ID: /subscriptions/0df96577-ae86-4a08-a1af-...irtualNetworks/flk-ast-nrw-nwk-vnt-001)
azurestack_public_ip.vgw: Refreshing state... (ID: /subscriptions/0df96577-ae86-4a08-a1af-...PAddresses/flk-ast-nrw-nwk-vgw-pip-001)
azurestack_subnet.gateway: Refreshing state... (ID: /subscriptions/0df96577-ae86-4a08-a1af-...-nrw-nwk-vnt-001/subnets/GatewaySubnet)
azurestack_virtual_network_gateway.vgw: Refreshing state... (ID: /subscriptions/0df96577-ae86-4a08-a1af-...etworkGateways/flk-ast-nrw-nwk-vgw-001)
azurestack_virtual_network_gateway_connection.s2s: Refreshing state... (ID: /subscriptions/0df96577-ae86-4a08-a1af-...rk/connections/flk-ast-nrw-nwk-s2s-001)

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  ~ azurestack_resource_group.nwk
      tags.%:                  "0" => "2"
      tags.environment:        "" => "STST"
      tags.service:            "" => "CDC"

  ~ azurestack_virtual_network_gateway.vgw
      ip_configuration.0.name: "default" => "vnetGatewayConfig"


Plan: 0 to add, 2 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

azurestack_resource_group.nwk: Modifying... (ID: /subscriptions/0df96577-ae86-4a08-a1af-...resourceGroups/flk-ast-nrw-nwk-rgp-001)
  tags.%:           "0" => "2"
  tags.environment: "" => "STST"
  tags.service:     "" => "CDC"
azurestack_resource_group.nwk: Modifications complete after 1s (ID: /subscriptions/0df96577-ae86-4a08-a1af-...resourceGroups/flk-ast-nrw-nwk-rgp-001)
azurestack_virtual_network_gateway.vgw: Modifying... (ID: /subscriptions/0df96577-ae86-4a08-a1af-...etworkGateways/flk-ast-nrw-nwk-vgw-001)
  ip_configuration.0.name: "default" => "vnetGatewayConfig"

Error: Error applying plan:

1 error(s) occurred:

* azurestack_virtual_network_gateway.vgw: 1 error(s) occurred:

* azurestack_virtual_network_gateway.vgw: unexpected EOF
@katbyte
Copy link
Collaborator

katbyte commented Mar 14, 2019

Hi @bentterp,

Sorry that you're having this issue. Its a bit hard to know exactly what is causing it without a config but based on the crash log I've just merged #71 that I hope will fix this for you.

@katbyte katbyte added this to the 0.5.0 milestone Mar 14, 2019
@ghost
Copy link

ghost commented Jun 27, 2019

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 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Jun 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants