VMware vRealize Suite Lifecycle Manager upgrade fails on running installation tests
search cancel

VMware vRealize Suite Lifecycle Manager upgrade fails on running installation tests

book

Article ID: 372405

calendar_today

Updated On:

Products

VMware Aria Suite VMware vRealize Suite Lifecycle Manager 8.x

Issue/Introduction

VMware vRealize Suite Lifecycle Manager upgrade fails on running installation tests with flow as follows:

Upgrade logs you can find in the  /opt/vmware/var/log/vami/updatecli.log where you can find error as above

[INFO] Update status: Running installation tests 15/07/2024 10:52:08 
[INFO] Running /opt/vmware/var/lib/vami/update/data/job/2/test_command warning: /opt/vmware/varnib/vami/update/data/package-poo//package-poo//VMware-Log-Insight-Agent-8.16.0-23229978.noarch.rpm: Header V3 RSA/SHA512 Signature, key ID fdf4dc95: NOKEY 
Preparing packages... 
   file /usr/share/vim/vim82/autoload/dist/ft.vim from install of vint-8.2.5169-14.ph3.x86_64 conflicts with file from package vim-extra-8.2.3408-1.ph3.x86_64 
   file /usr/share/vimivim82/defaults.vim from install of vim-8.2.5169-14.ph3.x86_64 conflicts with file from package vim-extra-8.2.3408-1.ph3.x86_64 
   file /usr/share/vim/vim82/filetype.vim from install of vim-8.2.5169-14.ph3.x86 64 conflicts with file from package vim-extra-8.2.3408-1.ph3.x86 64 

15/07/2024 10:52:10 [ERROR] Failed with exit code

15/07/2024 10:52:10 [INFO] Update status: Running post-install scripts 
15/07/2024 10:52:10 [INFO] Running /opt/vmware/vadlib/vamidupdate/data/job/2/post_install '8.6.0.20"8.16.0.4'

Updating vami-afcb.service - Removing vmtoolsd service dependency already service is having restart policy Failed with status of 2 while installing version 8.16.0.4 VM version is still 8.6.0.20 ++ basename /usr/lib/bootstrap/postupdate + readonly name=postupdate +

name postupdate + readonly bootstrap_dir=/etc/bootstrap/postupdate.d + bootstrap_dire/etc/bootstrap/postupdate.d + readonly bootstrap_log=/var/log/bootstrap/postupdate.log + bootstrap_log=/var/log/bootstrap/postupdate./og + exec + log 'Main bootstrap postupdate started' ++ date '+%Y-%m-%d %HAM:CS' + echo '2024-07-15 10:52:10 Main bootstrap postupdate started' + for script in n$1bootstrap_dirl^/* + echo + '["!' -e /etc/bootstrap/postupdate.d/00-00-rpm-status-check ']' + '["!' -x /etc/bootstrap/postupdate.d/00-00-rpm-status-check ']' + log i/etc/bootstrap/postupdate.d/00-00-rpm-status-check starting...' ++ date '+%Y-%m-%d ;MAMAS' + echo '2024-07-15 10:52:10 /etc/bootstrap/postupdate.d/00-00-rpm-status-check starting...' + /etc/bootstrap/postupdate.d/00-00-rpm-status-check 8.6.0.20 8.16.0.4 2 + res=1 +

echo 'Script /etc/bootstrap/postupdate.d/00-00-rpm-status-check failed, error status 1'

15/07/2024 10:52:10 [ERROR] Failed with exit code 256

15/07/2024 10:52:10 [INFO] Update status: Running VMware tools reconfiguration 
15/07/2024 10:52:10 [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. 
15/07/2024 10:52:10 [INFO] Update status: Done VMware tools reconfiguration 
15/07/2024 10:52:10 [INFO] Update status: Error while running installation tests and post-install scripts 
15/07/2024 10:52:10 [ERROR] Failure: updatecli exiting abnormally 

Environment

VMware vRealize Suite Lifecycle Manager 8.13.0 attempt to upgrade to the 8.16.0.4

Cause

The upgrade check fails as VIM package that comes with upgrade conflict with vim-extra-8.2.3408-1.ph3.x86_64 installed on the system

The solution is to remove the vim-extra-8.2.3408-1.ph3.x86_64 then start an upgrade again.

 

Resolution

Remove the conflicting package using RPM command

Steps: 

  • Login to SSH of LCM machine and 

           run rpm -qa | grep vim

           Result: 

           vim-extra-8.2.3408-1.ph3.x86_64

  • Uninstall package using rpm
    rpm -e <affected package name> 

         in our example 

         rpm -e vim-extra-8.2.3408-1.ph3.x86_64