Checking Host compliance on VMware Update Manager results in error : Cannot execute upgrade script on host
search cancel

Checking Host compliance on VMware Update Manager results in error : Cannot execute upgrade script on host

book

Article ID: 322324

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

 

Scanning an ESXi host against a baseline fails with the error: Cannot execute upgrade script on host

The following error is observed in the /var/log/vua.log:

[YYYY-MM-DDTHH:MM:SS] info vua[2103041] [Originator@6876 sub=VUA] Response: <output><exitCode>1</exitCode><err>Traceback (most recent call last):
-->   File &quot;/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py&quot;, line 385, in run
-->   File &quot;/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py&quot;, line 790, in communicate
-->   File &quot;/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/encodings/ascii.py&quot;, line 26, in decode
--> UnicodeDecodeError: &apos;ascii&apos; codec can&apos;t decode byte 0xe2 in position 63433: ordinal not in range(128)
-->
--> During handling of the above exception, another exception occurred:
-->
--> Traceback (most recent call last):
-->   File &quot;/tmp/vuaScript-3rVjYo/precheck.py&quot;, line 2267, in &lt;module&gt;
-->     sys.exit(main(sys.argv))
-->   File &quot;/tmp/vuaScript-3rVjYo/precheck.py&quot;, line 2227, in main
-->     init(product, version)
-->   File &quot;/tmp/vuaScript-3rVjYo/precheck.py&quot;, line 1994, in init
-->     systemProbe = SystemProbeESXi(version)
-->   File &quot;/tmp/vuaScript-3rVjYo/precheck.py&quot;, line 586, in __init__
-->     self.esxnwinfo = getoutput(&quot;/usr/sbin/esxcfg-info -n -F xml&quot;)
-->   File &quot;/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py&quot;, line 514, in getoutput
-->   File &quot;/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py&quot;, line 495, in getstatusoutput
-->   File &quot;/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py&quot;, line 316, in check_output
-->   File &quot;/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py&quot;, line 392, in run
-->   File &quot;/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py&quot;, line 1528, in kill
-->   File &quot;/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py&quot;, line 1518, in send_signal
--> ProcessLookupError: [Errno 3] No such process
--> </err></output>

 

Environment

VMware vSphere ESXi

Cause

This issue occurs when there are special characters or non-ASCII characters in the names of network port groups.

Resolution

  • Rename the network port group on both the VSS (Virtual Standard Switch) and DVS (Distributed Virtual Switch) if the name contains any special characters or non-ASCII characters.
  • Restart vCenter Services referring to the article: Stop, Start or Restart Services on vCenter Server 7.x/8.x

Additional Information