Insufficient free IP addresses to allocate from the pool error when allocating IP pools in NCP
search cancel

Insufficient free IP addresses to allocate from the pool error when allocating IP pools in NCP

book

Article ID: 409026

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • TKGI 
  • Create a svc with a pool
  • The svc with IP pool, with it's capacity 1 address, or only 1 IP address is free.
  • In NCP logs, you see can the following error:
       IP_POOL_EXHAUSTED
  • From  NSX Manager logs we can see:
     [nsx@6876 comp="nsx-container-ncp" subcomp="ncp" level="ERROR" errorCode="NCP05025"] nsx_ujo.ncp.k8s.service_lb_controller Failed to process L4 Lb service ('default', 'protect-me-with-       ipreservation-c'): LbLayer4Service.update_lb_virtual_server_attributes() got an unexpected keyword argument 'tenant'

Environment

NCP 4.2.1

TKGI 1.21

TKGi 1.22

Cause

This issue may occur when there was an UPDATE to the loadbalancer IP address, where an update will create inconsistency. 

Resolution

Workaround:

  • Problem have been addressed in NCP 4.2.2, upgrade to patched TKGi version with fix with NCP 4.2.2
  • NCP bump to 4.2.2 will be provided in: TKGI 1.21.2 Patch, 1.22.3 Patch 

Alternative Workaround:

  • Delete the old Service (SVC).
  • Create a new Service with the correct IP pool required.

 

 

Additional Information