Hey All, trying to remove a logical switch in NSX-T 2.3.1 and getting "2/14/2019, 7:35:29 AM: Logical switch delete failed: One or more relationships exist for object with id LogicalSwitch/95655507-b901-49c0-9156-d39846644caa. (Error code: 3022)"
The thing is, there are no related ports, esxi bridge clusters, or any other related objects. There was a port in there the first time I tried to delete the LS, but now there's not. Any ideas on what to try here?
Well I ultimately removed the switch by removing NSX-T from the cluster and reinstalling it. Not sure what else to add to this one.
Well I ultimately removed the switch by removing NSX-T from the cluster and reinstalling it. Not sure what else to add to this one.
Remove the affected logical switch from the IPFIX profile:
- Go to Networking / Switching / Click on the affected logical switch / Click on Overview
- Copy the ID of the switch, the ID looks similar to this:
aea74e40-b8ab-4767-96e4-cdc5aff1ff2e
- On the main panel (left side), click on search and paste the ID of the logical switch. This will return all of the objects associated to it. Here you can identify the IPFIX profile associated.
- Go to Tools / IPFIX / Switch IPFIX Profiles and detach the logical switch from the profile.
- The attempt to delete the logical switch should work properly at this point