Rollback using Migration Coordinator would fail if the Destination NSX-T has existing configurations which are in use.
search cancel

Rollback using Migration Coordinator would fail if the Destination NSX-T has existing configurations which are in use.

book

Article ID: 376027

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

Symptom : 

  • Customer is doing a V2T migration using migration coordinator .
  • Target NSX-T environment already has configurations in use prior to the migration .
  • Customer decides to Rollback the current migration . However , that would fail with the error that the configurations are in use , referring to the previous configurations which customer already had . 

Error:

Below is a sample error and Log snippet , where rollback was failing as it was trying to remove an Uplink profile which was already in use by the Transport Nodes.


Rollback failed. Check rollback.log file for more details [Reason: Host Switch Profiles failed with '400: Cannot update or delete the UplinkProfile [########-####-####-####-####98eb5c8] because it is used by 3 TransportNodes. Please use the object name or UUID in Global Search to find all linked objects. for url: http://localhost:7440/nsxapi/api/v1/host-switch-profiles/########-####-####-####-####98eb5c8 .

Migration-Coordinator.log

2024-08-26T08:28:17.572Z  INFO http-nio-127.0.0.1-7450-exec-3 NsxBaseRestController 7983 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="migration-coordinator"] Error in API /migration-coordinator/api/v1/migration/plan?action=rollback caused by exception com.vmware.nsx.management.upgrade.exceptions.UpgradeUnitUpgradeException:  {"moduleName":"migration-coordinator","errorCode":30527,"errorMessage":"Rollback failed. Check rollback.log file for more details [Reason: Host Switch Profiles failed with '400: Cannot update or delete the UplinkProfile [########-####-####-####-####98eb5c8] because it is used by 3 TransportNodes. Please use the object name or UUID in Global Search to find all linked objects. for url: http://localhost:7440/nsxapi/api/v1/host-switch-profiles/########-####-####-####-####98eb5c8']."}

rollback.log

ERRORS:

{'category': 'Unexpected error', 'error': "Host Switch Profiles failed with '400: Cannot update or delete the UplinkProfile [########-####-####-####-####98eb5c8] because it is used by 3 TransportNodes. Please use the object name or UUID in Global Search to find all linked objects. for url: http://localhost:7440/nsxapi/api/v1/host-switch-profiles/########-####-####-####-####98eb5c8'"}

Note :The actual intent may vary and not necessarily have to be UplinkProfile. 

Environment

Vmware NSX-T Data Center 3.x
Vmware NSX 4.x

Cause

NSX-T Migration coordinator does not support Migrating NSX-V to an existing NSX-T environment in use . The rollback feature may conflict with the exiting configurations on NSX-T.

Resolution

This is Expected behaviour . NSX-T Migration coordinator does not support Migrating NSX-V to an existing NSX-T environment in use. 
If using Migration Coordinator for migration, recommendation is to have a new NSX-T manager as the target .