Checking for available updates on VAMI fails with error "Operation timed out, please try again"
search cancel

Checking for available updates on VAMI fails with error "Operation timed out, please try again"

book

Article ID: 314675

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

 

Symptoms:

  • Checking for available updates on VAMI fails with the error "Operation timed out, please try again". 
  • It fails with the same error even when we attach the FP patch ISO to the vCenter Server Appliance.

 

Following log snippets are from /var/log/applmgmt/applmgmt.log 

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.patchFilter:Source version : #.#.#.#####

YYYY-MM-DD AM UTC [31439]DEBUG:vmware.appliance.update.patchFilter:Target version : #.#.#.#####

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.patchFilter:Source Build number : ######

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.patchFilter:Target Build number : ######

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.patchFilter:Source Changeset number : ######

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.patchFilter:Target Changeset number : ######

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.patchFilter:isB2BEnabled() returned False

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.patchFilter:Installed VC minor version is [######] and Target VC minor version is [######]

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.patchFilter:Patching allowed as 'PP' bits of installedVC is less than that of target VC

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.update_b2b:Changing the base appliance version: True

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.update_b2b:Checking if patch is in a supported version list 

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.update_b2b:This patch supports versions: None

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.update_b2b:checksum extracted: '######' 

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.update_functions:Verifying the checksum

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.update_functions:Checksum verification completed successfully

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.update_functions:Can't remove directory /storage/core/software-update/updates/#.#.#.#####: [Errno 2] No such file or directory: '/storage/core/software-update/updates/#.#.#.#####

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.update_functions:/storage/core/software-update/updates/#.#.#.##### directory created successfully

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.update_functions:Running /usr/bin/unzip -o /storage/core/software-update/tmp/iso/patch-metadata-scripts.zip -d /storage/core/software-update/updates/#.#.#.##### 

YYYY-MM-DD UTC [31439]DEBUG:vmware.appliance.update.update_b2b:Extracting installed package information

Environment

VMware vCenter Server 6.x

VMware vCenter Server 7.x

Resolution

  • Take a snapshot of the vCenter Server Appliance.
  • Backup the RPM DB using the below commands:

mkdir /backups/

tar -zcvf /backups/rpmdb-$(date +"%d%m%Y").tar.gz /var/lib/rpm 

  • Remove the current RPM DB:

rm -f /var/lib/rpm/__db.[0-9][0-9]* 

  • Rebuild the RPM DB:

rpm -vv --rebuilddb

  • Reboot the vCenter Server Appliance. 
  • Now check for available updates on VAMI.