NSX Upgrade Precheck fails with error: "Failed to execute check for the version sync status of UC on all the MP nodes. Failed to execute method GetStatusSummary."
search cancel

NSX Upgrade Precheck fails with error: "Failed to execute check for the version sync status of UC on all the MP nodes. Failed to execute method GetStatusSummary."

book

Article ID: 387967

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Full precheck error seen in the NSX Upgrade User Interface.

Failed to execute check for the version sync status of UC on all the MP nodes. Failed to execute method GetStatusSummary. {"module_name": "common-services" "error_message": "The URI is invalid "error_code": 512 "details": ""}

  • NSX Manager upgrade logs shows the following.

/var/log/upgrade-coordinator/upgrade-coordinator.log
[TIMESTAMP]  WARN http-nio-127.0.0.1-7442-exec-15 UcRetryUtils 79323 SYSTEM [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="upgrade-coordinator"] Error occurred while executing the method GetStatusSummary on retry 1
com.vmware.nsx.management.upgrade.rpcframework.UcRestRpcException: org.springframework.web.client.HttpClientErrorException$NotFound: 404 Not Found: "{<EOL>?"module_name": "common-services"<EOL>?"error_message": "The URI is invalid"<EOL>?"error
_code": 512<EOL>?"details": ""<EOL>}"
        at com.vmware.nsx.management.upgrade.rpcframework.UcRestClient.reportException(UcRestClient.java:292) ~[libuc-core.jar:?]
        at com.vmware.nsx.management.upgrade.rpcframework.UcRestClient.sendGetRequest(UcRestClient.java:105) ~[libuc-core.jar:?]
        at com.vmware.nsx.management.upgrade.service.RemoteManagerRestTemplate.getStatusSummary(RemoteManagerRestTemplate.java:23) ~[libnsx-upgrade-plugins.jar:?]
        at com.vmware.nsx.management.upgrade.plugin.mp.task.UcVersionInspectionTask.lambda$0(UcVersionInspectionTask.java:111) ~[libnsx-upgrade-plugins.jar:?]
        at com.vmware.nsx.management.upgrade.utils.retry.UcRetryUtils.getAnswer(UcRetryUtils.java:226) ~[libuc-core.jar:?]
        at com.vmware.nsx.management.upgrade.utils.retry.UcRetryUtils.getAnswer(UcRetryUtils.java:182) ~[libuc-core.jar:?]

  • One or more NSX Managers may return 404 when executing the upgrade-coordinator API. This is seen when manually executing the API call or from within desired_state_manager.json in a NSX Manager log bundle.

nsx_manager_bundle/desired_state_manager.json
  "/upgrade-coordinator/api/v1/upgrade/status-summary": "GET /upgrade-coordinator/api/v1/upgrade/status-summary returned status: 404, body: b'<html><body><p>{</p><p>  \"module_name\": \"common-services\"\\n</p><p>  \"error_message\": \"The URI is invalid\"\\n</p><p>  \"error_code\": 512\\n</p><p>  \"details\": \"\"\\n</p><p>}</p></body></html>'",

Environment

VMware NSX 4.x

Resolution

Workaround:

  • For a Manager that's returning 404 for the upgrade-coordinator API, restart the upgrade service 

service restart install-upgrade