When attempting to patch or update a vCenter Server Appliance (VCSA) 8.x via the vCenter Management Interface (VAMI), the process stalls at 83% during the phase: "Setting up appliance-photon repo and installing RPMS". This behavior typically occurs due to a session timeout in the VAMI web interface after the Photon OS RPM installation phase completes.
Symptoms:
Log File Location: /var/log/vmware/applmgmt/update_microservice.log
Log Excerpt:
dracut: rd.lvm.lv=vg_root_0/lv_root_0
dracut: root=/dev/mapper/vg_root_0-lv_root_0 rootfstype=ext4 rootflags=rw,relatime
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Creating image file '/boot/initrd.img-5.10.245-1.ph4' ***
dracut: *** Creating initramfs image file '/boot/initrd.img-5.10.245-1.ph4' done ***
Complete!
yyyy-mm-ddT18:44:32+0000 All packages were upgraded to latest versions successfully.
yyyy-mm-ddT18:44:32+0000 Rebuilding RPMDB.
yyyy-mm-ddT18:44:37+0000 successfully rebuilt RPMDB.
yyyy-mm-ddT18:44:37+0000 --install-all option was passed.
yyyy-mm-ddT18:44:37+0000 all packages from provided repos are already installed.
], stderr [initramfs (re)generation triggerin 1 2 2.0-7.ph4
initrd generation of kernel 5.10.245-1.ph4 will be triggered later
Warning: The unit file, source configuration file or drop-ins of vmtoolsd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of vgauthd.service changed on disk. Run 'systemctl daemon-reload' to reload units.
initrd of kernel 5.10.238-2.ph4 removed
(re)generate initramfs for all kernels, transfilertriggerin 2.0-7.ph4
]
yyyy-mm-dd 18:44:37,229 - 628614 - update_b2b_target:: executeInstallRpms:2143 - INFO - Installation of Photon RPMS completed successfully.
yyyy-mm-dd 18:44:37,229 - 628614 - update_b2b_target:: isDowngrade:2459 - INFO - It is downgrade: False
yyyy-mm-dd 18:44:37,229 - 628614 - functions_target:: runInstallVCRpm: 166 - INFO - Installing VC RPMS.
yyyy-mm-dd 18:44:37,229 - 628614 - functions_target:: runCommand: 82 - DEBUG - Invoking command [/bin/bash --login -c /bin/rpm -U
hv /storage/seat/software-update243upp4v/stage/*.rpm]
Environment
Product: VMware vCenter Server Appliance
The vCenter Appliance Management Interface (VAMI) web session times out during the resource-intensive RPM installation phase. While the backend installation succeeds, the UI fails to reflect the completion of the process.
Access the Appliance shell (appliancesh) to appliance shell by running the below command:
/bin/applianceshsoftware-packages stage --iso --acceptEulassoftware-packages list --stagedsoftware-packages install --staged
If you require further assistance or if the update fails via CLI, contact Broadcom Support: .