Upgrade of NSX Edge nodes failed with the error "upgrading upgrade unit: [UC] Error in rest call. url= /nsxapi/api/v1/trust-management/certificates"
search cancel

Upgrade of NSX Edge nodes failed with the error "upgrading upgrade unit: [UC] Error in rest call. url= /nsxapi/api/v1/trust-management/certificates"

book

Article ID: 410996

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • VMware NSX Edge upgrade fails with a message similar to the following in the VMware NSX Upgrade UI:
    Upgrading upgrade unit: [UC] Error in rest call. url= /nsxapi/api/v1/trust-management/certificates , method= GET , response= { "module_name" : "common-services", "error_message" : "General error has occurred.", "details" : "Failed to index CertificateMsg", "error_code" : 100 } , error= 500 : "{<EOL> "module_name" : "common-services",<EOL> "error_message" : "General error has occurred.",<EOL> "details" : "Failed to index CertificateMsg",<EOL> "error_code" : 100<EOL>}<EOL>" .
  • The following error is observed in the /var/log/upgrade-coordinator/upgrade-coordinator.log file of the NSX Manager. 
    2025-07-02T16:26:13.274Z nsx-manager NSX ####### SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Sending GET request to nsxapi/api/v1/transport-nodes/########-####-####-####-############
    2025-07-02T16:26:13.278Z nsx-manager NSX ###### SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Get upgrade unit status for Group: ########-####-####-####-############, hasErrors: true
    2025-07-02T16:26:13.284Z nsx-manager NSX ###### SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Got 1 upgrade unit status items
    2025-07-02T16:26:13.284Z nsx-manager NSX ###### SYSTEM [nsx@6876 comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] Unit: ########-####-####-####-############, status: FAILED, % complete: 0.0, errors: Unexpected error while upgrading upgrade unit: [UC] Error in rest call. url= /nsxapi/api/v1/trust-management/certificates , method= GET , response= {#012    "module_name" : "common-services",#012    "error_message" : "General error has occurred.",#012    "details" : "Failed to index CertificateMsg",#012    "error_code" : 100#012}#012 , error= 500 : "{<EOL>    "module_name" : "common-services",<EOL>    "error_message" : "General error has occurred.",<EOL>    "details" : "Failed to index CertificateMsg",<EOL>    "error_code" : 100<EOL>}<EOL>" .
    2025-07-02T16:26:13.283Z nsx-manager NSX 5753 FABRIC [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="manager"] GET: DeploymentProgress not found for ID: ########-####-####-####-############
    2025-07-02T16:26:13.285Z nsx-manager NSX ###### - [nsx@6876 audit="true" comp="nsx-manager" level="INFO" subcomp="upgrade-coordinator"] UserName="admin", Src="###.###.###.###", ModuleName="Upgrade", Operation="GetUpgradeUnitGroupStatus", Operation status="success", New value=["########-####-####-####-############" {"has_errors":true,"page_size":250}]

Environment

VMware NSX

Cause

The issue occurs due to a race condition. 

Resolution

This issue is resolved in VMware NSX 4.1.2.4 and 4.2.x , available at Broadcom downloads.

If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.

Workaround:
Retry the EDGE upgrade.