vCenter Server staging stuck at 6% during patching
search cancel

vCenter Server staging stuck at 6% during patching

book

Article ID: 405029

calendar_today

Updated On:

Products

VMware vCenter Server VMware vCenter Server 8.0

Issue/Introduction

  • Attempting Patching/Update of vCenter Server Appliance (VCSA) is stuck at 6% during staging
  • Power Cycle of VCSA may not clear the failed state on vCenter Server Appliance Management Interface (VAMI)

Environment

vSphere vCenter Server 8.x

Cause

In case if the staging task is interrupted, there may be historical/inconsistent data updated impacting the current state on VAMI

Validating the state via ssh session on VCSA

# cat /etc/applmgmt/appliance/software_update_state.conf

{   
   "state": "STAGE_IN_PROGRESS",
    "version": "8.0.3.00400",
    "latest_query_time": "YYYY-MM-DDTHH:MM:SSZ",,
    "operation_id": "/storage/core/software-update/stage_operation"
 }

Resolution

In order to resolve the issue, proceed with the below steps.

  • Log in to the vCenter Server Appliance using ssh.
  • Stop the applmgmt service.

service-control --stop applmgmt

  • Navigate to cd /etc/applmgmt/appliance/software_update_state.conf and make a copy of the file.

cp software_update_state.conf /root/software_update_state.conf

  • Remove the software_update_state.conf file.

rm software_update_state.conf

  • Start the applmgmt service.

service-control --start applmgmt