New Worker/Control Plane Nodes Fail to Deploy Due to NSX Network Realization Issue
search cancel

New Worker/Control Plane Nodes Fail to Deploy Due to NSX Network Realization Issue

book

Article ID: 419436

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

New worker or control plane nodes are not deploying. Deployment attempts fail with the following errors:

  • InfrastructureReady: network interface "eth0" error: network interface is not ready: NetworkNotRealized - Cannot realize network

  • NodeHealthy: Waiting for VSphereMachine to report spec.providerID

Environment

  • VKS
  • vSphere with Tanzu

Resolution

The issue resolves by restarting the following deployments on the Supervisor cluster to restore NSX and Cluster API functionality:

DeploymentNamespace
capi-controller-managersvc-tkg-domain-c####
capi-kubeadm-bootstrap-controller-managersvc-tkg-domain-c####
capv-controller-managersvc-tkg-domain-c####
vmware-system-vmop-controller-managervmware-system-vmop
nsx-ncpvmware-system-nsx

Command: kubectl rollout restart deployment <deployment_name> -n <namespace>

After restarting these components, the new nodes are successfully provisioned and reach the Running state.

Example commands below, replace svc-tkg-domain-c#### with the actual number appicable in your environment.

kubectl rollout restart deployment capi-controller-manager -n svc-tkg-domain-c####
kubectl rollout restart deployment capi-kubeadm-bootstrap-controller-manager -n svc-tkg-domain-c####
kubectl rollout restart deployment capv-controller-manager -n svc-tkg-domain-c####
kubectl rollout restart deployment vmware-system-vmop-controller-manager -n vmware-system-vmop
kubectl rollout restart deployment nsx-ncp -n vmware-system-nsx