Error running mp-adapter: failed to determine NSX CA settings:
book
Article ID: 448192
calendar_today
Updated On:
Products
VMware Container Networking with AntreaVMware vSphere Kubernetes Service
Issue/Introduction
vCenter and Supervisor are version 9.0.1 or above.
Antrea Interworking pod goes into crashloopbackoff state.
From the guest cluster, the logs show the mp-adapter container is unable to read the NSX cert.
kubectl logs pod/interworking-############-#######-n vmware-system-antrea -c mp-adapter F0617 08:35:31.423494 17 main.go:103] Error running mp-adapter: failed to determine NSX CA settings: unable to read NSX CA file /etc/antrea/nsx-cert/ca.crt: open /etc/antrea/nsx-cert/ca.crt: no such file or directory
From the Superivsor CLI, the NCP configmap does not contain NSX certificate. This can be checked with following command:
kubectl get configmap nsx-ncp-config -n nsx-system -o yaml
One of the following actions may have been completed before issue occurred. These actions are known to trigger the issue (non-exhaustive list).