Skip to content

Fixing transient AWS errors during EBS builds - #1764

Merged
mitchellh merged 1 commit into
hashicorp:masterfrom
renat-sabitov:fix_amazon_instance_waits
Jun 10, 2015
Merged

mitchellh merged 1 commit into
hashicorp:masterfrom
renat-sabitov:fix_amazon_instance_waits

Conversation

@renat-sabitov

Copy link
Copy Markdown

Relates to #1539

AWS is eventually consistent and instance can be not visibile for
some time after creation. This fix eliminates describe-instances
call before going to the proper wait loop

@victortrac

Copy link
Copy Markdown
Contributor

👍 to this fix.

@pleschev

pleschev commented Jan 8, 2015

Copy link
Copy Markdown

+1 We're getting hit by this problem as well & would appreciate this fix being merged

@ColinHebert

Copy link
Copy Markdown
Contributor

Any news on this? @renat-sabitov-sirca Are you using a patched version of packer? Can you confirm that the problem is fixed?

@renat-sabitov

Copy link
Copy Markdown
Author

@ColinHebert Yes we are and the problem's completely gone.

@renat-sabitov renat-sabitov changed the title Fixing the errors while waiting for instance Fixing transient AWS errors during EBS builds Jan 23, 2015
@MartinMeinhold

Copy link
Copy Markdown

What's left todo to get this change merged into master?

@ColinHebert

Copy link
Copy Markdown
Contributor

@mitchellh Can we get this in the master branch (and possibly a new version of packer)?

This issue prevents boxes from being generated properly and can result in a waste of time/money.

@victortrac

Copy link
Copy Markdown
Contributor

I was about to submit my own PR to fix this problem until I saw this existing one. This bug leaves EC2 instances hanging, so unless users are aware of the problem, they may have packer instances running indefinitely. IMO this should be merged and released with the next packer version.

@dramdass

dramdass commented Feb 3, 2015

Copy link
Copy Markdown

Can this be merged? Seeing this issue a lot in our environment

@SStorm

SStorm commented Feb 4, 2015

Copy link
Copy Markdown

+1, really frustrating

@gergnz

gergnz commented Feb 9, 2015

Copy link
Copy Markdown
Contributor

👍 keen to see this in a release.

@mgcleveland

Copy link
Copy Markdown

image we could really use this fix merged in

@andrewtchin

Copy link
Copy Markdown

we're seeing this too. this should be merged.

@renat-sabitov

Copy link
Copy Markdown
Author

@mitchellh @rasa @sethvargo @erjohnso
What is the policy for merging pull requests? This fix is waiting for more than 2 months for your attention

@sethvargo

Copy link
Copy Markdown
Contributor

@renat-sabitov-sirca we have not had a chance to triage Packer recently. We will get to it as soon as possible 😄

Comment thread builder/amazon/common/state.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formatting here looks a bit off - could you please run go vet?

@sethvargo

Copy link
Copy Markdown
Contributor

Minor style comments, but LGTM otherwise

@renat-sabitov
renat-sabitov force-pushed the fix_amazon_instance_waits branch from 81bee3e to 11431bd Compare February 25, 2015 02:35
@renat-sabitov

Copy link
Copy Markdown
Author

@sethvargo Ran go vet and go fmt on amazon/ebs and fixed one problem.
Ran "go fmt" on amazon/common to fix style issue, but go vet reports to many problems unrelated to my patch.

@renat-sabitov

Copy link
Copy Markdown
Author

@sethvargo Do you have rights on mitchelh/goamz? There is a related patch to it
mitchellh/goamz#180

@renat-sabitov

Copy link
Copy Markdown
Author

@sethvargo can this me merged now?

@schnipseljagd

Copy link
Copy Markdown

👍

Relates to hashicorp#1539

AWS is eventually consistent and instance can be not visibile for
some time after creation. This fix eliminates describe-instances
call before going to the proper wait loop
@renat-sabitov
renat-sabitov force-pushed the fix_amazon_instance_waits branch from 11431bd to d046e1c Compare March 10, 2015 23:34
@renat-sabitov

Copy link
Copy Markdown
Author

rebased on the master's HEAD

@fstehle

fstehle commented Mar 12, 2015

Copy link
Copy Markdown

👍

@martin-jujou-sirca

Copy link
Copy Markdown

Can this please be merged, we really need this fix 👍

@schnipseljagd

Copy link
Copy Markdown

Same here.

@anthonyroach

Copy link
Copy Markdown

👍 We hit this many times per day, so getting this fixed and released would be very helpful.

@ColinHebert

Copy link
Copy Markdown
Contributor

@sethvargo if this one has been reviewed, it'd be nice to include it in the next release as currently the AWS/EBS aspect of packer is unstable at best :/

@ehershey

Copy link
Copy Markdown
Contributor

+1. I'd love to see this merged and in a new release.

@jperry

jperry commented Mar 30, 2015

Copy link
Copy Markdown

++ on getting this merged and part of 0.8.0 release or a 0.7.X patch.

mefellows added a commit to packer-community/packer-windows-plugins that referenced this pull request Apr 1, 2015
@isaacaggrey

Copy link
Copy Markdown

Could we stop with the +1 / ++ comments? Those add nothing to the discussion and I don't believe will get this in any sooner as much I want this too.

That said, @mitchellh and @sethvargo, the last commit to this project was 2 weeks ago. If triaging is backing things up, then that is where you can ask trusted members of the Packer dev community to help out and get involved (provided you give them write access). That is the beauty of open source. 😄

@ehershey

ehershey commented Apr 3, 2015

Copy link
Copy Markdown
Contributor

If there's a preferable medium for conveying interest as a user to the authors, I'd be happy to use it instead of +1 comments.

@renat-sabitov

Copy link
Copy Markdown
Author

fixes #2001

@BlinkyStitt

Copy link
Copy Markdown

Anything we can do to help get this merged in faster? About half my AWS builds are failing because of this error.

@lokulin

lokulin commented May 24, 2015

Copy link
Copy Markdown
Contributor

👍 About time this was merged. Probably also fixes #2128

@martin-jujou-sirca

Copy link
Copy Markdown

@mitchellh and @sethvargo can we please get this merged, it's been 5 months since this was first put up

@mitchellh

Copy link
Copy Markdown
Contributor

LGTM! Sorry for the delay.

@mitchellh
mitchellh merged commit d046e1c into hashicorp:master Jun 10, 2015
@renat-sabitov
renat-sabitov deleted the fix_amazon_instance_waits branch June 10, 2015 23:43
@ghost ghost locked and limited conversation to collaborators Apr 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.