"A problem occurred while getting data from the source vCenter Server" while upgrading vCenter Server 6.x
search cancel

"A problem occurred while getting data from the source vCenter Server" while upgrading vCenter Server 6.x

book

Article ID: 345427

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:

  • Upgrading a PSC or vCenter Server to 6.5 or 6.7 fails with the error:
A problem occurred while getting data from the source vCenter Server.
 
  • In the installer.log file, you see entries that indicate the wrong source VM is being contacted:
yyyy-mm-ddThh:mm:ss.061Z - info: VM with hostName VC-HOSTNAME: { _type: 'VirtualMachine',
  _moid: 'vm-1234',
  config: { template: false },
  guest:
   { hostName: 'INCORRECT-VC-HOSTNAME',
     ipAddress: 'INCORRECT-IP',
     net: [ [Object] ] },
  name: 'INCORRECT-VM-NAME',
  summary:
   { storage:
      { committed: 70567936125,
        uncommitted: 853394534401,
        unshared: 70538035688,
        timestamp: yyyy-mm-ddThh:mm:ss.765Z } } }
yyyy-mm-ddThh:mm:ss.061Z - info: VM Identifier for Source VC: vm-1234

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.



Cause

This issue occurs when there is a virtual machine on the same host as the source vCenter Server, and that's hostname is a substring of the source vCenter's hostname.

For example, if the source vCenter hostname is vcenter01, and another VM with the hostname of vcenter resided on the same host, this problem would manifest.

Resolution

This issue is resolved in vCenter Server 6.7.0c, available at VMware Downloads.

Workaround:
To workaround this issue, migrate any virtual machines with similar hostnames to other ESXi hosts and re-attept the upgrade.

Note: Set DRS for the cluster to Partially Automated or Manual to ensure they are not migrated back until the upgrade completes.