Skip to content

DSC Run stalls on WebAdministration Module #26

@dodgydorito

Description

@dodgydorito

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions