System Administration > Lifecycle Management > Upgrade > Plan

Get Pre-upgrade Check Failures

Get failures resulting from the last execution of pre-upgrade checks. If
the execution of checks is in progress, the response has the list of
failures observed so far.

Request:

Method:
GET
URI Path(s):
/api/v1/upgrade/pre-upgrade-checks/failures
Request Headers:
n/a
Query Parameters:
UpgradeCheckFailureListRequestParameters+
Request Body:
n/a

Example Request:

POST https://<nsx-mgr>/api/v1/upgrade/pre-upgrade-checks/failures

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
UpgradeCheckFailureListResult+

Example Response:

{ "results": [ { "type": "FAILURE", "message": { "message": "DRS should be Enabled and Fully automated for the cluster containing host 5e7aabc6-daea-11e9-938d-e34b48b12d44. Alternatively, put the host in vSphere maintenance mode manually.", "error_code": 30120 }, "component_type": "HOST", "origin_id": "5e7aabc6-daea-11e9-938d-e34b48b12d44", "origin_name": "wdc-rdops-vm05-dhcp-65-47.eng.vmware.com", "origin_type": "UPGRADE_UNIT" }, { "type": "FAILURE", "message": { "message": "DRS should be Enabled and Fully automated for the cluster containing host 35fd8964-daea-11e9-b67e-471c10dc6657. Alternatively, put the host in vSphere maintenance mode manually.", "error_code": 30120 }, "component_type": "HOST", "origin_id": "35fd8964-daea-11e9-b67e-471c10dc6657", "origin_name": "wdc-rdops-vm05-dhcp-77-244.eng.vmware.com", "origin_type": "UPGRADE_UNIT" }, { "type": "WARNING", "message": { "message": "If an external firewall is present, please ensure that communication on port 1234 is open between management nodes and hosts. Ignore if done already.", "error_code": 30171 }, "component_type": "MP", "origin_id": "MP", "origin_name": "MP Component", "origin_type": "COMPONENT" } ], "result_count": 3, "sort_ascending": true }

Required Permissions:

crud

Feature:

utilities_upgrade

Additional Errors: