-
Notifications
You must be signed in to change notification settings - Fork 141
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
ADDomain: ARM template deployment fails due to ActiveDirectoryDsc resource ADDomain throwing an error on first reboot after a DC Promo #2 #574
Comments
Hi @mitch-meade, can you edit the issue comment and add your Dsc config, O/S details and PowerShell version as requested in the issue template. I've removed the references to the other incidents as this is a different error. |
It looks like you are hitting an unexpected exception when the server first reboots and the Dsc is re-evaluated and the Can you add the following code at line 111 of the
|
Below are the verbose logs requested...
|
Thanks @mitch-meade. This one is an Can you modify line 103 of the
Please leave the previous |
The logs requested...
|
Thanks @mitch-meade. It's a very generic exception, so can we capture some further details of the error record and exception to test against. Please add the following code before line 109 (the second
|
@X-Guardian below are the additional details requested:
|
Cheers @mitch-meade, I'll raise a new PR to add checks for these exceptions into the resource. |
Thanks for your fast response… In the mean time, while 6.0.0 is making its way to production, I've created a custom version of 5.0.0 with the check discovered earlier and it appears to be working. I'll use this resource until 6.0.0 has been tested and available. |
- ADDomain - Added additional Get-ADDomain retry exceptions (issue #574).
Details of the scenario you tried and the problem that is occurring
ARM template deployment fails due to ActiveDirectoryDsc resource ADDomain throwing an error on first reboot after a DC Promo. The DC promo completes but the error breaks the ARM template in progress.
Verbose logs showing the problem
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Windows Server 2016 running in Azure
Version and build of PowerShell the target node is running
Version of the DSC module that was used
6.0.0-preview0001.
The text was updated successfully, but these errors were encountered: