Error while running installation tests and post-install scripts/opt/vmware/var/log/vami/updatecli.log on the VCD Cell, you see errors similar to:installing package VMware-Postgres-upgrade-10-14.11.0-23473091.x86_64 needs 198MB on the / filesystem
DD/MM/YYYY HH:MM:SS [ERROR] Failed with exit code 65024
DD/MM/YYYY HH:MM:SS [INFO] Update status: Running post-install scripts
DD/MM/YYYY HH:MM:SS [INFO] Running /opt/vmware/var/lib/vami/update/data/job/12/post_install '10.5.1.10593' '10.6.1.11841' 2
Failed with status of 2 while installing version 10.6.1.11841
VM version is still 10.5.1.10593
DD/MM/YYYY HH:MM:SS [ERROR] Failed with exit code 256
DD/MM/YYYY HH:MM:SS [INFO] Update status: Running VMware tools reconfiguration
DD/MM/YYYY HH:MM:SS [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.
DD/MM/YYYY HH:MM:SS [INFO] Update status: Done VMware tools reconfiguration
DD/MM/YYYY HH:MM:SS [INFO] Update status: Error while running installation tests and post-install scripts
DD/MM/YYYY HH:MM:SS [ERROR] Failure: updatecli exiting abnormally
DD/MM/YYYY HH:MM:SS [INFO] Install Finished/opt/vmware/var/log/vami/updatecli.log, you might see following errors related to package xml-security-c-1.7.3-4.ph2.x86_64:/opt/likewise/bin/domainjoin-cli: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory/opt/likewise/bin/domainjoin-cli: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory/opt/likewise/bin/lwsm: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directoryRemoved /etc/systemd/system/multi-user.target.wants/lwsmd.service.DD/MM/YYYY HH:MM:SS [INFO] Update status: Done pre-install scriptsDD/MM/YYYY HH:MM:SS [INFO] Update status: Running installation testsDD/MM/YYYY HH:MM:SS [INFO] Running /opt/vmware/var/lib/vami/update/data/job/21/test_commandwarning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/audit-2.8.5-31.ph4.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8a6a826d: NOKEYwarning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/vmware-vcloud-distribution-ovascripts-10.6.0-24055916.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 530c79e6: NOKEYerror: Failed dependencies: libcrypto.so.1.0.0()(64bit) is needed by (installed) xml-security-c-1.7.3-4.ph2.x86_64 libssl.so.1.0.0()(64bit) is needed by (installed) xml-security-c-1.7.3-4.ph2.x86_64tcpdump-4.9.2-1.ph3.x86_64 in /opt/vmware/var/log/vami/updatecli.log:DD/MM/YYYY HH:MM:SS [INFO] Update status: Running installation testsDD/MM/YYYY HH:MM:SS [INFO] Running /opt/vmware/var/lib/vami/update/data/job/5/test_commandwarning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/vmware-vcloud-distribution-ovascripts-10.6.1-24532678.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 530c79e6: NOKEYerror: Failed dependencies: libcrypto.so.1.0.0()(64bit) is needed by (installed) tcpdump-4.9.2-1.ph3.x86_64error: Failed dependencies:python3 = 3.6.9-10.ph2 is needed by (installed) python3-tools-3.6.9-10.ph2.x86_64/usr/bin/python3.6 is needed by (installed) python3-tools-3.6.9-10.ph2.x86_64This issue occurs due to the already installed packages which are not expected to be present:
xml-security-c-1.7.3-4.ph2.x86_64 - It is a Photon OS 2.0 package.tcpdump-4.9.2-1.ph3.x86_64 - It is a network packet capture tool.python3-tools-3.6.9-10.ph2.x86_64
As these packages are not expected to be present, they can be removed before re-attempting the upgrade.
rpm -qa | grep xml-security-c-1.7.3-4.ph2.x86_64rpm -qa | grep tcpdump-4.9.2-1.ph3.x86_64rpm -qa | grep python3-tools-3.6.9-10.ph2.x86_64rpm -e xml-security-c-1.7.3-4.ph2.x86_64rpm -e tcpdump-4.9.2-1.ph3.x86_64rpm -e python3-tools-3.6.9-10.ph2.x86_64