General error has occurred.
var/log/migration-coordinator/migration-coordinator.log
, you see entries similar to:2021-04-05T20:37:01.420Z ERROR http-nio-127.0.0.1-7450-exec-1 NsxBaseRestController 15343 SYSTEM [nsx@6876 comp="nsx-manager" errorCode="MP100" level="ERROR" subcomp="migration-coordinator"] 0 java.lang.ArrayIndexOutOfBoundsException: 0
2021-04-05T20:37:01.421Z INFO http-nio-127.0.0.1-7450-exec-1 NsxBaseRestController 15343 SYSTEM [nsx@6876 audit="true" comp="nsx-manager" level="INFO" subcomp="migration-coordinator"] UserName:'admin' ModuleName:'common-services' Operation:'POST@/api/v1/migration/plan' Operation status: 'failure' Error: General error has occurred.
VMware NSX-T Data Center 3.x
Find all the discovered objects from VC on the NSX-T Manager using this API and check if any host connectionState ≠ connected.
Such as disconnected or notRespondingcurl -k -H "Content-Type:application/json" -u admin -X GET https://localhost/api/v1/fabric/discovered-nodes
Example of truncated API response :
Workaround:
Ensure that all host are either connected to VC or removed from VC.