nsxm > vds-migrate precheckVDSUpgradePrecheck: {"httpStatus": "BAD_REQUEST", "error_code": 250012, "module_name": "NvdsUpgradeUrt Service", "error_message": "Precheck is in progress with state APPLY_TOPOLOGY_FAILED."}<TimeStamp> INFO NvdsUpgradeTaskExecutor1 NvdsUpgradeReadinessCheckByClusterServiceImpl 4500 FABRIC [nsx@6876 comp="nsx-manager" level="INFO" subcomp="manager"] NVDS-UPGRADE vds <DVS UUID> not found, sleeping for 30 sec ..<TimeStamp> ERROR NvdsUpgradeTaskExecutor1 NvdsUpgradeReadinessCheckByClusterServiceImpl 4500 FABRIC [nsx@6876 comp="nsx-manager" errorCode="MP250011" level="ERROR" subcomp="manager"] VDS <DVS UUID> not found in NSX inventory<TimeStamp> WARN NvdsUpgradeTaskExecutor1 NvdsUpgradeReadinessCheckByClusterServiceImpl 4500 FABRIC [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="manager"] NVDS-UPGRADE Failed to fetch VDS, APPLY_TOPOLOGY_FAILED<TimeStamp> INFO task-executor-0 MpRestService 10877 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="cm-inventory"] Getting cluster certificate using REST API nsxapi/api/v1/trust-management/certificates?type=cluster_api_certificate<TimeStamp> INFO task-executor-0 LoggingRestTemplate 10877 SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="cm-inventory"] Request::URI:http://localhost:7440/nsxapi/api/v1/trust-management/certificates?type=cluster_api_certificate method:GET<TimeStamp> WARN task-executor-0 CmDataSenderImpl 10877 SYSTEM [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="cm-inventory"] Issue processing cm <UUID> message: CmInvMsg{cmId='<UUID>', msgType='FULL_SYNC', <snip>java.lang.ArrayIndexOutOfBoundsException: nullcurl -k -i -X GET -H 'X-NSX-Username:admin' -H "Content-Type: application/json" http://localhost:7441/api/v1/cluster/api-virtual-ipVMware NSX-T Datacenter
The VIP certificate is not correctly configured.
Identify the VIP certificate in the result of GET /api/v1/trust-management/certificates/
{ "pem_encoded" : "<Encoded certificate>", "has_private_key" : true, "used_by" : [ { "node_id" : "<Invalid node ID>", "service_types" : [ "MGMT_CLUSTER" ] } ], <snip> "_revision" : 2 }
Valid node_id for MGMT_CLUSTER should be either site ID or a node ID of any existing Manager node.
The site ID can be found in the NSX Manager /config/site-manager/siteId file.
If the node_id is invalid, for example the ID of Manager node before restore, it delays inventory sync from VC to NSX Manager and CVDS is not recognized during precheck.
POST /api/v1/trust-management/certificates/<cert-id>?action=apply_certificate&service_type=MGMT_CLUSTERPOST /api/v1/nvds-urt?action=cleanup