microsoft / azure_arc

Automated Azure Arc, Edge, and Platform environments
https://aka.ms/ArcJumpstart
Creative Commons Attribution 4.0 International
738 stars 545 forks source link

Jumpstart HCI Box: Exception encountered while adding node to cluster #2732

Open mshamim69 opened 3 hours ago

mshamim69 commented 3 hours ago

Describe the issue or the bug I am following the instruction https://azurearcjumpstart.com/azure_jumpstart_hcibox/deployment_az to setup Jumpstart HCIBox.

Region: WestEurope

I am the owner of the subscription. Have following configuration in ..\azure_arc\azure_jumpstart_hcibox\bicep\main.parameters.json

"deployBastion": { "value": false }, "autoDeployClusterResource": { "value": true }, "autoUpgradeClusterResource": { "value": true } But I am getting following error: hci-error

Windows PowerShell transcript start Start time: 20240929162039 Username: HCIBox-Client\hciboxdemo RunAs User: HCIBox-Client\hciboxdemo Configuration Name: Machine: HCIBox-Client (Microsoft Windows NT 10.0.20348.0) Host Application: PowerShell.exe C:\HCIBox\HCIBoxLogonScript.ps1 Process ID: 7932 PSVersion: 5.1.20348.2652 PSEdition: Desktop PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.20348.2652 BuildVersion: 10.0.20348.2652 CLRVersion: 4.0.30319.42000 WSManStackVersion: 3.0 PSRemotingProtocolVersion: 2.3 SerializationVersion: 1.1.0.1


Transcript started, output file is C:\HCIBox\Logs\Generate-ARM-Template.log [Build cluster - Step 10/11] Validate cluster deployment... PS>TerminatingError(New-AzResourceGroupDeployment): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: 4:21:51 PM - The deployment 'hcicluster-validate' failed with error(s). Showing 1 out of 1 error(s).

Status Message: Exception encountered while adding node to cluster [Failed to fetch all machines. Machines requested 2, fetched: 0. Please make sure all the required permissions are assigned.] at [ at Microsoft.AzureStackHCI.ResourceProvider.Services.ClusterNodeManager.GetEdgeDeviceIds(ClusterDeploymentWorkItem workItem, ResourceCollection1 machines) in C:\__w\1\s\src\rp\Services\ClusterNodeManager.cs:line 269 at Microsoft.AzureStackHCI.ResourceProvider.Services.ClusterNodeManager.AddARCNodesToCluster(ClusterDeploymentWorkItem workItem, ResourceCollection1 machines) in C:__w\1\s\src\rp\Services\ClusterNodeManager.cs:line 92] (Code: ValidationFailed)

What should be the step forward to fix this issue and have a successful deployment? I have Storage Account Contributor and Key Vault Administrator role to the RG. What are the additional requirements? hci-error

microsoft-github-policy-service[bot] commented 3 hours ago

Hi mshamim69! Thank you for opening this issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on the Arc Jumpstart.