Azure / aksArc

# Welcome to the Azure Kubernetes Service enabled by Azure Arc (AKS Arc) repo This is where the AKS Arc team will track features and issues with AKS Arc. We will monitor this repo in order to engage with our community and discuss questions, customer scenarios, or feature requests. Checkout our projects tab to see the roadmap for AKS Arc!
MIT License
111 stars 45 forks source link

AKS HCI Auto Deployment Fails #191

Open V-HMabrouk opened 2 years ago

V-HMabrouk commented 2 years ago

When I try to create the VM with an Azure Resource Manager JSON Template referenced here, I receive the following error:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"VMExtensionProvisioningError","message":"VM has reported a failure when processing extension 'InstallAksHci'. Error message: \"Command execution finished, but failed because it returned a non-zero exit code of: '1'. The command had an error output of: 'Connecting to remote server AKSHCIHost001 failed with the following error message : Access is denied. For more \r\ninformation, see the about_Remote_Troubleshooting Help topic.\r\nAt C:\\Packages\\Plugins\\Microsoft.Compute.CustomScriptExtension\\1.10.12\\Downloads...' 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 "}]}

The deployment parameters are as follows: { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", "contentVersion": "1.0.0.0", "parameters": { "virtualMachineName": { "value": "AKSHCIHost001" }, "virtualMachineSize": { "value": "Standard_E16s_v4" }, "virtualMachineGeneration": { "value": "Generation 2" }, "domainName": { "value": "akshci.local" }, "dataDiskType": { "value": "StandardSSD_LRS" }, "dataDiskSize": { "value": "32" }, "adminUsername": { "value": "AzureUser" }, "adminPassword": { "value": null }, "customRdpPort": { "value": "3389" }, "akS-HCIAppId": { "value": "<SERVICE-PRINCIPAL-APP-ID>" }, "akS-HCIAppSecret": { "value": null }, "akS-HCINetworking": { "value": "DHCP" }, "kubernetesVersion": { "value": "Match Management Cluster" }, "controlPlaneNodes": { "value": 1 }, "controlPlaneNodeSize": { "value": "Standard_A4_v2 (4vCPU, 8GB RAM)" }, "loadBalancerSize": { "value": "Standard_A4_v2 (4vCPU, 8GB RAM)" }, "linuxWorkerNodes": { "value": 3 }, "linuxWorkerNodeSize": { "value": "Standard_K8S3_v1 (4vCPU, 6GB RAM)" }, "windowsWorkerNodes": { "value": 0 }, "windowsWorkerNodeSize": { "value": "Standard_K8S3_v1 (4vCPU, 6GB RAM)" }, "installWindowsAdminCenter": { "value": "No" }, "enableArcIntegration": { "value": "Yes" }, "autoShutdownStatus": { "value": "Enabled" }, "autoShutdownTime": { "value": "22:00" }, "autoShutdownTimeZone": { "value": "UTC" }, "alreadyHaveAWindowsServerLicense": { "value": "No" } } }

Does anyone know why this might be happening? Thanks in advance.

leslielin-5 commented 2 years ago

Hello, the autodeploy eval guide is recently deprecated. Please use the most updated eval guide here and let us know if you are running into issues: https://docs.microsoft.com/en-us/azure-stack/aks-hci/aks-hci-evaluation-guide Thank you.