Error: Failed to perform cleanup on VAMI console after vCenter Server update
search cancel

Error: Failed to perform cleanup on VAMI console after vCenter Server update

book

Article ID: 405868

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • vCenter Server update appears successful, but the VAMI (vCenter Server Appliance Management Interface) console shows the following error:

    Error: Installation Failed. Failed to perform cleanup




  • vCenter functionality is normal, and the updated version is correctly displayed in the vSphere Client.

Environment

  • VMware vCenter Server 8.x
  • VMware vCenter Server 9.x

Cause

  • The final cleanup task failed to complete or timed out after the vCenter Server update.

  • This results in the appliance maintaining an incorrect installation state in the configuration files.

    File /etc/applmgmt/appliance/software_update_state.conf contains the following state: "state": "INSTALL_FAILED"

Resolution

  • To clear the error state and restore VAMI access, perform the following steps:

    1. SSH to the vCenter Server as root.
    2. Review this command before running it to create a backup copy of the state configuration file: cp /etc/applmgmt/appliance/software_update_state.conf /storage/core/software_update_state.conf
    3. This command will make changes to your system. Stop the VAMI service: service-control --stop applmgmt
    4. This command cannot be undone. Remove the software_update_state.conf file: rm -i /etc/applmgmt/appliance/software_update_state.conf
    5. This command will make changes to your system. Start the VAMI service: service-control --start applmgmt
    6. Log in to the VAMI console to verify accessibility.

Additional Information