"Unable to delete Host Switch Uplink Profile"
ERROR [vcf_dm,<UUID>] [c.v.v.c.n.s.c.c.ComplexHelpers,dm-exec-3] Exception occurred during NSX API invocationjava.util.concurrent.ExecutionException: com.vmware.vapi.std.errors.InvalidRequest: InvalidRequest (com.vmware.vapi.std.errors.invalid_request) => { messages = [], data = struct => {error_message=Cannot update or delete the UplinkProfile [<UUID>] because it is used by 5 TransportNodes. Please use the object name or UUID in Global Search to find all linked objects., httpStatus=BAD_REQUEST, error_code=8504, module_name=NsxSwitching service}, errorType = INVALID_REQUESTCaused by: com.vmware.vapi.std.errors.InvalidRequest: InvalidRequest (com.vmware.vapi.std.errors.invalid_request) => { messages = [], data = struct => {error_message=Cannot update or delete the UplinkProfile [<UUID>] because it is used by 5 TransportNodes. Please use the object name or UUID in Global Search to find all linked objects., httpStatus=BAD_REQUEST, error_code=8504, module_name=NsxSwitching service}, errorType = INVALID_REQUEST
/var/log/syslog messages similar to the following will be seen:<Manager Hostname> NSX 5194 SYSTEM [nsx@6876 audit="true" comp="nsx-manager" level="INFO" subcomp="manager"] UserName:'admin' ModuleName:'NsxSwitching service' Operation:'DELETE@/api/v1/infra/host-switch-profiles/<UPLINK PROFILE UUID>' Operation status: 'failure' Error: Cannot update or delete the UplinkProfile [<UPLINK PROFILE UUID>] beCause it is used by 5 TransportNodes. Please use the object name or UUID in Global Search to find all linked objects.
VMware SDDC Manager 5.2.1
Workaround: