locked
Powershell DSC extension in Azure RRS feed

  • Question

  • Hi,

    I'm using Terraform to install the DSC extension on my Azure VMs using the default RegistrationMetaConfgiV2.ps1 file

    The extension installs, sets the LCM, registers against the Automation account, sets the Node Configuration name and that's all good.

    The problem is that as part of the extension installation it all attempts to pull the Node Configuration and run it. This leads to timeouts or the extension install reporting "Provisioning Failed" if the Node Configuration doesn't exist yet or has an error in it.

    For me, the installation of the extension is trying to do too much. It should install, set the LCM, register with Automation, set the name of the node configuration and then report success. The actual running of the node configuration on the server should be out of scope of the install and be the responsibility of Automation.

    My question: Is there any way to prevent the extension from pulling and running the Node configuration during install?

    Monday, December 3, 2018 9:36 AM

All replies

  • You will need to post this in a TerraForm forum.

    Also see the GitHub issues with this script.

    https://github.com/Azure/azure-libraries-for-net/issues/292


    \_(ツ)_/

    Monday, December 3, 2018 2:31 PM
  • This isn't specific to Terraform.

    It appears to be related to the DSC extension installation as can be seen from this feedback where people are requesting an increase in the timeout during installation to allow the configuration to run fully https://feedback.azure.com/forums/216843-virtual-machines/suggestions/10173429-make-the-timeout-period-for-the-dsc-vm-extension-c


    Monday, December 3, 2018 5:46 PM