-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment error "The DSC Extension failed to execute" #54
Comments
What do the logs say? |
On 1 of the instances I checked c:\WindowsAzure\Logs\Plugins\Microsoft.Powershell.DSC\2.76.0.0\DscExtensionHandler.1.20180522-192458.txt and found the below. I'm trying to find out where that link is being called from. I see that https://raw.githubusercontent.com/azure/vm-scale-sets/master/hack2017/DSC/Configuration.zip does work with out the extra stuff. "ErrorMessage": "Error downloading |
I found the URL in c:\Packages\Plugins\Microsoft.Powershell.DSC\2.76.0.0\RuntimeSettings\1.settings and updated it. Any idea how I can kick of the script again? |
You updated it within the actual VM or in the scale set configuration? |
I update it in the 2 scale set instances it created and restarted the scale set but it still gives the same error. Is it copied to the image .vhd file l referenced to create the scale set?
From: Neil Sant Gat
Sent: Tuesday, May 22, 5:13 PM
Subject: Re: [Azure/vm-scale-sets] Deployment error "The DSC Extension failed to execute" (#54)
To: Azure/vm-scale-sets
Cc: FredCumbee, Author
You updated it within the actual VM or in the scale set configuration?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#54 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AltBH0gkqxRbgi1Qz2GFYUlfs0FgfXucks5t1H96gaJpZM4UJPUD>.
|
You need to update it in the scale set model itself; changing it within the VM won't fix it because (as you point out) there's no way to rerun the extension from within the VM |
Ok, I mounted the scale set image file (source .vhd) and the folder doesn't exist. It only contains C:\Packages\Plugins\Microsoft.Compute.BGInfo. Am I looking the wrong place? |
@mgreenegit any thoughts? Thanks, |
I tried both templates below and found its failing to download the 'sessionhost' extension.
I edited the template and found the sessionhost parameter below. In reviewing the URL in the error code, I found its adding the SAS token to the end. I edited the template and found the sessionhost parameter below. Is the ModulesUrl correct or should the SasToken be separated?
|
Did you ever fix it? I have been trying this for nearly a day now, configurationUrlSasToken and artifactsLocationSasToken within protectedSettings. and then in configuration an url. without the token. I tried several kind of storage accounts, blob, gp V1 and gp V2. It works when I allow public access, but somehow it won't use the protectedSettings. |
Our! Helped me a lot. I've been trying for 2 days. I disabled the firewall and went. Thanks ... |
I'm getting the following error when I deploy the template. The link in the message is returning a 404 error. Can you help me with this?
VM has reported a failure when processing extension 'sessionhost'. Error message: "The DSC Extension failed to execute: Error downloading https://raw.githubusercontent.com/azure/vm-scale-sets/master/hack2017/DSC/Configuration.zipsp=r&st=2018-05-22T18:19:44Z&se=2018-05-23T02:19:44Z&spr=https&sv=2017-07-29&sig=qWjxvNQi2iKrsdDd89GlRxY5YT0CFFQrnP27Odzej1k%3D&sr=b after 2 attempts: 404: Not Found. More information about the failure can be found in the logs located under 'C:\WindowsAzure\Logs\Plugins\Microsoft.Powershell.DSC\2.76.0.0' on the VM.".
The text was updated successfully, but these errors were encountered: