-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Testing on ec2 with test-kitchen #122
Comments
Further background, this is the recurring issue I am seeing:
|
I have not tested with the ec2 driver, but this should not be limited as only an ec2 driver issue. For the initial forest creation, the best method was to not perform a reboot as part of the ADDS and instead notify a reboot resource to allow chef to be aware of the reboot. I'll take a look at my old testing branches to see if I still have the code that was exploring this issue. |
Thanks, trying out a few things but can't seem to nail down the correct combination of kitchen settings for timeouts and retries to get the initial create to work successfully. I want to build out some automation for RODC work but want the automation pipeline to be able to build out the domain fresh everytime from a test fixture cookbook. Using the following very basic platform setting in kitchen yml:
And a very simple resource:
With debug output we see it always times out and dies waiting here:
Handling windows restarts is always a pain with chef, adding AD in the mix makes just enough of a problem to keep eluding me. If you have info on the correct provider or transport kitchen config values you have been able to use in the past that would be super helpful. |
For your example there, it seems the computer rebooted after: Confirm your recipe does something similar to the test recipe, then adjust your |
I have the same issue. I'll do some testing and see what I can prove/disprove on this issue. |
I seem to be facing the same issue, but for Windows Server 2019. Did any of you manage to successfully provision a domain controller using test-kitchen / WinRM? |
Hey there @derekgroh and others!
I have a question about the testing approach used with this cookbook and was wondering if anyone had input.
Have you tested this at all with the ec2 driver for creating a new forest and joining a new member computer to the new domain? I’m interested in how you handle the necessary reboots and any fine tuning of timeout values that might be required.
If not specifically ec2 related have you had to work around these kinds of issues with other windows AD testing pipelines?
The text was updated successfully, but these errors were encountered: