TKGi Management Console filed with error "Input Validation failed Validation errors found IP xxxxx in floating_ip_range is already in use"
search cancel

TKGi Management Console filed with error "Input Validation failed Validation errors found IP xxxxx in floating_ip_range is already in use"

book

Article ID: 321560

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated (TKGi)

Issue/Introduction

Symptoms:
When trying to replace TKGi API certificate in TKGi Management Console according to KB 89807, Issue in Apply changes to Management Console Configuration due to incorrect floating IP range set in TKGi Configuration   

Error shown as follows: 




Environment

VMware Tanzu Kubernetes Grid Integrated Edition 1.15.2

Cause

Incorrect TKGi Management Console Configuration floating IP set 

Resolution

Fix floating IP range in TKGi MC with correct start IP and End IP as follows:
 

Please make sure that the summary page in the TKGI  MC is normal before changing the value of floating_ips_range as in screenshot below:​

 

 

Steps for changing floating IP range in TKGi MC as follows:

  1. ssh to the TKGI MC VM.
  2. `curl -k -u root -H “Content-Type: application/json” https://localhost/api/v1/deployment/manifest | jq -r . >manifest.json`
  3. update floating_ips_range to expected value.
  4. `curl -k -u root -H “Content-Type: application/json” -X POST -d @manifest.json https://localhost/api/v1/deployment`
After changing the IP using API POST, Confirm in TKGi management console that IP is changed 
Generate Configuration and Apply required changes in TKGi Management Console Configuration Tab

 
IMPORTANT NOTE
  • In TKGI MC Code,  TKGI MC will created a new floating IP pool with same name if the floating ip ranges is changed, and also TKGI MC will deleted the old floating IP pool.
  • Normally Users cannot Edit the floating IP Range so the above procedures need to proceeded under Engineering Guidance 



Additional Information

Impact/Risks:
Unable to Generate Configuration and Apply Changes in TKGi Management Console