Symptoms:
2023-10-18 15:14:23,120 - 34391 - update_script:: collectRequirements: 495 - DEBUG - Source VCSA version = 8.0.1.00200
2023-10-18 15:14:23,120 - 34391 - update_script:: collectRequirements: 500 - INFO - Target VCSA version = 8.0.2.00000
.
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/photon-upgrade.sh --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!
VMware vCenter Server 8.0 U2
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 multiple retries which is the reason for the progress to be stuck at 93% for an extended timeline.
This issue is fixed in vCenter Server 8.0 U2b (23319993).
Workaround:
In order to workaround the same you can try any of the below options
Option 1:
In case the patching is in progress, the recommendation is to wait if extended downtime is available as the process will complete.
Option 2:
Alternatively, execute the below steps to expedite the patching process:
chmod +x /<script location>/disable-repos.sh
/<script location>/disable-repos.sh
chmod +x /<script location>/disable-repos.sh
/<script location>/disable-repos.sh
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.sh