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

Openstack Provider crash in 0.6.11 #4954

Closed
KZachariassen opened this issue Feb 2, 2016 · 6 comments · Fixed by #4966
Closed

Openstack Provider crash in 0.6.11 #4954

KZachariassen opened this issue Feb 2, 2016 · 6 comments · Fixed by #4966

Comments

@KZachariassen
Copy link

[WINDOWS]

After upgrading to 0.6.11 my terraforms just crash, if i'm rolling back to 0.6.10 it works again.

crash.txt

@jen20
Copy link
Contributor

jen20 commented Feb 2, 2016

Hi @krjensen! Thanks for reporting this - from the log you've posted this doesn't look like a Windows problem - it's the openstack provider:

2016/02/02 16:47:22 [DEBUG] terraform-provider-openstack.exe: panic: interface conversion: interface is nil, not bool
2016/02/02 16:47:22 [DEBUG] terraform-provider-openstack.exe: 
2016/02/02 16:47:22 [DEBUG] terraform-provider-openstack.exe: goroutine 70 [running]:
2016/02/02 16:47:22 [DEBUG] terraform-provider-openstack.exe: github.com/hashicorp/terraform/builtin/providers/openstack.getInstanceAccessAddresses(0xc082274ba0, 0xc08219cc90, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
2016/02/02 16:47:22 [DEBUG] terraform-provider-openstack.exe:   /opt/gopath/src/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_instance_v2.go:1001 +0x437
2016/02/02 16:47:22 [DEBUG] terraform-provider-openstack.exe: github.com/hashicorp/terraform/builtin/providers/openstack.resourceComputeInstanceV2Read(0xc082274ba0, 0xb2e6a0, 0xc0822942c0, 0x0, 0x0)
2016/02/02 16:47:22 [DEBUG] terraform-provider-openstack.exe:   /opt/gopath/src/github.com/hashicorp/terraform/builtin/providers/openstack/resource_openstack_compute_instance_v2.go:493 +0x643

It looks like df660a2 was responsible for the code that panic'd here. We will investigate this and fix.

@jen20 jen20 changed the title 0.6.11 broken on windows Openstack Provider crash in 0.6.11 Feb 2, 2016
@jtopjian
Copy link
Contributor

jtopjian commented Feb 2, 2016

@krjensen Can you post a sanitized version of your terraform configuration?

@jtopjian
Copy link
Contributor

jtopjian commented Feb 2, 2016

Actually, I think I already see the issue. Sorry about this.

If you're able to, can you confirm if #4962 fixes the problem?

@jtopjian
Copy link
Contributor

jtopjian commented Feb 2, 2016

hrm... yes, if you're able to, can you provide a sanitized version of your configuration as well as the steps to reproduce this? I'm unable to reproduce this by creating instances using Terraform 0.6.10 and then refreshing / re-applying with Terraform 0.6.11.

If I can reproduce this issue on my own, it'd help me not make this mistake in the future 😄

@jtopjian
Copy link
Contributor

jtopjian commented Feb 2, 2016

Arg. I'm totally off my game today.

Somehow I was able to start reproducing this issue easily. I've closed #4962 in favor of #4966 since it's more Go-ish. I can confirm this fixes the problem.

@jtopjian jtopjian reopened this Feb 2, 2016
@jtopjian jtopjian closed this as completed Feb 2, 2016
@ghost
Copy link

ghost commented Apr 28, 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 Apr 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants