vCenter Server upgrade fails with multiple errors during vLCM depot sync and staging process.
Error in logs:
var/log/vmware/applmgmt/update_microservice.log :
Traceback (most recent call last): File "/storage/core/software-update/updates/8.0.3.00800/update/dependency/vmware/vherd/base/extensibility/script_executor.py", line 56, in executeHook module = import(moduleName, globals(), locals()) File "/storage/core/software-update/updates/8.0.3.00800/scripts/update_script.py", line 24, in from update_util import (runCommand, DEPLOYMENT_ROOT, MANIFEST_FILE, File "/storage/core/software-update/updates/8.0.3.00800/scripts/update_util.py", line 26, in from fss_utils import getTargetFSS File "/storage/core/software-update/updates/8.0.3.00800/scripts/patches/libs/feature-state/fss_utils.py", line 31, in _FSSoverride = json.load(f) File "/usr/lib/python3.10/json/init.py", line 293, in load return loads(fp.read(), File "/usr/lib/python3.10/json/init.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.10/json/decoder.py", line 340, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 13 (char 12)
####-##-## ##:##:##,## - #######- update_b2b_target:: stage_precheck:3660 - ERROR - Can't load package list Traceback (most recent call last): File "/storage/core/software-update/updates/8.0.3.00800/update/update_b2b_target.py", line 3599, in stage_precheck with open(path.join(updateDir, "pkg_list")) as f: FileNotFoundError: [Errno 2] No such file or directory: '/storage/core/software-update/updates/8.0.3.00800/pkg_list'/etc/vmware/vsphereFeatures/b2b_fss_override.jsonBefore performing the below steps, please take the snapshot of the vCenter:
Snapshot Best practices for vCenter Server Virtual Machines
Creating a vCenter snapshot in Enhanced Linked Mode (ELM)
SSH to the vCenter appliance as root./etc/vmware/vsphereFeatures/b2b_fss_override.jsonpkg_list) exist(including { })service-control --start applmgmt.For more information, you may also refer to below KB:
Error: "Update installation failed, list operation is not allowed" after a failed vCenter Server update via VAMI