vCenter upgrade in SDDC Manager fails with pre-check error : vCenter upgrade failed at the VCENTER_UPGRADE_PRECHECK stage. Unable to execute the vCenter upgrade.
search cancel

vCenter upgrade in SDDC Manager fails with pre-check error : vCenter upgrade failed at the VCENTER_UPGRADE_PRECHECK stage. Unable to execute the vCenter upgrade.

book

Article ID: 432788

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

An error "A vCenter upgrade is already running" can be seen during vCenter reduced downtime while upgrade is in progress and the vCenter reduced downtime upgrade operation will be failed.

In API explorer, we can view the task status as running but unable to cancel the failed task from the SDDC Manager.

Environment

VCF 9.0  VMware vCenter Server 8.0 U3

Cause

This issue occurs as the SDDC Manager is unable to restore the Source vCenter Server Appliance to an operational state on failed RDU Upgrade.

The issue is also caused by the 'ndu.json' file retaining information from a previous upgrade failure.

Resolution

  • SSH into the vCenter Server and enter the shell:
  • Stop the VLCM service:
  • service-control --stop vlcm
  • Move or rename the ndu.json file located at '/var/lib/vmware-vlcm/ndu.json':
  • mv /var/lib/vmware-vlcm/ndu.json /var/lib/vmware-vlcm/ndu.json_bkp
  • Start the VLCM service: 
  • service-control --start vlcm
  • Log in to the vSphere UI, navigate to the Upgrade tab, and click the Discard option.

Additional Information

Manually cancellation of the RDU (Reduced Downtime Upgrade) workflow on vCenter Server does not resolve the issue.