ERROR: General error has occured. java.util.concurrent.ExecutionException: org.springframework.web.client.RestClientResponseException: {"error":"This API is not supported as is deactivated in ALB."}
ERROR: General error has occured. java.util.concurrent.ExecutionException: org.springframework.web.client.RestClientResponseException: {"error":"This API is not supported as is deactivated in ALB."}
VMware NSX
This issue can occur when the Advanced Load balancer is removed from NSX, some components can remain in the NSX database.
From VMware NSX 4.1.1 onwards, some ALB integration features were removed, this lead to some stale objects remaining.
Please refer to the following KB for more detail on the ALB deprecation: Deprecation Announcement of NSX-T ALB Policy API and UI
If you believe you have encountered this issue, please open a support case with Broadcom Support and refer to this KB article.
For more information, see Creating and managing Broadcom support cases.
The stale entries are in the internal corfu database, Broadcom support is required to edit/remove these entries.
A similar issue with stale ALB objects is described in this KB NSX UI is not loading, showing a "Search index is out of sync for Generic Policy realized Resource" error."
When opening the NSX support case, please provide the following information.
Log into one of the NSX manager's as root user and run the following commands:
cd /root//opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t ALBControllerAdminCreds >> ALBControllerAdminCreds.dump/opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t GenericPolicyRealizedResource >> GenericPolicyRealizedResource.dump/opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t Alarm >> Alarm.dump
curl -k -u admin https://localhost/policy/api/v1/infra/sites/default/enforcement-points/alb-endpoint > alb-endpoint.api
Collect all 4 files from the /root/ directory: