- You are in the process of migrating from NSX-V to NSX-T (V2T).
- During the process of host migration you see a similar error to the one below:
TN migration stage failed for host ########-####-####-####-############:host-## [Transport Node failed with '400: TransportZones should be unique across all HostSwitches on a TransportNode,
TransportZone ########-####-####-####-############ is already associated with HostSwitch null. for url: http://localhost:7440/nsxapi/api/v1/transport-nodes']
- The upgrade window was paused during the V2T migration until a workaround could be found.
- You may see similar entries in the /var/log/migration-coordinator/v2t/cm.log found on the NSX-T Manager where the migration is running.
CM.plugins.tz_plugin INFO The user chose segment [ls-vlan-###:ls-vlan-###] for dvpg [vSwitch2] with VLAN 0
CM.plugins.tz_plugin DEBUG Updating maps for VLAN 0 DVPGs ['vSwitch2'] in dvs-102 matching ls-vlan-### in TZ tz_edge
CM.plugins.tz_plugin DEBUG No VLAN 0 dvpg is left in vds vDS-Switch2
CM.plugins.tz_plugin INFO The user chose segment [ls-vlan-###:ls-vlan-###] for dvpg [vSwitch1] with VLAN 0
CM.plugins.tz_plugin DEBUG Updating maps for VLAN 0 DVPGs ['vSwitch1'] in dvs-101 matching ls-vlan-### in TZ tz_edge
CM.plugins.tz_plugin DEBUG No VLAN 0 dvpg is left in vds vDS-Switch1
- You may see similar entries in the /var/log/migration-coordinator/migration-coordinator.log file found on the NSX-T Manager
ERROR task-executor-1-workitem-HOST-########-####-####-####-############:host-## WorkItem 23570 SYSTEM [nsx@6876 comp="nsx-manager" errorCode="MP30033" level="ERROR" subcomp="upgrade-coordinator"] Error reported by plugin during upgrade of upgrade unit ########-####-####-####-############:host-##com.vmware.nsx.management.upgrade.exceptions.UpgradeUnitUpgradeException: null
...
INFO http-nio-127.0.0.1-7450-exec-4 MigrationFacadeImpl 23570 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="migration-coordinator"] Component: HOST, status: FAILED, % complete: 0.0, details: TN migration stage failed for host ########-####-####-####-############:host-## [Transport Node failed with '400: TransportZones should be unique across all HostSwitches on a TransportNode, TransportZone ########-####-####-####-############ is already associated with HostSwitch null. for url: http://localhost:7440/nsxapi/api/v1/transport-nodes'], canSkip: false
INFO http-nio-127.0.0.1-7450-exec-4 UpgradeQueryServiceImpl 23570 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Returning upgrade status summary for HOST details as TN migration stage failed for host ########-####-####-####-############:host-## [Transport Node failed with '400: TransportZones should be unique across all HostSwitches on a TransportNode, TransportZone ########-####-####-####-############ is already associated with HostSwitch null. for url: http://localhost:7440/nsxapi/api/v1/transport-nodes'].
INFO http-nio-127.0.0.1-7450-exec-1 UpgradeServiceImpl 23570 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Component type = HOST , Upgrade Status = FAILED, Progress Percentage = 0 , Progress Message =
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.