This article provides detailed steps to resolve the issue where the VMware vCenter Server Appliance (VCSA) upgrade process is stuck in an "Update is not staged" loop. This issue occurs when discrepancies or missing files prevent the update from being properly staged, causing the VAMI (vCenter Appliance Management Interface) to continue showing the old version, despite the update logs indicating success.
The issue is typically caused by discrepancies or missing files during the update staging process. This can happen due to incomplete downloads, corrupted files, or issues during the staging phase of the update.
To resolve this issue, follow these steps:
software-packages unstage
service-control --stop applmgmt
rm -rf /storage/core/software-update/updates/*
rm -rf /storage/core/software-update/stage/*
rm -rf /storage/db/patching.db
mv /storage/core/software-packages/staged-configuration.json /storage/core
mv /etc/applmgmt/appliance/software_update_state.conf /storage/core
service-control --start applmgmt
cat /etc/issue
rpm -qa
shows the latest patch, proceed to the next step.cp /etc/applmgmt/appliance/update.conf /etc/applmgmt/appliance/update.conf.bak
/etc/applmgmt/appliance/update.conf
file and manually update the version
and build
fields to match the latest build.After performing the above steps, the VAMI should correctly reflect the latest version, and the "Update is not staged" loop should be resolved. The update process can then proceed as expected.
Related Knowledge Base Articles:
Resolving issues with "Stage path file doesn't exist" or package discrepancies. checks.https://knowledge.broadcom.com/external/article/318581/update-from-vcenter-70-update-3-to-u3a-f.html
Workarounds for vCenter Server update failures related to pre-installation checks.https://knowledge.broadcom.com/external/article?articleNumber=313301