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

Terraform Crash #4308

Closed
ghost opened this issue Dec 14, 2015 · 7 comments
Closed

Terraform Crash #4308

ghost opened this issue Dec 14, 2015 · 7 comments

Comments

@ghost
Copy link

ghost commented Dec 14, 2015

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

Grepping ERRORs from the crash.log:

2015/12/14 15:41:39 [ERROR] root.svc_pmsadmin_lb_external: eval: *terraform.EvalConfigProvider, err: unexpected EOF
2015/12/14 15:41:39 [ERROR] root.svc_pmsadmin_lb_external: eval: *terraform.EvalSequence, err: unexpected EOF
2015/12/14 15:41:39 [ERROR] root.svc_pmsadmin_lb_external: eval: *terraform.EvalOpFilter, err: unexpected EOF
2015/12/14 15:41:39 [ERROR] root.svc_pmsadmin_lb_external: eval: *terraform.EvalSequence, err: unexpected EOF
2015/12/14 15:41:39 [ERROR] root.elasticsearch_lul: eval: *terraform.EvalRefresh, err: aws_elasticsearch_domain.lul: unexpected EOF
2015/12/14 15:41:39 [ERROR] root.elasticsearch_lul: eval: *terraform.EvalSequence, err: aws_elasticsearch_domain.lul: unexpected EOF
2015/12/14 15:41:39 [ERROR] root.rds: eval: *terraform.EvalRefresh, err: aws_db_parameter_group.default: unexpected EOF
2015/12/14 15:41:39 [ERROR] root.elasticsearch_lul: eval: *terraform.EvalOpFilter, err: aws_elasticsearch_domain.lul: unexpected EOF
2015/12/14 15:41:39 [ERROR] root: eval: *terraform.EvalRefresh, err: aws_route53_zone.build: unexpected EOF
2015/12/14 15:41:39 [ERROR] root: eval: *terraform.EvalSequence, err: aws_route53_zone.build: unexpected EOF
2015/12/14 15:41:39 [ERROR] root: eval: *terraform.EvalOpFilter, err: aws_route53_zone.build: unexpected EOF
2015/12/14 15:41:39 [ERROR] root: eval: *terraform.EvalSequence, err: aws_route53_zone.build: unexpected EOF
2015/12/14 15:41:39 [ERROR] root.elasticsearch_lul: eval: *terraform.EvalSequence, err: aws_elasticsearch_domain.lul: unexpected EOF
2015/12/14 15:41:39 [ERROR] root: eval: *terraform.EvalRefresh, err: aws_vpc.main: unexpected EOF
2015/12/14 15:41:39 [ERROR] root: eval: *terraform.EvalSequence, err: aws_vpc.main: unexpected EOF
2015/12/14 15:41:39 [ERROR] root: eval: *terraform.EvalOpFilter, err: aws_vpc.main: unexpected EOF
2015/12/14 15:41:39 [ERROR] root: eval: *terraform.EvalSequence, err: aws_vpc.main: unexpected EOF
2015/12/14 15:41:39 [ERROR] root.rds: eval: *terraform.EvalSequence, err: aws_db_parameter_group.default: unexpected EOF
2015/12/14 15:41:39 [ERROR] root.rds: eval: *terraform.EvalOpFilter, err: aws_db_parameter_group.default: unexpected EOF
2015/12/14 15:41:39 [ERROR] root.rds: eval: *terraform.EvalSequence, err: aws_db_parameter_group.default: unexpected EOF

The following have had no impact:

  • Restart
  • Deleting cached modules (.terraform)
  • Resetting .tf files back to align with tfstate files (i.e. no changes)
  • Upgrade to 0.6.8
  • Upping aws max_retries.

Any ideas?

@jen20
Copy link
Contributor

jen20 commented Dec 14, 2015

Hi @guyrichardson - thanks for opening an issue. Anything which results in a panic is definitely a bug which we need to rectify. Do you have the entire log file available to post instead of just the [ERROR] entries?

@ghost
Copy link
Author

ghost commented Dec 14, 2015

Thankyou, yes.
The crash.log is around 25Mb.

Not 100% comfortable with posting it publicly but open to ideas?

@phinze
Copy link
Contributor

phinze commented Dec 15, 2015

@guyrichardson totally understand the hesitation. The important bit is the line containing panic: and the stack trace directly following that line - usually the first 2-5 lines of that stack trace are sufficient for us to diagnose the cause of the crash

@phinze phinze added the crash label Dec 15, 2015
@ghost
Copy link
Author

ghost commented Dec 15, 2015

Thanks.
I've attached the full stack trace for completeness.

trace.txt

@catsby
Copy link
Contributor

catsby commented Dec 15, 2015

Hey @guyrichardson – thanks for reporting this. It's the same issue as #4294 . It is/was reportedly a bug in the RDS API. I think they've since patched it, but we've applied a patch to Terraform as well to guard against this.

The API itself should be resolved by now, or will be soon, and our patch will go out in the next release (should be in the next few days I think)

Thanks for opening this issue and reporting this! Sorry for the trouble

@catsby catsby closed this as completed Dec 15, 2015
@ghost
Copy link
Author

ghost commented Dec 15, 2015

OK, that's great.
Much appreciated.

Guy

@ghost
Copy link

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

No branches or pull requests

3 participants