Azure-Samples / Azure-Samples/Azure-Stack-Hub-Foundation-Core
The deployment is failing with exception
- Vorherrschende Sprache
- PowerShell
- Sterne
- 66
- Forks
- 52
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Hello Team,
while running the ASDK ARM template, the deployment is getting failed with the below exception.
"message": "VM has reported a failure when processing extension 'ASDKdeploymentScript'. Error message: \"Command execution finished, but failed because it returned a non-zero exit code of: '1'. The command had an error output of: 'C:\\Packages\\Plugins\\Microsoft.Compute.CustomScriptExtension\\1.10.12\\Downloads\\0\\Invoke-ASDKDeployment.ps1 : A \r\npositional parameter cannot be found that accepts argument 'OneShare'.\r\n + CategoryInfo : InvalidArgument: (:) [Invoke-ASDKDeploymen...' For more information, check the instance view by executing Get-AzVmssVm or Get-AzVm (https://aka.ms/GetAzVm). These commands can be executed using CloudShell (https://aka.ms/CloudShell)\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot "
}
Can you please help me on this?
Thanks.,
Vilas
Beitragsleitfaden
Rechercherichtung
Überprüfe das ASDK ARM template und das Skript Invoke-ASDKDeployment.ps1, die von der Erweiterung ASDKdeploymentScript verwendet werden. Beginne damit, nachzuverfolgen, wie das Argument OneShare übergeben wird, und reproduziere den Bereitstellungsfehler mithilfe der gemeldeten Troubleshooting-Befehle für die Instanzansicht. Als abgeschlossen gilt die Aufgabe, wenn die Bereitstellung ohne den Positionsparameterfehler abgeschlossen wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, powershell
- Bereich
- cloud, devops
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100