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

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

book

Article ID: 335963

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • 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

Resolved in vCenter Server 6.0 Express Patch 01.

Workaround:

  1. Remove additional IPv4 addresses from the NICs on the vCenter Server's Host operating system
  2. Perform the upgrade again.

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