Troubleshoot generic VM extension errors

Troubleshoot generic VM extension errors

Sometimes, you can run into a failed task in Nerdio Manager, where the error references a failed VM extension. This issue can occur in various areas of Nerdio Manager, such as when creating an Azure Files share, setting up a connection to an SCCM server, capturing an image, creating a VM, or running a task on a VM or host pool. This indicates that the error is not specific to a single feature in Nerdio Manager.

It is also important to note that the error message is typically generic. Here are some examples:

  • VM agent status: ProvisioningState/succeeded

    VM extension details:

    • Installation details: Failed

    • Exception details:

      Error: An error occurred during extension installation

  • VM agent status: ProvisioningState/succeeded

    • An existing VM extension of type DSC detected. Going to remove it.

    Logging previous result:

    • VM extension details:

      • Installation status: Failed

      • Extension status: Removed

    Additional information:

    • Computer-joined file share: False

    VM extension details:

    • Installation status: Failed

    • Exception details:

      • Error: An error occurred during extension installation

Even when reviewing the full error message details, the information provided is still fairly generic. Here are some examples:

  • Microsoft.Rest.Azure.CloudException: Long running operation failed with status 'Failed'. Additional Info:'VM has reported a failure when processing extension 'SCCM-srv-disc-5d5e10497f8d4ebaab47ca98f73c6883' (publisher 'Microsoft.Compute' and type 'CustomScriptExtension'). Error message: 'Finished executing command'. More information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot. '

  • Microsoft.Rest.Azure.CloudException: Long running operation failed with status 'Failed'. Additional Info:'VM has reported a failure when processing extension 'azfilestmp-75fb-upload-logs-ext' (publisher 'Microsoft.Compute' and type 'CustomScriptExtension'). Error message: 'Failed to download all specified files. Exiting. Error Message: Unable to connect to the remote server'. More information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot. '

At times, the error message may provide some information, such as the following:

  • Microsoft.Rest.Azure.CloudException: Long running operation failed with status 'Failed'. Additional Info: 'VM has reported a failure when processing extension 'FHCAVDITCMP001-install-fslogix-ext' (publisher 'Microsoft.Powershell' and type 'DSC'). Error message: 'The DSC Extension failed to execute: Error downloading https://nmwextensions.blob.core.windows.net/fslogix/FSLogixSetup.6.1.1.zip after 29 attempts: Unable to connect to the remote server.

Troubleshooting

When there is an issue with an extension and additional information is needed, you should check the logs in the following locations:

  • C:\Windows\Temp\NMWLogs

  • C:\WindowsAzure\Logs\Plugins\Microsoft.Compute.CustomScriptExtension

These logs may provide further insight into why a failure status is being reported. For more details, see Troubleshooting Azure Windows VM extension failures.

The status directory contains what is reported in Nerdio Manager via Azure, and the log file should contain more detailed information about the extension execution.

Was this article helpful?

0 out of 0 found this helpful
Have more questions? Submit a request

Comments (0 comments)

Article is closed for comments.