Pre-install failed for vpxd:Expand
search cancel

Pre-install failed for vpxd:Expand

book

Article ID: 384655

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

 

In /var/log/vmware/applmgmt/PatchRunner.log we see below entries:

PatchRunner.log
============================

2024-12-11T12:21:54.797Z vpxd:Expand ERROR vmware_b2b.patching.executor.hook_executor Patch hook 'vpxd:Expand' failed.
Traceback (most recent call last):
...
    self.vpxdcfg = ET.parse(self.vpxd_cfg_path)
  File "/usr/lib/python3.10/xml/etree/ElementTree.py", line 1229, in parse
    tree.parse(source, parser)
  File "/usr/lib/python3.10/xml/etree/ElementTree.py", line 580, in parse
    self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: mismatched tag: line 52, column 4
2024-12-11T12:21:54.819Z ERROR vmware_b2b.patching.utils.phase_utils Patch hook Expand got ComponentError.
...
patch_errors.ComponentError
2024-12-11T12:21:55.822Z ERROR __main__ Pre-patch vCSA failed

 

Environment

vCenter Server 7.x

vCenter Server 8.x

Cause

/etc/vmware-vpx/vpxd.cfg file has invalid XML entries

Resolution

Use xmllint or similar XML parsing tool to validate the XML contained in vpxd.cfg file and resolve the incorrect/invalid tag entries.