VMware vCenter update – Accessing the VAMI returns error „Update installation in progress“ after recovering from a failed update

VMware vCenter update – Accessing the VAMI returns error „Update installation in progress“ after recovering from a failed update

A customer had a failed upgrade in the vcenter, so he asked me for help because after logging in to the VAMI UI after recovering from a failed update, instead of the normal Interface, „Update installation in progress“ is shown:

The issue is caused post the appliance has recovered from failed update and the update state is „UP_TO_DATE“ in „/etc/applmgmt/appliance/software_update_state.conf“, as in the example below:

This is very strange, because the status should be „INSTALL IN PROGRESS“ 

Resolution:

  • Login to the appliance using ssh
  • Create a backup copy of the file /etc/applmgmt/appliance/software_update_state.conf in a different location
    • # cp /etc/applmgmt/appliance/software_update_state.conf /storage/core/software_update_state.conf
  • Stop the VAMI service by running the command:
    • # service-control --stop applmgmt
  • Remove the file /etc/applmgmt/appliance/software_update_state.conf :
    • # rm -i /etc/applmgmt/appliance/software_update_state.conf
  • change into the folder /var/log/vmware/upgrade :
    • # cd /var/log/vmware/upgrade
  • verify that the following 3 files exist in this folder:
    • prechecks-succeeded
      export-succeeded
      import-succeeded
  • If these files do not exist, run the following 3 commands to create them:
    • # touch prechecks-succeeded
      # touch export-succeeded
      # touch import-succeeded
  • confirm that the files have been created:
  • # ls -l   
    
    -rw-r--r-- 1 root root    0 Mar 11  2019 prechecks-succeeded
    -rw-r--r-- 1 root root    0 Mar 11  2019 import-succeeded
    -rw-r--r-- 1 root root    0 Mar 11  2019 export-succeeded
  • Start the VAMI service using the following command:
    •  # service-control --start applmgmt
  • Login to the VAMI to validate the access

 

(Visited 50 times, 1 visits today)

Napsat komentář

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *