Python.exe has stopped working during installation or upgrade to vCenter Server 6.0

If you happen to encounter the error “Python.exe has stopped working” during an upgrade or installation of vCenter Server you may have hit a known issue that VMware is working on resolving. To confirm you are hitting this known issue, reference the vminst.log and the upgradeRunner.log files. You should see the error messages below.
 
vminst.log (%temp%)

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"

 
upgradeRunner.log (vCenter_Support_Bundle\vcsUpgrade\)

ERROR __main__ Upgrade Runner has encountered an exception
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'

 
This issue is caused by a NIC on your vCenter Server having more than one IP address. To check if this is the case, go to Network Connections -> Ethernet (Right Click – Properties) -> Internet Protocol Version 4 (TCP/IPv4) (Right Click – Properties) -> Advanced
 
2
 
You will need to temporarily remove all but one IP address on the NIC, rerun the upgrade, and then you can add the IP address back once the installer is successful.
 
Source: http://kb.vmware.com/kb/2110912
 

Posted by:

Sean Whitney

2 Comments

  1. Brad Pinkston -  April 13, 2015 - 9:58 pm 86

    An additional note, you can’t use DHCP. I use static DHCP in my lab sometimes. My vCenter happened to be a VM that was using static DHCP. This stopped the upgrade with the same error.

    @virtualgumbo

    Reply
    • Sean Whitney -  April 14, 2015 - 12:20 pm 87

      Good info, thanks!

      Reply

Leave A Comment

Your email address will not be published. Required fields are marked (required):

Back to Top