" Cannot delete profile <IPFIX-Switch-Profile> as it has 1 association(s) in 'Applied To' field. Please remove all the association(s) and try again. "
"Error: The object IPFIXL2CollectorProfile '<collector-name>' cannot be deleted as either it has children or it is being referenced by other objects: Default: IPFIXL2Profile '<IPFIX-profile>'"
VMware NSX
The segment was deleted before the IPFIX profile was removed, causing a stale entry for the required profile. As a result, NSX continues to show an entry associated with the profile
This issue is resolved in VMware NSX 4.2.
If you believe you have encountered this issue, open a support case with Broadcom Support and refer to this KB article.
For more information, see Creating and managing Broadcom support cases.
Related KB: Unable to delete Switch IPFIX Profile from NSX UI
If you are contacting Broadcom support about this issue, provide the following:
NSX-Manager# curl -k -u admin GET-X "https://localhost/api/v1/ipfix-profiles/"
NSX-Manager# curl -k -u admin -X GET "https://localhost/api/v1/ipfix-collector-profiles/"
NSX-Manager# /opt/vmware/bin/corfu_tool_runner.py -o showTable -n nsx -t SegmentMonitoringProfileBindingMap