-
Notifications
You must be signed in to change notification settings - Fork 202
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
Premature timeout when waiting for WinRM for be ready #132
Comments
Hey @zl4bv, thanks for the bug report. Kitchen-ec2 currently doesn't support Windows machines - #96 tracks our last attempt to add this support in. The next release of kitchen-ec2 (0.10.0) will add back in this Windows support. I'm currently working on it and will address all your bugs before I release 0.10.0 |
Hi @tyler-ball, Kitchen-ec2 support for Windows as of v0.9.1 isn't as broken/far away as you might think. Last night (NZ time) I found that the only issues that have prevented me from using Kitchen-ec2 with Windows are as follows:
With these issues resolved (custom user-data, PR test-kitchen/test-kitchen#728, and PR #134) I was able to start a Windows Server 2012 R2 Base instance in EC2 and converge a basic Chocolatey install recipe using Chef Solo. The would-be-nice features for Windows support that I can for the immediate future are:
I can see a lot of good stuff in #96 but it seems that it will become increasingly harder to merge the changes as master has evolved a lot since that PR was originally opened - and I feel this will delay any development of Windows support. I'm quite keen to see Windows support soon, hence the PRs I opened to fix issues with Windows support with kitchen-ec2 as it stands in the master branch today. |
@zl4bv thanks for the awesome breakdown - I'm working on pulling together you're multiple PRs into one and testing it this week. I'll certainly appreciate your review when I have it together! |
Closing this as test-kitchen/test-kitchen#728 was merged and released as Test Kitchen 1.4.1 |
Still having this issue ec2 windows. It freezes at ec2 ready but the instance is launched I can see it via the terminal. When I press control c to get my prompt back and enter kitchen list, it say last action not created. |
@ohdihe We had an issue where somebody had specified a Linux custom user_data.sh script at the top level and it was attempting to launch this script on Windows nodes as well and hanging them. Can you open a new issue and paste your minimal/anonymized .kitchen.yml ? |
When waiting for the WinRM transport to be ready, a timeout occurs which causes test kitchen to crash.
After the above error has occurred I can manually wait for WinRM to be ready, type
kitchen converge
and it will happily continue.I would expect the WinRM transport to respect the
transport.connection_timeout
andtransport.max_wait_until_ready
settings in the first instance.Also it looks like receive timeout has recently been made configurable in the winrm library - I'm wondering if it would be helpful to make connect timeouts configurable there too.
More details on the issue here: https://gist.github.com/zl4bv/ed5a1b11ecdc610518d2
The text was updated successfully, but these errors were encountered: