System Administration > Lifecycle Management > Upgrade > Nodes

Get upgrade progress status

Get progress status of last upgrade step, if upgrade bundle is present.

Request:

Method:
GET
URI Path(s):
/api/v1/node/upgrade/progress-status
/api/v1/transport-nodes/<transport-node-id>/node/upgrade/progress-status
/api/v1/cluster/<cluster-node-id>/node/upgrade/progress-status
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/node/upgrade/progress-status

Successful Response:

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

Example Response:

{ "last_upgrade_step_status": { "args": { "bundle_files_path": "/image/VMware-NSX-unified-appliance-2.5.1.0.0.30931558/files", "from_version": "2.5.1.0.0.30931558", "new_config_path": "/config_bak", "new_os_path": "/os_bak", "node_type": "nsx-manager nsx-policy-manager nsx-controller", "old_config_path": "/config", "old_os_path": "/", "status_file": "/tmp/upgradeLJBKeQ", "to_version": "2.5.1.0.0.30931558" }, "end_time": "2019-11-22 14:01:23.323716", "failure_reason": null, "name": "unregister_ccp", "path": "/image/VMware-NSX-unified-appliance-2.5.1.0.0.30931558/scripts/unregister_ccp.py", "pid": 19445, "return_code": 0, "start_time": "2019-11-22 14:01:23.039104", "state": "TASK_SUCCESS", "status_file": "", "stderr": "", "stdout": "Unsupported version for unregistering", "task_id": "a715bc24-948d-441c-938a-4331078d3474" }, "upgrade_bundle_present": true, "upgrade_metadata": { "bundle_path": "/image/VMware-NSX-unified-appliance-2.5.1.0.0.30931558", "from_version": "2.5.1.0.0.30931558", "new_config_dev": "/dev/mapper/nsx-config", "new_os_dev": "/dev/sda2", "old_config_dev": "/dev/mapper/nsx-config__bak", "old_os_dev": "/dev/sda3", "to_version": "2.5.1.0.0.30931558" } }

Required Permissions:

read

Feature:

system_administration

Additional Errors: