-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Here's an example from the Event Logs:
Job {7ADFF694-A36A-11E5-810C-0AB307FC6DAD} :
This event indicates that failure happens when LCM is trying to get the configuration from pull server using download manager WebDownloadManager. ErrorId is 0x6. ErrorDetail is Importing module RS_rsDomainIPRestrictions failed with error - The specified module 'WebAdministration' was not loaded because no valid module file was found in any module directory.
I traced the issue to several of the modules within the rsWebConfiguration resource where Line 1 is Import-Module WebAdministration. What I see happening is that an attempt is made to import the Powershell Module (not the DSC module) WebAdministration. This module is typically available only after IIS has been installed. On AWS, this module has not been installed yet, so it interrupts the DSC kick process. The build eventually happens, but only after erroring twice.