Aria Suite Lifecycle Manager upgrade fails because /tmp directory fills up when downloading
search cancel

Aria Suite Lifecycle Manager upgrade fails because /tmp directory fills up when downloading

book

Article ID: 345990

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • How to temporarily increase the size of the /tmp directory.
  • After rebooting the system, /tmp directory will go back to its default size.
  • Aria Suite Lifecycle Manager Upgrade Error: Fails to download due to full /tmp directory (Error Code: LCMPATCHUPDATE16002) with messages "Failed to apply patch; check logs" and "Error creating local patch file".
  • VRLCM upgrade not proceeding, stuck on "Move saltrpms Files"
  • Installation may become stuck in progress In the UI for some time without failing
  • Logs at /var/log/vrlcm/patchcli.log do not proceed past "Move APUAT Files", "Move saltrpms Files" or "Move FIPS module Files"

Environment

VMware Aria Suite Lifecycle 8.x

Cause

The /tmp directory fills up because the size of the upgrade or patch files exceeds the available space in the partition during the extraction and installation process.

Resolution

Follow these steps to temporarily increase the /tmp partition size to allow the upgrade to complete.

  1. If the installation is stuck, revert the Aria Suite Lifecycle appliance to a snapshot taken before the upgrade started.
  2. SSH session to the Aria Suite Lifecycle appliance as root.
  3. Run the df -h /tmp command to check the current disk usage of the /tmp folder is 100%.
  4. Remount the /tmp directory with an increased partition size. For this example, we will give the /tmp directory 20 GB of space to work with.
        This size limit should be more than enough. However, it can be changed based on the environment requirement. :
    mount -o remount,size=20G /tmp/


  5.  Check the new size df -h /tmp


  6.  Restart the upgrade or patch application process.

 

Note: Once the upgrade is completed and the Aria Suite Lifecycle appliance is restarted, SSH to the Aria Suite Lifecycle again and check the amount of disk space available in /tmp: df -h /tmp. The /tmp file system will be back to its default size.

  1. To make the change persistent by editing /etc/fstab: Open the /etc/fstab file in a text editor (like vi or nano):
    vi /etc/fstab
  2. Add or modify the line for /tmp to include the desired size. It should look something like this:
    tmpfs /tmp tmpfs defaults,size=20G 0 0

If a line for /tmp already exists, modify the options to include size=20G. If it doesn't exist, add the line above. 


Save and close the file. :wq

Now, the /tmp directory will be mounted with 20GB of space every time the system reboots.



Additional Information

Impact/Risks: The download process of upgrade packages stops and the upgrade fails.