vCenter Server update fails with error: "Update installation failed, list operation is not allowed"
search cancel

vCenter Server update fails with error: "Update installation failed, list operation is not allowed"

book

Article ID: 437719

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

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'

Environment

  • VMware vCenter Server 8.x

Cause

Improper file formatting (invalid JSON structure): /etc/vmware/vsphereFeatures/b2b_fss_override.json

Resolution

Before 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)

  1. Take the SSH to the vCenter appliance as root.
  2. Correct file formatting issue in file: /etc/vmware/vsphereFeatures/b2b_fss_override.json
  3. Ensure required files (e.g., pkg_list) exist
  4. Validate proper JSON structure (including { })
  5. Restart services: service-control --start applmgmt.

Additional Information

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