TKG - NSX ALB VIP creation failed due to "error:NetworkProfile object not found!"
search cancel

TKG - NSX ALB VIP creation failed due to "error:NetworkProfile object not found!"

book

Article ID: 383692

calendar_today

Updated On:

Products

Tanzu Kubernetes Runtime

Issue/Introduction

While deploying a new Workload Cluster, the creation process for the new cluster endpoint (VIP) got stuck because AKO said, "Error:NetworkProfile object not found!"

# kubectl -n avi-system logs ako-0
2024-11-29T04:47:55.628Z	WARN	rest/dequeue_nodes.go:620	key: admin/tkg-system-###-control-plane, msg: there was an error sending the macro Error during POST: Encountered an error on POST request to URL https://<NSX-ALB-CONTROLLER>//api/virtualservice/: HTTP code: 404; error from Avi: map[error:NetworkProfile object not found!]

Environment

  • Tanzu Kubernetes Grid
  • NSX-ALB

Cause

This issue happened after downgrading the NSX-ALB license from Enterprise to Essential without restarting ako-0 pod.

The NSX-ALB Essential license does not support the "System-TCP-Proxy" network profile. Instead, it only supports the "System-TCP-Fast-Path" network profile.

Resolution

Restart ako-0 pod.  

kubectl -n avi-system delete pod ako-0

AKO will retrieve the latest information from NSX-ALB controller and start to use "System-TCP-Fast-Path" profile.