Error: "Failed to upload NSX bundle" during NSX Manager upgrade
search cancel

Error: "Failed to upload NSX bundle" during NSX Manager upgrade

book

Article ID: 461806

calendar_today

Updated On:

Products

VCF Operations VMware NSX

Issue/Introduction

  • NSX upgrade to version 9.1 via VCF Operations fails with error: "Failed to upload NSX bundle". 

  • The SDDC Manager logs the following error message in /var/log/vmware/vcf/lcm/lcm-debug.log:

YYYY:MM:SSThh:mm:ss DEBUG vcf_lcm 2109 [[USER_1]@#### traceId="####" spanId="####" upgradeId="####" resourceType="NSX_T_PARALLEL_CLUSTER" resourceId="[NSX_Manager_FQDN]:_ParallelClusterUpgradeElement" bundleElementId=""####"" threadId="Upgrade-2" class="c.v.e.s.l.p.i.nsxt.NsxtPrecheckUtil" method="uploadPayload" line="####"] Bundle upload failed - Http status code: 400 BAD_REQUEST, Response Body: { "error_code" : 30995, "module_name" : "upgrade-coordinator", "error_message" : "Cannot upload PUB bundle as the upgrade-coordinator upgrade is currently in progress." }, Error code: 30995, Exception: { "error_code" : 30995, "module_name" : "upgrade-coordinator", "error_message" : "Cannot upload PUB bundle as the upgrade-coordinator upgrade is currently in progress." }

YYYY:MM:SSThh:mm:ss8Z DEBUG vcf_lcm 2109 [[USER_1]@#### traceId="####" spanId="####" upgradeId="####" resourceType="NSX_T_PARALLEL_CLUSTER" resourceId="[NSX_Manager_FQDN]:_ParallelClusterUpgradeElement" bundleElementId="####" threadId="Upgrade-2" class="c.v.e.s.l.d.c.u.UpgradeClientImpl" method="updateUpgradeElementStatus" line="1042"] The error_details { "referenceToken": "####", "notifications": [ { "severity": "ERROR", "stage": "NSX_UPGRADE_STAGE_CLUSTER_PRECHECK", "timestamp": "####", "message": { "id": "com.vmware.vcf.error.runtime.nsxt.payload.upload.failed", "defaultMessage": "Failed to upload NSX bundle.", "localizedMessage": "Failed to upload NSX bundle." }, "originator": "VCF LCM Service", "remediationActions": [ { "id": "com.vmware.vcf.error.runtime.nsxt.payload.upload.failed.remedy", "defaultMessage": "Review the LCM log files on the SDDC Manager appliance at [IP_1]:/var/log/vmware/vcf/lcm and resolve identified errors. If resolved, then run the upgrade prechecks and retry the upgrade. If you are unable to resolve the errors, contact Broadcom Technical Support for assistance.", "localizedMessage": "Review the LCM log files on the SDDC Manager appliance at [IP_1]:/var/log/vmware/vcf/lcm and resolve identified errors. If resolved, then run the upgrade prechecks and retry the upgrade. If you are unable to resolve the errors, contact Broadcom Technical Support for assistance." } ], "referenceToken": "####", "context": {} } ] } already exists in the upgrade_element table for upgradeId: "####", resourceId: [NSX_Manager_FQDN]:_ParallelClusterUpgradeElement, resourceType: NSX_T_PARALLEL_CLUSTER. Appending additional details to it.

  • The NSX Manager node running the Upgrade Coordinator service logs the following error in /var/log/upgrade-coordinator/upgrade-coordinator.log:

YYYY:MM:SSThh:mm:ss INFO http-nio-[IP_1]-7442-exec-3 BundleStatusUtil 34585 SYSTEM [[USER_1]@4413 comp="nsx-manager" level="INFO" logger="BundleStatusUtil" msgID="SYSTEM" subcomp="upgrade-coordinator" threadName="http-nio-[IP_1]-7442-exec-3"] UC upgrade is in progress. Blocking UC Upgrade.

Environment

  • VMware Cloud Foundation (VCF) 9.1

  • VCF Operation 9.1

  • NSX 9.x

Cause

Incomplete finalization of a previous upgrade task leaves the Upgrade Coordinator stuck in an "In Progress" state, blocking new bundle uploads.

Resolution

Follow the below steps to clear the hung state of the Upgrade Coordinator and resume the upgrade:

  1. Establish an SSH session to the NSX Manager node.

  2. Execute get service install-upgrade to identify the specific node running the Upgrade Coordinator (UC) service.

  3. On the identified node, execute restart service install-upgrade to restart the UC service.

  4. Retry the NSX upgrade via VCF Operations.

Additional Information

Unable to upload NSX upgrade bundle PUB/MUB as "select local file" option greyed out.