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

HCI box unable to create RG - Unable to acquire a token error. #2571

Closed potejasw closed 3 months ago

potejasw commented 4 months ago

Is your issue related to a Jumpstart scenario, HCIBox?

https://arcjumpstart.com/azure_jumpstart_hcibox/deployment_azd

Describe the issue or the bug

To Reproduce

Expected behavior

Environment summary

Have you looked at the Troubleshooting and Logs section? <!Its in the initial stage of creating RG

Screenshots

image

Additional context

janegilring commented 4 months ago

@potejasw Could you do a git pull and try again?

We just merged this enhancement: https://github.com/microsoft/azure_arc/pull/2573

I tested locally using the following conditions:

image

Triggering the deployment went fine when using the updated logic: image

potejasw commented 4 months ago

@janegilring I will check on this and update you.

potejasw commented 4 months ago

@janegilring We have passed the stage of tenant issue and we are stuck with number CPU's in eastUS region are seeing less when customer execute the command. With other region also customer sees less CPUs. But when I execute at my laptop it shows normal.

Current error we are getting is “There is not enough VM capacity in the eastus region to deploy the Jumpstart environment”. Checking other regions in the same geography with enough capacity (32 cores)

image

Output when I executed from my machine.

PS C:\Users\Username> az vm list-usage --location EastUS --output table --query "[].{Name:localName, Current:currentValue, Limit:limit, Unit:unit, Status:status}" Name Current Limit


Availability Sets 0 2500 Total Regional vCPUs 64 100 Virtual Machines 2 25000 Virtual Machine Scale Sets 0 2500 Dedicated vCPUs 0 3000 Cloud Services 0 2500 Total Regional Low-priority vCPUs 0 100 Standard ESv5 Family vCPUs 64 100

dkirby-ms commented 4 months ago

Customer needs to increase their vCPU quota. They are showing a limit of 20 regional vCPU. This is an issue with the vCPU quota on the targeted subscription.

potejasw commented 4 months ago

Thank you for your response. I will share the same with customer and update you.

potejasw commented 4 months ago

The customer has tried, but failed. Could you please share the steps to increase the vCPU counts on the subscription

janegilring commented 3 months ago

@potejasw In the Azure portal, go the subscription targeted for HCIBox deployment, select Usage + Quotas, select Provider:Compute, select the target Azure region and request increasing the relevant quotas by clicking the button in the column Adjustable :

image

potejasw commented 3 months ago

Thank you for your update and the screenshot. I will share the same with customer and share you the results

janegilring commented 3 months ago

@potejasw Any updates or are we good to close this issue?

potejasw commented 3 months ago

I apologise for not responding to this thread. The issue has been resolved. You can go ahead and close the case.

janegilring commented 3 months ago

No worries, thanks for the update.