Error: ' Failed to validate RPMs. Error: exit status 254' when upgrading VCPLCM 1.5 to 1.7
search cancel

Error: ' Failed to validate RPMs. Error: exit status 254' when upgrading VCPLCM 1.5 to 1.7

book

Article ID: 402154

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

VCPLCM upgrade from 1.5 to 1.7 fails with the below error:

/var/log/vmware/capengine/cap-non-lvm-update/workflow.log :

Checking RPMs validity
2025/06/25 05:55:41.405171 installer.go:73: Failed to execute command: rpm --test -Uvvh --nodigest /storage/########.####.####,############/stage/*.rpm >> /var/log/vmware/capengine/cap-non-lvm-update/install-20250625055540 2>&1. Output: , Error: exit status 254
2025/06/25 05:55:41.405197 install_validation_plugin.go:45: Failed to validate RPMs. Error: exit status 254
2025/06/25 05:55:41.410777 workflow_manager.go:198: Task validate-install failed. Error: failed to run test transaction
2025/06/25 05:55:41.410806 workflow_manager.go:138: Stopping workflow execution as task validate-install failed

/var/log/vmware/capengine/cap-non-lvm-update/install-xxxx

error: Failed dependencies:
        libffi.so.6()(64bit) is needed by (installed) python-cffi-1.11.5-4.ph3.x86_64
        libffi.so.6()(64bit) is needed by (installed) python2-libs-2.7.17-7.ph3.x86_64
        linux = 4.19.272-1.ph3 is needed by (installed) linux-hmacgen-4.19.272-1.ph3.x86_64
        libcrypto.so.1.0.0()(64bit) is needed by (installed) python-cryptography-2.8-2.ph3.x86_64
        libcrypto.so.1.0.0()(64bit) is needed by (installed) python2-libs-2.7.17-7.ph3.x86_64
        libssl.so.1.0.0()(64bit) is needed by (installed) python-cryptography-2.8-2.ph3.x86_64
        libssl.so.1.0.0()(64bit) is needed by (installed) python2-libs-2.7.17-7.ph3.x86_64
        libpython3.7m.so.1.0()(64bit) is needed by (installed) python3-cgroup-utils-0.6-6.ph3.x86_64

 

Environment

VMware Cloud Director Lifecycle Manager 1.5 

Cause

These missing RPM dependencies are likely an issue/incompatibility with the cap versions used to build the different VCPLCM version

Resolution

To bypass the RPM dependency issue, please to a step-by-step upgrade to version 1.6 first and then version 1.7. 

Note: Ensure to clear the /tmp/ directory in between these 2 upgrades (if a reboot doesn't automatically clear), as it might be full after the upgrade to VCPLCM 1.6 -  so the second upgrade to 1.7 might fail, if not cleared.