GET <NSX Manager IP>/api/v1/logical-switches
GET <NSX Manager IP>/api/v1/logical-ports/var/log/proton/nsxapi.log, multiple association calls are seen, which in turn generate excessive RPC calls to CCP: DEBUG NSX 10227 [nsx@4413 comp="nsx-manager" level="DEBUG" logger="AssociationServiceImpl" msgID="INVENTORY" reqId="########-d9c5-4486-851d-############" subcomp="manager" threadName="http-nio-127.0.0.1-7440-exec-395" username=""] Received source identifier LogicalSwitch/########-d268-############ and target type VNI true false/var/log/syslog, the following entries can be seen for the API calls with high latency: [level="INFO" subcomp="manager"] UserName:<'Username'> ModuleName:'common-services' Operation:'GET@/api/v1/logical-switches' Operation status: 'failure' Error: General error has occurred./var/log/proxy/envoy_access_log: <source IP address> <destination IP address> "GET" "/api/v1/logical-switches" "HTTP/1.1" 200 - 0 145035 1269929 1269667 "<source IP address> "python-requests/2.31.0" "########-dbe1-4632-bcd7-############" <NSX manager FQDN> "127.0.0.1:7440"GET https://<NSX Manager ip>/api/v1/service-configs?profile_type=IpDiscoverySwitchingUpmProfile{ "results" : [ ], "result_count" : 3852, "sort_by" : "display_name", "sort_ascending" : true}VMware NSX
Note:
This issue is resolved in VMware NSX 4.2.4, available at Broadcom downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
Removing service configs from non-VIF will stop the excessive RPC calls to the NSX Manager.
Associate segments/logical switches with custom IP Discovery profile:
1. Log into NSX UI with admin privileges.
2. Select Networking -> Segments -> Segment Profiles.
3. Click Add Segment Profile and select IP Discovery.
4. Populate and specify the IP Discovery segment profile details, matching with the 'default-ip-discovery-profile' and select 'Save'.
5. To attach the new custom IP discovery profile to the segment, go to Segment -> Click the 3 dots next to the segment where the custom profile is being applied, and select 'edit'.
6. Expand 'Segment Profiles'. For 'IP Discovery' in the dropdown, select the newly created custom IP Discovery Profile created in step 4, and attach it to the segment.
For more information you can review the administration guide Create an NSX IP Discovery Segment Profile.
If the workaround above can't be used, or it doesn't resolve the issue, open a support case with Broadcom Support and refer to this KB article.
For more information, see Creating and managing Broadcom support cases.
When opening a new case, please upload the following into the support case:
GET https://<NSX Manager ip>/api/v1/service-configs?profile_type=IpDiscoverySwitchingUpmProfile/opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t InternalLogicalPort > /image/InternalLogicalPort.txt/opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t LogicalSwitch > /image/LogicalSwitch.txt/opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t ServiceConfig > /image/ServiceConfig.txt/opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t GroupDiscoveryProfileBindingMap > /image/GroupDiscoveryProfileBindingMap.txt/opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t Group > /image/Group.txt/opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t InternalGroup > /image/InternalGroup.txt