VM Issues
Common problems with Azure Local virtual machines in the ACX Lab and how to resolve them.
VM Won't Start
Error: "Allocation failed"
Cause: The Azure Local cluster doesn't have enough capacity to start your VM.
Fix:
- Try starting the VM again in 15–30 minutes (capacity may free up)
- Check if you have other VMs running that you can deallocate
- If using a GPU VM, GPU capacity is especially limited — check with the ACX Lab team
- Consider using a smaller VM size temporarily
Error: "VM is in a failed state"
Cause: A previous operation on the VM failed and left it in an inconsistent state.
Fix:
- In the Azure portal, go to your VM
- Click Redeploy + reapply in the left menu
- Click Redeploy — this moves the VM to a new host node
- If redeployment fails, try Stop (deallocate) then Start
- As a last resort, delete and recreate the VM using the provisioning runbooks
VM is Slow or Unresponsive
Check Resource Utilization
- In the Azure portal, go to your VM → Monitoring → Metrics
- Check CPU percentage, Available memory, and Disk IOPS
- If CPU is consistently above 90% or memory is exhausted, consider resizing
Common Causes
| Symptom | Likely Cause | Fix |
|---|---|---|
| High CPU, low memory | CPU-bound workload | Resize to more vCPUs (e.g., D4s_v3 → D8s_v3) |
| Low CPU, high memory usage | Memory-bound workload | Resize to more RAM |
| High disk latency | Disk I/O bottleneck | Check for runaway processes, consider Premium SSD |
| General sluggishness | Windows Update running | Wait for updates to complete, or schedule them off-hours |
Resize Your VM
- Deallocate the VM (Azure portal → VM → Stop)
- Go to Size in the VM settings
- Choose from allowed sizes
- Click Resize
- Start the VM
Can't Connect to VM After It's Running
- Verify the VM is in a Running state (not Starting, Stopping, or Deallocated)
- Check that the VM's guest OS has finished booting (try waiting 2–3 minutes after status shows Running)
- Ensure you're using the correct connection method — see Connecting to Resources
- Check the VM's boot diagnostics: VM → Boot diagnostics → Screenshot to see the current screen state
VM Lost Network Connectivity
Cause: The VM's network interface may have been misconfigured or the VNet peering is broken.
Fix:
- In the Azure portal, go to your VM → Networking
- Verify the NIC is attached and has a private IP
- Check Effective network security group rules to ensure traffic isn't being blocked
- Try restarting the VM (this re-applies network configuration)
- If the issue persists, contact the ACX Lab team — the VNet peering may need to be re-established
Data Loss Warning
!!! danger "No backups by default" Lab VMs do not have automatic backups configured. If your VM is deleted or its disk is lost, your data is gone. Save important work to:
- A Git repository
- Azure Storage (Blob or File Share)
- Your corporate OneDrive
VM Extension Failures
Azure VM extensions (e.g., custom script, monitoring agent) may fail on Azure Local VMs due to Arc agent connectivity.
Fix:
- Go to your VM → Extensions + applications
- Check the extension status
- If an extension shows Failed, try removing and re-adding it
- If the Arc agent is disconnected, restart the
himdsservice on the VM:
# On Windows
Restart-Service himds
# On Linux
sudo systemctl restart himds