TCA-CP appliance upgrade fails without any error
search cancel

TCA-CP appliance upgrade fails without any error

book

Article ID: 384091

calendar_today

Updated On:

Products

VMware Telco Cloud Automation

Issue/Introduction

During an update of TCA-CP from 3.1 to 3.2, you might see that the appliance upgrade stops without any error message.

 

Looking at the cnVmLogs/logs/vmware/capengine/cap-update/workflow.log logs iyou will see this message:

 

2024/12/11 05:38:47.213529 installer.go:232: photon rpm installed successfully

2024/12/11 05:38:47.214584 installer.go:241: Installing appliance specific RPMs

2024/12/11 05:38:47.304837 installer.go:246: Failed to execute command: chroot /storage/alt_root /bin/bash << EOF

rpm -Uvvh --force --nodeps --nodigest /storage/#######-####-####-####-############/stage/*.rpm >> /var/log/vmware/capengine/cap-update/install-20241211053736 2>&1

EOF. Output: , Error: exit status 23

2024/12/11 05:38:47.304876 install_plugin.go:71: Failed to install RPMs. Error: exit status 23

2024/12/11 05:38:47.304887 installer.go:430: Unmounting devices from /storage/alt_root

2024/12/11 05:38:47.304895 installer.go:434: Executing command: umount -l /storage/alt_root/boot

2024/12/11 05:38:47.312430 installer.go:434: Executing command: umount -l /storage/alt_root/boot/efi

2024/12/11 05:38:47.319302 installer.go:437: Failed to execute command: umount -l /storage/alt_root/boot/efi. Output: , Error: exit status 32

2024/12/11 05:38:47.319336 installer.go:434: Executing command: umount -l /storage/alt_root/logs

2024/12/11 05:38:47.324970 installer.go:434: Executing command: umount -l /storage/alt_root/common

2024/12/11 05:38:47.330135 installer.go:442: Unmounting dev, proc, sys

2024/12/11 05:38:47.361096 workflow_manager.go:217: Task install failed. Error: failed to install RPMs

Environment

3.1

Resolution

  • The upgrade fails because of space issue
  • Run df -h to validate how much the /common directory is consuming 
  • Remove the logs that are consuming large amount of space within that /common directory