NSX-T Data source shows collection error "Data collection failed due to an error. Please wait for sometime."
book
Article ID: 437881
calendar_today
Updated On:
Products
VCF Operations for NetworksVMware vSphere ESXi
Issue/Introduction
NSX-T Data source shows collection error Data collection failed due to an error. Please wait for sometime.
Refer to screenshot below:
On NSX UI when customer attempts to delete the Firewall IPFIX Profile shows the following error:
Error: Cannot delete group [/infra/domains/default/groups/All_Segments] due to following entities. These entities either lie in the group subtree or are being referred to by the group. Please delete - [[/infra/ipfix-dfw-profiles/#######-####-####-####-#########]] in order to delete the group. (Error code: 500324)
See error screenshot below:
On NSX GUI when Navigate to Plan & Troubleshoot>IPFIX section 2 profiles are created one global and another one is a manual profile. Also under collector Tab a manual profile is created as well.
Refer to below screenshots showing manual created profiles on Firewall IPFIX Profile and Collector Tab on NSX GUI respectively.
Edge logs show gRPC authentication failures: StatusCode.UNAUTHENTICATEDAuthorization error: User Credentials are not configured
Attempting to delete a Firewall IPFIX Profile in the NSX UI results in: Error code: 500324 - Cannot delete group [/infra/domains/default/groups/All_Segments] due to following entities...
Environment
VCF Operations for Networks
VMWare NSX
Cause
There are 2 profiles created on NSX GUI, the one which is manually created profile on NSX UI is causing conflict when backend APIs are executed to fetch the flow data. This results in data collection failed error on VCF Operations for Networks GUI.
Manually created IPFIX profiles or collectors in the NSX UI cause a conflict with the automated profiles created by Aria Operations for Networks. This synchronization mismatch prevents successful authentication and data collection.
Resolution
To fix this disable IPFIX from VCF Operations for Networks GUI and then proceed to clear the manually created profile from the NSX GUI.
Steps as below:
Navigate to VCF Operations for Networks GUI> Settings>Accounts and Datasource page.
Edit the NSX datasource which shows the data collector failed error message.
Disable DFW IPFix by unchecking the DFWIPFIX Check Box and Click Submit.
Turn off data collection for the NSX datasource in question.
Login to NSX GUI and Navigate to Plan and Troubleshoot >IPFix Section
Edit the manual created profile uncheck All segments. Click Save.
Now Edit the profile set priority which was 0 to 1
Refer to screenshot below:
Click save.
Now it will allow to delete the manually created profile.
When Profile is deleted from NSX GUI, wait for 10- 15 minutes.
Make sure there is no profile on the NSX GUI.
Now Navigate back to VCF Operations for Networks GUI> Settings>Accounts and Datasource page and Enabled DFWIPFIX check box and submit the datasource.
On NSX GUI, now we should see only one profile on DFWIPFIX Tab and Collector Tabs and status should be Success. Refer to screenshots below:
Now wait for 20-30 minutes and ensure no error message should return on VCF Operations for Networks GUI under account an datasource page for the NSX Manager.