VCSA patching to 8.0 U2 is stuck at 93% for extended time when VC has limited/no internet access
search cancel

VCSA patching to 8.0 U2 is stuck at 93% for extended time when VC has limited/no internet access


Article ID: 326203


Updated On:


VMware vCenter Server


  • Patching of vCenter Server Appliance (VCSA) to 8.0 Update 2 is stuck at 93% for few hours and completes eventually
  • VCSA with limited/no internet connectivity is impacted with this issue
  • /var/log/vmware/applmgmt/update_microservice.log:
2023-10-18 15:14:23,120 - 34391 -        update_script::           collectRequirements: 495 -    DEBUG - Source VCSA version =
2023-10-18 15:14:23,120 - 34391 -        update_script::           collectRequirements: 500 -     INFO - Target VCSA version =
2023-10-18 15:20:37,336 - 45585 -     functions_target::              createPhotonRepo: 270 -     INFO - appliance-photon repo created successfully
2023-10-18 15:20:37,336 - 45585 -     functions_target::                    runCommand:  79 -    DEBUG - Invoking command [/bin/bash --login -c /usr/bin/ --skip-update --assume-yes --upgrade-os --repos=appliance-photon --install-all
2023-10-18 16:51:04,634 - 54435 -        update_script::_executePatchRunnerAndSupplyUserData: 132 -    DEBUG - Patch command patch completed successfully
2023-10-18 16:51:11,472 - 45585 -    update_b2b_target::                       install:2820 -    DEBUG - Installation completed successfully!

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.


VMware vCenter Server 8.0


The upgrade to 8.0U2 involves OS upgrade from Photon3 to Photon4 and this process is attempting to connect to photon online repository for OS RPMs upgrade. In a situation VCSA is unable to access repositories, there are mutiple retries which is the reason for the progress to be stuck at 93% for an extended timeline.


VMware is aware of this issue and working to resolve this in a future release.

In order to workaround the same you can try any of the below options

Option 1:
In case if the Patching is already in progress, the recommendation is to wait if extended downtime is available as the process would complete eventually.

Alternatively, execute the below steps to expedite the patching process
chmod +x /<script location>/
/<script location>/

Option 2:
  • Restore the VC from a valid backup or revert the snapshot of the vCenter Server before proceeding. In case of Enhanced Linked Mode (ELM), all the nodes in ELM needs to be reverted/restored at the same state to avoid any replication conflicts.
  • Download the attached script and copy to the VCSA using SCP
  • Log in to the VCSA via ssh
  • Navigate to the script location and and execute the below command
chmod +x /<script location>/
/<script location>/
  • Proceed with the upgrade via VAMI or Full Patch ISO
Note: In case if the script fails to execute, use the below sed command to convert it to linux line feed characters
sed -i -e 's/\r$//' /<script location>/


disable-repos get_app