This issue is resolved in vCenter 5.0 Update 2 and vCenter 5.1 Update 1, available at
VMware Downloads.
To work around this issue, change the autoUpgradeAgents option to true.
To change the autoUpgradeAgents option to true:
- Click Administration > vCenter Server Setting > Advanced Settings.
- Look for the AgentUpgrade.autoUpgradeAgents option and change this setting from false to true.
- Restart the VMware VirtualCenter Server service.
- Manually reconnect all ESX hosts.
The Upgrade vCenter Agents on cluster hosts task now completes.