[BUG] VM Extension 'ConfigureAksHciHost' failed
- Dominant language
- PowerShell
- Stars
- 118
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
the deployment getting operation failed error while creating the VM. I am pasting the error below :
{"code":"VMExtensionProvisioningError","message":"VM has reported a failure when processing extension 'ConfigureAksHciHost' (publisher 'Microsoft.Powershell' and type 'DSC'). Error message: \"DSC Configuration 'AKSHCIHost' completed with error(s). Following are the first few: The term 'Choco' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. The PowerShell DSC resource '[cChocoInstaller]InstallChoco' with SourceInfo 'C:\\Packages\\Plugins\\Microsoft.Powershell.DSC\\2.83.5\\DSCWork\\akshcihost.0\\akshcihost.ps1::621::9::cChocoInstaller' threw one or more non-terminating errors while running the Set-TargetResource functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details. The SendConfigurationApply function did not succeed. LCM failed to start desired state configuration manually.\". More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot. "}
Could you please take look into it.
Thanks
Contributor guide
Research direction
Start with the ConfigureAksHciHost VM extension failure and the generated akshcihost.ps1 location shown in the error. Check the Microsoft-Windows-DSC/Operational channel and the VM extension troubleshooting guidance to determine why Choco is unavailable; done means the DSC configuration completes without the cChocoInstaller error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, kubernetes, powershell
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100