During NSX upgrade in version 4.2.2.x, the host upgrade fails immediately with the following message:
Upon clicking on the "Failed" message in the NSX upgrade page, you see the following details:
Retrying the NSX upgrade does not resolve the issue.
VMware NSX 4.2.x
The Fabric module entry is missing the field “FabricModuleType”
"fabric_module_type": "HOST_PREP"
This is a known issue impacting VMware NSX in version 4.2.2.x and has been resolved in VMware NSX 4.2.3
Workaround:
"managedResource": {
"displayName": "<UUID-COPY-ME>"
},
GET https://<NSX-Manager-IP>/api/v1/fabric/modules/<UUID-FROM-ABOVE-COMMAND>
"fabric_module_type": "HOST_PREP",
"source_authentication_mode": "NO_AUTHENTICATION",
"fabric_module_type": "HOST_PREP",
"resource_type": "FabricModule",
PUT https://<NSX-Manager-IP>/api/v1/fabric/modules/<UUID-FROM-ABOVE-COMMAND>