When updating a Transport Node Profile (TNP) or adding a cluster to a Transport Zone in VMware NSX, the operation fails. Host Transport Nodes remain in a "Mismatch" configuration state.
Validation Error 8345: Cannot update TransportNode/#### to remove TransportZone/#### as this TransportZone has LogicalSwitches with # Vif Attachment(s).
VMware NSX
This issue occurs because the target Transport Node Profile (TNP) lacks a Transport Zone that is currently in use by active Virtual Machines (VIFs) on the ESXi hosts.
NSX protective logic prevents the removal of a Transport Zone while it has active attachments to prevent a Datapath outage for running workloads.
Follow these steps to resolve the configuration mismatch:
NSX-T Host preparation fails with "Transport Zone cannot be relocated from HostSwitch <X> to HostSwitch <Y> in a single transaction"
Configuration mismatch in NSX for host transport node "Cannot update TransportNode/<uuid> to remove TransportZone/<uuid> as this TransportZone has LogicalSwitches with # VIF attachments"