Error while upgrading vCenter 6.7 to 7. The vCenter Server appliance build number does not match with the vCenter Server appliance configured in the update repository
search cancel

Error while upgrading vCenter 6.7 to 7. The vCenter Server appliance build number does not match with the vCenter Server appliance configured in the update repository

book

Article ID: 316411

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vCenter Server

Issue/Introduction

Symptoms:

Unable to upgrade vCSA server appliance from 6.7 to 7.0

(issue mostly seen with setups having external SSO/PSC)

 

Environment

  • VMware vCenter Server 6.7.x Appliance

Cause

var/log/vmware/upgrade/upgrade.log or /var/log/vmware/converge/converge.log gives the following events  :

YYYY-MM-DDThh:mm:ss.300Z INFO converge Getting value 'username' from '/etc/applmgmt/appliance/update.conf'

YYYY-MM-DDThh:mm:ss.301Z INFO converge Getting value 'password' from '/etc/applmgmt/appliance/update.conf'

YYYY-MM-DDThh:mm:ss.301Z INFO converge https://vapp-updates.vmware.com/vai-catalog/valm/vmw/8d167796-34d5-4899-be0a-6daade4005a3/6.7.0.50000/manifest/manifest-latest.xml

YYYY-MM-DDThh:mm:ss.302Z INFO converge Fetching substring-after(/update/fullVersion/text(), "Build ")

YYYY-MM-DDThh:mm:ss.757Z INFO converge Root element: update

YYYY-MM-DDThh:mm:ss.758Z INFO converge Returning 18485166

YYYY-MM-DDThh:mm:ss.759Z INFO converge The vCenter Server appliance build number does not match with the vCenter Server appliance configured in the update repository.

YYYY-MM-DDThh:mm:ss.763Z ERROR converge Pre-checks failed for converge.

YYYY-MM-DDThh:mm:ss.767Z INFO converge Unsetting the converge running flag

YYYY-MM-DDThh:mm:ss.582Z INFO converge Cleanup successful with partial flag = True.

 

------------------------

Resolution

  • First confirm the latest patch showing in the vCenter Server VAMI update repository settings :

  • Once the above seems intact, get into vCSA shell using the below command:

appliancesh

  • Then check check the settings on the CLI using the update.get command :

  • Even after everything seems alright and you are still getting the message,
  • We have to login to the vCenter through SSH again.
  • From vCenter ssh just enter update.set --currentURL "default" this will convert the “Currenturl” setting back to the default repository. After you did this everything should be good to go like the below screenshot:

  • Post that check the converge.log for the status and monitor services restarting