NSX Manager data sources encounter the following error message during data collection:
"Data collection failed due to an error. Please wait..."
The following API error response related to the latency profile was identified in the AON/vRNI Collector log located at /var/log/arkin/collector
YYYY-MM-DDTHH:MM:SS.SSSZ ERROR dataprovider.utils.HttpUtils NSXT_<NSX Manager FQDN>_Config_OpMgr-0 checkStatusAndThrow:41 API /policy/api/v1/infra/latency-profiles/vRNI-Latency_Stat_Profile_##########== error response { "httpStatus" : "BAD_REQUEST", "error_code" : 500045, "module_name" : "Policy", "error_message" : "An object with the same path=[/infra/latency-profiles/vRNI-Latency_Stat_Profile_##########==] is marked for deletion. Either use another path or wait for the purge cycle (max 5 minutes) for permanent removal of the object."}YYYY-MM-DDTHH:MM:SS.SSSZ WARN common.utils.CommonUtils NSXT_<NSX Manager FQDN>_Config_OpMgr-0 logException:2555 Unable to fetch data from /policy/api/v1/infra/latency-profiles/vRNI-Latency_Stat_Profile_##########==java.util.concurrent.ExecutionException: com.vnera.dataproviders.core.common.impl.dataprovider.utils.exceptions.HttpException: Could not get response for /policy/api/v1/infra/latency-profiles/vRNI-Latency_Stat_Profile_##########==, status 400 at com.github.rholder.retry.Retryer_ExceptionAttempt.(Retryer.java:174) _[guava-retrying-1.0.5.jar:_] at com.github.rholder.retry.Retryer.call(Retryer.java:107) _[guava-retrying-1.0.5.jar:_] at com.vnera.dataproviders.core.common.impl.dataprovider.utils.RetryUtils.retryWithExpoBackoff(RetryUtils.java:60) _[dataproviders-0.001-SNAPSHOT.jar:_]
Run the following GET request to the NSX Manager Node to retrieve latency profiles returned an empty response:
GET https://<manager-ip>/policy/api/v1/infra/latency-profiles
However, there are outputs from the following GET request which indicates the presence of stale entries in NSX Manager Node
GET https://<manager-ip>/policy/api/v1/infra/realized-state/realized-entities?intent_path=/infra/latency-profiles/vRNI-Latency_Stat_Profile_##########==
VMware Aria Operations for Networks
VMware NSX
This happened because of the presence of stale latency profile entries existing in the NSX Manager Corfu DB
This is a known issue and resolved in NSX 4.2.1. If you encounter this issue, contact Broadcom Support: Broadcom Support Portal
Related KB:
Latency profile realization fails to propagate to Transport Nodes