nsxm > vds-migrate precheck
VDSUpgradePrecheck: {"httpStatus": "BAD_REQUEST", "error_code": 250012, "module_name": "NvdsUpgradeUrt Service", "error_message": "Precheck is in progress with state APPLY_TOPOLOGY_FAILED."}
curl -k -i -X GET -H 'X-NSX-Username:admin' -H "Content-Type: application/json" http://localhost:7441/api/v1/cluster/api-virtual-ip
VMware NSX-T Datacenter
For some reason, for example NSX Manager cluster has been restored from backup, 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 /config/site-manager/siteId .
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_CLUSTER
POST /api/v1/nvds-urt?action=cleanup
https://bugzilla.eng.vmware.com/show_bug.cgi?id=3314285