Skip to content
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

custom image #10

Open
Hopminonther opened this issue Sep 28, 2020 · 1 comment
Open

custom image #10

Hopminonther opened this issue Sep 28, 2020 · 1 comment

Comments

@Hopminonther
Copy link

Hi, when changing the custom image to use another language, and using this to deploy using the provided pipeline, the DSC deployment shows an error:

2020-09-28T09:17:57.2192573Z �[91mNew-AzResourceGroupDeployment: �[0m/home/vsts/work/1/s/SharedDeploymentFunctions/Invoke-GeneralDeployment.ps1:76
2020-09-28T09:17:57.2193197Z �[96mLine |
2020-09-28T09:17:57.2193788Z �[96m 76 | �[0m … eployment = �[96mNew-AzResourceGroupDeployment @DeploymentInputs -Resource�[0m …
2020-09-28T09:17:57.2201120Z �[96m | �[91m ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-09-28T09:17:57.2202011Z �[91m�[96m | �[91m09:17:57 - Resource
2020-09-28T09:17:57.2202765Z �[96m | �[91mMicrosoft.Compute/virtualMachines/extensions
2020-09-28T09:17:57.2203525Z �[96m | �[91m'QS-WVD-VM001/windowsDsc' failed with message '{ "status":
2020-09-28T09:17:57.2204266Z �[96m | �[91m"Failed", "error": { "code":
2020-09-28T09:17:57.2205003Z �[96m | �[91m"ResourceDeploymentFailure", "message": "The resource
2020-09-28T09:17:57.2205784Z �[96m | �[91moperation completed with terminal provisioning state
2020-09-28T09:17:57.2206516Z �[96m | �[91m'Failed'.", "details": [ { "code":
2020-09-28T09:17:57.2207310Z �[96m | �[91m"VMExtensionProvisioningError", "message": "VM has
2020-09-28T09:17:57.2208076Z �[96m | �[91mreported a failure when processing extension 'windowsDsc'.
2020-09-28T09:17:57.2208821Z �[96m | �[91mError message: "DSC Configuration 'AddSessionHost' completed
2020-09-28T09:17:57.2209605Z �[96m | �[91mwith error(s). Following are the first few: Importing module
2020-09-28T09:17:57.2210346Z �[96m | �[91mMSFT_ScriptResource failed with error - Cannot find the
2020-09-28T09:17:57.2211092Z �[96m | �[91mWindows PowerShell data file 'MSFT_ScriptResourceStrings.psd1'
2020-09-28T09:17:57.2211698Z �[96m | �[91min directory
2020-09-28T09:17:57.2213117Z �[96m | �[91m'C:\windows\system32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\DscResources\MSFT_ScriptResource\nl-NL\', or in any parent culture directories."\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot " } ] } }'
2020-09-28T09:17:57.2214188Z �[0m
2020-09-28T09:17:57.2352018Z ##[error]PowerShell exited with code '1'.
2020-09-28T09:17:57.2367156Z ## Script Execution Complete
2020-09-28T09:17:57.2369628Z ##[section]Finishing: Deploy module [VirtualMachines] in [rg-WVD-CUR] via [WVDServiceConnection]

@justin-shiah
Copy link
Collaborator

@Hopminonther Are you still facing this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants