'Failed to run pre-upgrade phase: python.exe' error when upgrading to Windows vCenter Server 6.0
search cancel

'Failed to run pre-upgrade phase: python.exe' error when upgrading to Windows vCenter Server 6.0

book

Article ID: 335963

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • During the installation or upgrade process for vCenter Server 6.0, python.exe reports error:
python.exe has stopped working
  • In the vminst.log (located at: %temp%) file, you see entries similar to:
E: MonitorStatusFile: Process exited with a non-zero exit code; no status monitoring so assuming failure
E: LaunchUpgradeRunnerCommon: Failed to run pre-upgrade phase: "Z:\PFiles\VMware\CIS\python\python.exe" "Z:\PFiles\VMware\CIS\cis_upgrade_runner\UpgradeRunner.py" --mode=requirements --configFile="C:\Users\administrator\AppData\Local\Temp\UpgradeRunnerInput.json" --logDir="C:\Users\administrator\AppData\Local\Temp\vcsUpgrade" --locale=en --outputFile="C:\Users\administrator\AppData\Local\Temp\UpgradeRunnerPreupgradeOutput.json"
  • In the <vc-support bundle>\vcsUpgrade\upgradeRunner.log file, you see entries similar to:
<YYYY-MM-DD>T<time>Z ERROR __main__ Upgrade Runner has encountered an exception</time>
Traceback (most recent call last):
File "Z:\PFiles\VMware\CIS\cis_upgrade_runner\UpgradeRunner.py", line 1285, in main
components.repository = components.ComponentRepository(metadata, probedData)
File "Z:\PFiles\VMware\CIS\cis_upgrade_runner\py\model\components.py", line 119, in __init__
self.components = _loadComponents(probingData, metadata)
File "Z:\PFiles\VMware\CIS\cis_upgrade_runner\py\model\components.py", line 187, in _loadComponents
srcTargets = _buildTargets(probingData['source-components'], srcComponents)
File "Z:\PFiles\VMware\CIS\cis_upgrade_runner\py\model\components.py", line 251, in _buildTargets
target = Target(host, platform)
File "Z:\PFiles\VMware\CIS\cis_upgrade_runner\py\model\components.py", line 81, in __init__
self.isLocal = isLocalHost(self.address)
File "Z:\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\networking_utils.py", line 148, in isLocalHost
localIps = GetLocalIPs()
File "Z:\PFiles\VMware\CIS\cis_upgrade_runner\libs\sdk\_win_utils.py", line 267, in GetLocalIPs
ipAddr = adNode.ipAddress
AttributeError: 'LP_IP_ADDR_STRING' object has no attribute 'ipAddress'
<YYYY-MM-DD>T<time>Z ERROR __main__ Upgrade mode requirements failed</time>


Environment

VMware vCenter Server 6.0.x

Cause

This issue occurs when the vCenter Server's host operating system (OS) has more than one IPv4 address assigned to a single physical or virtual NIC.

Resolution

This issue is resolved in vCenter Server 6.0 Express Patch 01. For more information, see Full Patch for VMware vCenter Server 6.0 (2111640) .

Workaround:
To work around this issue, remove additional IPv4 addresses from the NICs on the vCenter Server's Host operating system and perform the upgrade again.

Note: Ensure that you only have a single IPv4 address per NIC on the vCenter Server's Host OS.

Additional Information

To be alerted when this document is updated, click the Subscribe to Article link in the Actions boxFull Patch for VMware vCenter Server 6.0
Windows vCenter Server 6.0 へのアップグレードにより python.exe が失敗する
升级到 Windows vCenter Server 6.0 导致 python.exe 失败
A atualização para o Windows vCenter Server 6.0 causa falha no python.exe
La actualización a Windows vCenter Server 6.0 ocasiona que python.exe falle