Symptoms:
Note: This can be verified by Login to the NSX-T manager UI >> Advanced Networking & Security >> Load Balancing >> Click on the LB for the cluster UUID >> Virtual Servers
- Similar errors messages as seen below can be found in the /var/vcap/sys/log/ncp//ncp.stdout.log on the Cluster's Master node.
2020-05-08T17:56:04.923Z 50ffdb89-c0b1-4aca-8009-ff13fc64c870 NSX 11263 - [nsx@6876 comp="nsx-container-ncp" subcomp="ncp" level="WARNING"] vmware_nsxlib.v3.client The HTTP request returned error code 409, whereas 201/200 response codes were expected. Response body {u'error_code': 5141, u'error_message': u'Requested IP Address 23.234.23.201 is already allocated.', u'httpStatus': u'CONFLICT', u'module_name': u'id-allocation service'}
2020-05-08T17:56:04.923Z 50ffdb89-c0b1-4aca-8009-ff13fc64c870 NSX 11263 - [nsx@6876 comp="nsx-container-ncp" subcomp="ncp" level="ERROR" errorCode="NCP00164"] nsx_ujo.ncp.nsx.manager.base_k8s_nsxapi Failed to allocate ip from ip pool: NSX IP 23.234.23.201 is already allocated in ip pool 93a4fb62-fd30-447e-b4ff-0d78f4697c41
- Similar errors messages as seen below are found in the /var/log/syslog on the NSX-t Manager
<179>1 2020-05-08T17:56:04.921Z cdppnnsxtm0001 NSX 6084 POOL-MGMT [nsx@6876 comp="nsx-manager" errorCode="MP5141" level="ERROR" reqId="ecc7a0ff-dc21-4a04-96fb-2073973703a1" subcomp="manager" username="pks-87f55023-7545-4298-aebd-a18012a9d456"] Requested ip 23.234.23.201 already allocated
- The Ingress IP Address is allocated to the floating IP pool.
To Verify :-
- ssh to the NSX-T manager as root .
- Run the following command to get the allocated IP address in the
# curl -k -u <dmin:,Password> get https://localhost/api/v1/pools/ip-pools/</floating_IP_Pool>/allocations
EX:
curl -k -u 'admin:VMware1!VMware1!' get https://localhost/api/v1/pools/ip-pools/493a4fb62-fd30-447e-b4ff-0d78f4697c41/allocations
{
"allocation_id": "23.234.23.200",
"_protection": "NOT_PROTECTED"
},
{
"allocation_id": "23.234.23.201",
"_protection": "NOT_PROTECTED"
},
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.