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 "/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py", line 385, in run--> File "/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py", line 790, in communicate--> File "/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/encodings/ascii.py", line 26, in decode--> UnicodeDecodeError: 'ascii' codec can'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 "/tmp/vuaScript-3rVjYo/precheck.py", line 2267, in <module>--> sys.exit(main(sys.argv))--> File "/tmp/vuaScript-3rVjYo/precheck.py", line 2227, in main--> init(product, version)--> File "/tmp/vuaScript-3rVjYo/precheck.py", line 1994, in init--> systemProbe = SystemProbeESXi(version)--> File "/tmp/vuaScript-3rVjYo/precheck.py", line 586, in __init__--> self.esxnwinfo = getoutput("/usr/sbin/esxcfg-info -n -F xml")--> File "/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py", line 514, in getoutput--> File "/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py", line 495, in getstatusoutput--> File "/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py", line 316, in check_output--> File "/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py", line 392, in run--> File "/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py", line 1528, in kill--> File "/build/mts/release/bora-14320388/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py", line 1518, in send_signal--> ProcessLookupError: [Errno 3] No such process--> </err></output>
VMware vSphere ESXi
This issue occurs when there are special characters or non-ASCII characters in the names of network port groups.