Upgrade of the Chargeback appliance from v8.10 to v8.16 failed to install updates "Error while running installation tests"
search cancel

Upgrade of the Chargeback appliance from v8.10 to v8.16 failed to install updates "Error while running installation tests"

book

Article ID: 376449

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • Chargeback appliance upgrade from version 8.10 to 8.16 fails with below error.

  • The "/opt/vmware/var/log/vami/updatecli.log" contains below entries:

[INFO] Running /opt/vmware/var/lib/vami/update/data/job/6/test command
Verifying packages ...
Preparing packages ...
installing package tenant-app-8.16.0-23264267.noarch needs 77MB on the / filesystem
[ERROR] Failed with exit code 65024
[INFO] Update status: Running post-install scripts
16/09/2025 05:09:02 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/6/post install '8.10.0.60035' '8.16.0.0' 2
Failed with status of 2 while installing version 8.16.0.0
VM version is still 8.10.0.60035
[INFO] Update status: Done post-install scripts
[INFO] Update status: Running VMware tools reconfiguration
[INFO] Running /opt/vmware/share/vami/vami_reconfigure tools

vmware-toolbox-cmd is /bin/vmware-toolbox-cmd
vmtoolsd wrapper not required on this VM with systemd.
[INFO] Update status: Done VMware tools reconfiguration
[INFO] Update status: Error while running installation tests
[ERROR] Failure: updatecli exiting abnormally
[INFO] Install Finished

Environment

VMware Chargeback 8.10

Cause

The upgrade failed because the root partition had insufficient available space.

There are multiple reason why root partitions can fill up. The most common reasons are:

  • Too many images retained from older versions
  • journal log taking too much space

Resolution

To free up disk space, please follow the steps below:

  1. Revert to snapshot taken before the upgrade was attempted
  2. Delete any support logs from the Chargeback UI
    In the Chargeback UI navigate to Administration >> Support  >> Support Bundle, highlight and select "Delete".
  3. SSH to Chargeback appliance using root account
  4. Issue the following two commands:
    docker image prune -a
    journalctl --vacuum-time=2d

Additional Information

The docker image prune command will prune all old images that are no longer needed.

The journalctl vacuum command will clear the journal logs, retaining the last 2 days of log entries

Known Issues for VMware Chargeback