DSC client node unable to install package

This topic contains 7 replies, has 3 voices, and was last updated by  Don Jones 2 months, 3 weeks ago.

  • Author
    Posts
  • #71702

    bharani
    Participant

    Hi all,

    I configured DSC server in windows server 2012 r2 configured another win 2012 r2 server as client node .I am trying to install .exe file via DSC on the client side i see that the configuration is failing with

    Job {55732EAD-4540-11E7-80F5-005056BB2D18} :
    This event indicates that failure happens when LCM is trying to get the configuration from pull server using download manager WebDownloadManager. ErrorId is 0x1. ErrorDetail is The attempt to get the action from server http://dc01f30.forest30.xyz.local:8080///PSDSCPullServer.svc/Action(ConfigurationId='e42622e1-6fed-4dcd-9409-70386e1f3390')/GetAction failed because a valid configuration e42622e1-6fed-4dcd-9409-70386e1f3390 cannot be found.Can you guide me how to fix this .

    Here are my DSC config details

    Configuration SetPullMode {
    param([string]$guid)
    Node $ComputerName {
    LocalConfigurationManager {
    ConfigurationMode = 'ApplyOnly'
    ConfigurationID = $guid
    RefreshMode = 'Pull'
    DownloadManagerName = 'WebDownloadManager'
    DownloadManagerCustomData = @{
    ServerUrl = 'http://dc01f30.forest30.xyz.local:8080/PSDSCPullServer.svc';
    AllowUnsecureConnection = 'true' }
    }
    }
    }
    SetPullMode –guid $guid
    Set-DSCLocalConfigurationManager –Computer "dc02f30.forest30.xyz.local" -Path ./SetPullMode –Verbose

    Node config details:

    Configuration Bigfixinstallation {
    param ($ComputerName)
    Node $ComputerName {
    Package InstallBigfix {
    Ensure = "Present"
    Name = "Install Bigfix"
    Path = "\\dc01f30\c$\Bigfix\bigfix.exe"
    Arguments = "/s"
    ProductID = "4C0151B6-7CB8-4F72-B07B-A70FF0066B0E "
    }
    }
    }
    Bigfixinstallation -ComputerName "dc02f30.forest30.xyz.local"

    Thanks
    Bharani

  • #71705

    Don Jones
    Keymaster

    The error is telling you that the MOF isn't on the pull server, or its checksum file is missing.

  • #71708

    bharani
    Participant

    Hi Don,

    Both, MOF and checksum files are there in C:\Program Files\WindowsPowerShell\DscService\Configuration

  • #71716

    Thomas Lee
    Participant

    I can't see where you plumbed the GUID into the pull client's LCM? I suspect that that is the issue.

  • #71720

    bharani
    Participant

    Hi Thomas,

    I tried it on different system and package got installed.The events generated are

    Job {F547F463-455E-11E7-80E2-005056BB3EE3} :
    Consistency engine was run successfully.

    To test this again i uninstalled it and this time is see errors

    This event indicates that failure happens when LCM is trying to get the configuration from pull server using download manager WebDownloadManager. ErrorId is 0x1. ErrorDetail is A generic exception occured during the invocation of the Get-DSCDocument cmdlet by Download Manager WebDownloadManager

    Any thoughts.

  • #71723

    Don Jones
    Keymaster

    I'm really not thinking this is with your package/installer – the error is happening before the node is even getting its MOF. Can you share the filename of the MOF and its checksum, as they sit on your pull server?

    • #71761

      bharani
      Participant

      MOF file name is d35f9a8a-1d34-4b4a-b1ce-a30b39f28f05

      Checksum file name is d35f9a8a-1d34-4b4a-b1ce-a30b39f28f05.mof

  • #71791

    Don Jones
    Keymaster

    So, that'd be the wrong file names.

    It's .mof and .mof.checksum. https://msdn.microsoft.com/en-us/powershell/dsc/pullserver

You must be logged in to reply to this topic.