Creating network profile from TKGIMC fails with error "Request timed out"
search cancel

Creating network profile from TKGIMC fails with error "Request timed out"

book

Article ID: 399723

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated Edition

Issue/Introduction

When create network profile at at TKGIMC > Profile > Network > Create Profile, it takes time and finally fails with error "Failed to fetch network information. Request times out". 

 

Environment

TKGI Management Console(TKGIMC)

Cause

When clicking "Create Profile" at Network tab, TKGIMC UI(container) reaches out to pks-mgmt-server(container), then pks-mgmt-server will 

  1. Fetch pool list "GET /policy/api/v1/infra/ip-pools" from NSX-T Manager. 
  2. Fetch all subnets from each pool "GET /policy/api/v1/infra/ip-pools/<POOL_ID>/ip-subnets" from NSX-T Manager.

The step 2 could long time when there are large number of IP pools, once it exceeds TKGIM UI side waiting timeout, error "Failed to fetch network information. Request times out" will be triggered. 

Resolution

In this scenario, please create network profile with TKGI CLI `tkgi create-network-profile` instead. 

Additional Information

The issue has been raised up to engineering for future fix, but the estimated time of availability is not determined yet.