-
Notifications
You must be signed in to change notification settings - Fork 203
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
Failing authentication for some larger instances. #51
Comments
I am frequently running into it as well |
Good to hear that I'm not going completely crazy. I'll try to continue looking into this when I have a few minutes then. I don't really think an arbitrary sleep is a good idea, so I'd rather look into a better solution. |
I'm pretty sure that this is fixed on master in test-kitchen itself, so the fix should come out with the next stable release. I'll go ahead and leave this open just so it can be verified (unless you'd rather close it here). I did run a couple tests with test-kitchen on master and everything seemed to work fine. |
You may need to raise your |
I'm having what appears to be a timing issue with some larger EC2 instance types (that's the pattern I'm seeing anyway). I have some cases where I need larger instances (e.g. m3.large). Most of the time, when kitchen attempts to build them, an authentication failure happens after the "(ssh ready)" message:
This is happening fairly consistently for me (at least with m3.large instances). If I edit the ec2 driver to add a 15 second delay (note: 15 seconds is an arbitrary number; I didn't try anything lower) like the following, everything seems to work better. I haven't had a failure with the delay added.
I'm not quite sure what the problem is, but it just looks like AWS is returning a "running" state that isn't quite ssh-able. I'm going to try to dig in a little bit further, but I figured I'd open up an issue in case someone else knows exactly how to fix this faster than I can take a look at it. :-)
The text was updated successfully, but these errors were encountered: