This guide provides solutions to common issues you may encounter when deploying and running the Video-Agents-Foundry-Solution.
Problem: preprovision hook fails with authentication error
Solution:
- Run
az loginand authenticate with your Azure account - If using a specific subscription, run
az account set --subscription <subscription-id>
Problem: preprovision hook reports missing tools
Solution: Install the required tools:
- Azure CLI (v2.x+)
- kubectl
- Helm 3
- Azure Developer CLI (azd) (v1.18.0+)
Problem: preprovision hook reports unregistered resource providers
Solution: Register the required providers:
az provider register --namespace Microsoft.Kubernetes
az provider register --namespace Microsoft.KubernetesConfiguration
az provider register --namespace Microsoft.ExtendedLocationNote: Registration can take several minutes. Check status with
az provider show --namespace <namespace> --query "registrationState".
Problem: No available VM sizes shown in the interactive menu Solution:
- Request additional GPU quota in the Azure Portal under Subscriptions > Usage + quotas
- Try a different region with available GPU quota
- Select alternative VM sizes that are available in your subscription
- See the quota check guide for detailed instructions
Problem: azd up times out during provisioning
Solution:
- Change the deployment location, as there may be availability constraints
- Run
azd downto clean up partial resources - Delete the
.azurefolder from your workspace - Run
azd upagain and select a different region
Problem: Authorization failed during deployment Solution:
- Verify your account has
Microsoft.Authorization/roleAssignments/writepermissions - Verify your account has
Microsoft.Resources/deployments/writepermissions - If permissions were recently granted, wait a few minutes for propagation
- See the Azure account setup guide for details
Debug Commands:
- Use
azd showto display information about your app and resources - Use
azd provision --debugto enable detailed debugging output - Check Azure Portal for deployment logs in the resource group
Problem: AKS cluster fails to provision or connect Solution:
- Check that you have sufficient quota for the selected VM sizes
- Verify the Kubernetes version is supported in your region
- Check AKS cluster events:
kubectl get events --all-namespaces --sort-by='.lastTimestamp'
Problem: NVIDIA GPU Operator pods not running Solution:
- Verify GPU nodes are in
Readystate:kubectl get nodes - Check GPU Operator namespace:
kubectl get pods -n gpu-operator - Review GPU Operator logs:
kubectl logs -n gpu-operator <pod-name> - Ensure the selected VM size has NVIDIA GPUs (NCas, NCads, or similar families)
Problem: VI Arc Extension pods not starting Solution:
- Check the
video-indexernamespace:kubectl get pods -n video-indexer - Verify Azure Arc connection:
kubectl get pods -n azure-arc - Check cert-manager is running:
kubectl get pods -n cert-manager - Review extension logs:
kubectl logs -n video-indexer <pod-name>
Problem: postup health dashboard shows failed checks
Solution:
- Wait a few minutes for all pods to initialize
- Check specific namespace for failing pods:
kubectl describe pod <pod-name> -n <namespace> - Re-run the health check by running
azd upagain (it will skip already-provisioned resources)
Problem: AKS cluster cannot connect to Azure Arc Solution:
- Ensure
Microsoft.KubernetesandMicrosoft.KubernetesConfigurationproviders are registered - Check that the cluster has outbound internet connectivity
- Verify the managed identity has appropriate permissions
Problem: AI Foundry model deployment fails during provisioning Solution:
- Verify model quota availability in your region at AI Foundry Quota Management
- Try a different model or region
- Set
CREATE_FOUNDRY_PROJECT=falseif you don't need the AI Foundry component
If you continue to experience issues after trying these solutions:
- Check the Azure Video Indexer documentation
- Review the AKS troubleshooting guide
- Consult the Azure Arc documentation
- Review the Azure Developer CLI reference
- Submit an issue on this repository
For a detailed, step-by-step guide on creating an AKS cluster with GPU support and deploying the Video Indexer Arc extension, see:
- AKS-CLUSTER-SETUP.md - Complete setup guide with output examples
- create-aks-cluster.sh - Automated deployment script
The guide includes GPU quota checking, troubleshooting tips, and support for live video processing.