Troubleshoot Deployment Issues
SUMMARY This topic provides information about how to troubleshoot deployment issues using Kubernetes commands and how to view the cloud-native router configuration files.
Troubleshoot Deployment Issues
This topic provides information on some of the issues that might be seen during deployment of the cloud-native router components and provides a number of Kubernetes (K8s) and shell commands that you run on the host server to help determine the cause of deployment issues.
Potential issue | What to check | Related Commands |
---|---|---|
Image not found |
Check if registry is accessible, image tags are correct |
|
Initialization errors |
Check if jcnr-secrets is loaded and has a valid license key |
cat /var/run/jcnr/juniper.conf Confirm that root password and license key are present |
cRPD Pod in CrashLoopBackOff state |
|
|
vRouter Pod in CrashLoopBackOff state |
Check the contail-k8s-deployer pod for errors |
kubectl logs contrail-k8s-deployer-<pod-hash> -n contrail-deploy |
View Cloud-Native Router Controller Configuration
The cloud-native router deployment process creates a configuration file for the cloud-native router controller (cRPD) as a result of entries in the values.yaml file. You can view this configuration file to see the details of the cRPD configuration. To view the cRPD configuration:
View Log Files
ls
command to
list the log files for each of the cloud-native router components.
# cd /var/log/jcnr/
[root@host: /var/log/jcnr]# ls
contrail-vrouter-agent.log contrail-vrouter-dpdk-init.log contrail-vrouter-dpdk.log vrouter-kernel-init.log calico containers cloud-init.log contrail jcnr-cni.log cloud-init-output.log crpd pods jcnr-notifications.json