NetBox Enterprise Helm Troubleshooting
Beta Notice: These Helm charts are currently in beta. While stable for testing and development environments, please thoroughly test in your specific environment before production deployment. For the most up-to-date information, please refer to the main documentation.
This guide covers common issues and their solutions when deploying and operating NetBox Enterprise using Helm.
Common Installation Issues
Helm Chart Repository Issues
Problem: Cannot add or update Helm chart repository
Error: failed to fetch https://netboxlabs.com/charts/enterprise-helm/index.yaml : 404 Not Found
Solution:
- Verify you have access to the Enterprise Portal and valid credentials
- Ensure your organization has access to the Enterprise Helm charts
- Check if the repository URL has changed in your Enterprise Portal
- Re-add the repository with fresh credentials:
# Remove existing repository
helm repo remove netboxlabs-enterprise
# Re-add with current credentials from Enterprise Portal
helm repo add netboxlabs-enterprise https://netboxlabs.com/charts/enterprise-helm/ \
--username YOUR_USERNAME \
--password YOUR_PASSWORD
License Configuration Issues
Problem: License validation failures
Error: license validation failed: invalid license format
Solution:
- Verify the license file format in your base values file
- Ensure license content is properly base64 encoded
- Check license expiration date
- Contact NetBox Labs support if license appears invalid
Problem: License file not found during deployment
Solution:
- Verify the base values file contains the license configuration
- Ensure the values file is being used in the deployment:
helm install netbox netboxlabs-enterprise/netbox-enterprise \
-f values-base.yaml \
-f values-extra.yaml \
--namespace netbox-enterprise \
--create-namespace
Image Pull Issues
Problem: Cannot pull NetBox Enterprise images
Error: ImagePullBackOff
Solution:
- Verify image registry credentials are configured correctly
- Check if your cluster has access to the NetBox Labs registry
- For air-gapped deployments, ensure images are available in your private registry
- Verify image tags match your license version
# Check pod status
kubectl get pods -n netbox-enterprise
# Check pod events for detailed error information
kubectl describe pod <pod-name> -n netbox-enterprise
Common Runtime Issues
Database Connection Issues
Problem: NetBox cannot connect to PostgreSQL
Solution:
- Verify database credentials in your values file
- Check database network connectivity
- For external databases, ensure security groups/firewall rules allow access
- Verify database service is running and accessible
# Check database pod status (if using bundled PostgreSQL)
kubectl get pods -n netbox-enterprise | grep postgresql
# Check database connectivity from NetBox pod
kubectl exec -it <netbox-pod> -n netbox-enterprise -- nc -zv <db-host> 5432
Redis Connection Issues
Problem: NetBox cannot connect to Redis
Solution:
- Verify Redis configuration in your values file
- Check Redis service status
- Ensure Redis authentication matches NetBox configuration
# Check Redis pod status (if using bundled Redis)
kubectl get pods -n netbox-enterprise | grep redis
# Test Redis connectivity
kubectl exec -it <netbox-pod> -n netbox-enterprise -- redis-cli -h <redis-host> ping
Storage Issues
Problem: Persistent volumes not mounting correctly
Solution:
- Verify your cluster has appropriate storage classes
- Check persistent volume claim status
- Ensure adequate storage space is available
# Check PVC status
kubectl get pvc -n netbox-enterprise
# Check storage class availability
kubectl get storageclass
Performance Issues
Problem: Slow response times or timeouts
Solution:
- Check resource limits and requests in values file
- Monitor pod resource usage
- Verify database performance
- Consider scaling recommendations
# Check pod resource usage
kubectl top pods -n netbox-enterprise
# Check pod limits and requests
kubectl describe pod <netbox-pod> -n netbox-enterprise
Networking Issues
Ingress/LoadBalancer Issues
Problem: Cannot access NetBox Enterprise web interface
Solution:
- Verify ingress controller is installed and configured
- Check ingress resource configuration
- Verify DNS resolution for ingress hostname
- Check SSL/TLS certificate configuration
# Check ingress status
kubectl get ingress -n netbox-enterprise
# Check ingress controller logs
kubectl logs -n ingress-nginx deployment/ingress-nginx-controller
Service Discovery Issues
Problem: Services cannot communicate within cluster
Solution:
- Verify service configurations
- Check network policies
- Ensure DNS resolution within cluster
# Check service status
kubectl get services -n netbox-enterprise
# Test DNS resolution from pod
kubectl exec -it <pod-name> -n netbox-enterprise -- nslookup <service-name>
Configuration Issues
Values File Problems
Problem: Configuration not being applied
Solution:
- Verify YAML syntax in values files
- Check values file precedence (later files override earlier ones)
- Use
helm template
to preview rendered configuration
# Validate values file syntax
helm template netbox netboxlabs-enterprise/netbox-enterprise \
-f values-base.yaml \
-f values-extra.yaml \
--dry-run
# Check current configuration
helm get values netbox -n netbox-enterprise
Environment Variable Issues
Problem: Environment variables not being set correctly
Solution:
- Verify environment variable configuration in values file
- Check pod environment variables
- Ensure sensitive values are using secrets
# Check pod environment variables
kubectl exec -it <netbox-pod> -n netbox-enterprise -- env | grep NETBOX
Logging and Monitoring
Log Access
# View NetBox application logs
kubectl logs -f deployment/netbox -n netbox-enterprise
# View database logs (if using bundled PostgreSQL)
kubectl logs -f deployment/postgresql -n netbox-enterprise
# View Redis logs (if using bundled Redis)
kubectl logs -f deployment/redis -n netbox-enterprise
Health Checks
# Check deployment status
kubectl get deployments -n netbox-enterprise
# Check pod readiness and health
kubectl get pods -n netbox-enterprise -o wide
# Check service endpoints
kubectl get endpoints -n netbox-enterprise
Upgrade Issues
Upgrade Failures
Problem: Helm upgrade fails
Solution:
- Review upgrade logs for specific errors
- Verify new chart version compatibility
- Check for breaking changes in release notes
- Consider rolling back if necessary
# Check upgrade history
helm history netbox -n netbox-enterprise
# Rollback if needed
helm rollback netbox <revision> -n netbox-enterprise
Migration Issues
Problem: Database migrations fail during upgrade
Solution:
- Check NetBox logs for migration errors
- Verify database permissions
- Ensure adequate database resources
- Contact support for complex migration issues
Getting Support
Collecting Diagnostic Information
Before contacting support, gather the following information:
# Cluster information
kubectl cluster-info
# NetBox deployment status
kubectl get all -n netbox-enterprise
# Pod logs
kubectl logs deployment/netbox -n netbox-enterprise --tail=100
# Events
kubectl get events -n netbox-enterprise --sort-by=.metadata.creationTimestamp
# Helm release information
helm list -n netbox-enterprise
helm get values netbox -n netbox-enterprise
Support Channels
- Enterprise Support: Contact through your Enterprise Portal
- Documentation: Review the NetBox Labs Enterprise documentation
- Professional Services: Available for complex deployments and migrations
Known Issues
Check the NetBox Enterprise release notes for known issues and workarounds in your version.