-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Wait until source instance OK before continuing #5678
Conversation
oh I should do this to |
really working to restrain myself from removing all the custom state change code |
This seems clean, simple, and way better. 👍 I tested on the c5 instance example, as well with a few other aws repro cases I have lying around; it all seems good. Interestingly, it takes longer than our old wait for these windows instances, pushing back the amount of time we wait for winRM to connect... meaning this change might resolve some other random flakiness that occurs from trying to connect too early. |
I am assuming this change is responsible for the error I'm facing right now, but I'm not 100% certain of it.
The instance is up, everything is ready but it would not appear that packer is able to identify that. Switching back to packer v1.1.2 everything works as expected.
|
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. |
Closes #5627
Seems to work every time for me. If anyone wants to confirm that would be appreciated!