1 Reply Latest reply on Oct 23, 2014 7:16 AM by paulhbeckerj

    vamicli update Failed with exit code 5376

    paulhbeckerj Novice


           on some of my deployed appliances, when I try to upgrade them I just get an error that does not help me upgrade them.

           using:  vamicli update --install latest

           I see: Failure: Error while running installation tests



      Can anyone offer any suggestions that would allow me to upgrade these?
      I am able to successfully upgrade some older and newer appliance to the same latest version.


      this is in my log file:  /opt/vmware/var/log/vami/updatecli.log

           10/09/2014 15:06:33 Starting Install

           10/09/2014 15:06:33 Update status: Starting Install

           10/09/2014 15:06:33 Update status: Running pre-install scripts

           10/09/2014 15:06:33 Running /opt/vmware/var/lib/vami/update/data/job/19/pre_install '2.8.0.3' '2.8.0.6'


      Installing update from version 2.8.0.3 to version 2.8.0.6


           10/09/2014 15:06:33 Update status: Done pre-install scripts

           10/09/2014 15:06:33 Update status: Running installation tests

           10/09/2014 15:06:33 Running /opt/vmware/var/lib/vami/update/data/job/19/test_command 


      warning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/glibc-2.12-1.132.el6_5.4.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY



      Preparing packages for installation...



      package kernel-2.6.32-431.23.3.el6.i686 is already installed


           10/09/2014 15:06:38 Failed with exit code 5376

           10/09/2014 15:06:38 Update status: Running post-install scripts

           10/09/2014 15:06:38 Running /opt/vmware/var/lib/vami/update/data/job/19/post_install '2.8.0.3' '2.8.0.6' 2


      Failed with status of 2 while installing version 2.8.0.6



      VM version is still 2.8.0.3


           10/09/2014 15:06:51 Update status: Done post-install scripts

           10/09/2014 15:06:51 Update status: Running VMware tools reconfiguration

           10/09/2014 15:06:51 Running /opt/vmware/share/vami/vami_reconfigure_tools


      VMware tools is not installed on this VM.


           10/09/2014 15:06:51 Update status: Done VMware tools reconfiguration

           10/09/2014 15:06:51 Update status: Error while running installation tests

           10/09/2014 15:06:51 Failure: updatecli exiting abnormally

           10/09/2014 15:06:51 Install Finished


      Version - 2.8.0.3 MyCompany Appliance (2.8)



      Description - MyCompany Appliance update



           and sometimes the log contains "Failed with exit code 3328". as below from a different system.

            

           10/09/2014 11:42:38 Starting Install

           10/09/2014 11:42:38 Update status: Starting Install

           10/09/2014 11:42:38 Update status: Running pre-install scripts

           10/09/2014 11:42:38 Running /opt/vmware/var/lib/vami/update/data/job/10/pre_install '2.8.0.47' '2.8.0.63'


      Installing update from version 2.8.0.47 to version 2.8.0.63


           10/09/2014 11:42:38 Update status: Done pre-install scripts

           10/09/2014 11:42:38 Update status: Running installation tests

           10/09/2014 11:42:38 Running /opt/vmware/var/lib/vami/update/data/job/10/test_command 


      warning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/kernel-2.6.32-431.23.3.el6.i686.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY



      Preparing packages for installation...



      package kernel-2.6.32-431.23.3.el6.i686 is already installed


           10/09/2014 11:42:40 Failed with exit code 3328

           10/09/2014 11:42:40 Update status: Running post-install scripts

           10/09/2014 11:42:40 Running /opt/vmware/var/lib/vami/update/data/job/10/post_install '2.8.0.47' '2.8.0.63' 2


      Failed with status of 2 while installing version 2.8.0.63



      VM version is still 2.8.0.47



      POSTUPGRADE: Begin postupgrade.sh



      POSTUPGRADE: running update_cfg_files.sh


           10/09/2014 11:42:53 Update status: Done post-install scripts

           10/09/2014 11:42:53 Update status: Running VMware tools reconfiguration

           10/09/2014 11:42:53 Running /opt/vmware/share/vami/vami_reconfigure_tools


      VMware tools is not installed on this VM.


           10/09/2014 11:42:53 Update status: Done VMware tools reconfiguration

           10/09/2014 11:42:53 Update status: Error while running installation tests

           10/09/2014 11:42:53 Failure: updatecli exiting abnormally

           10/09/2014 11:42:53 Install Finished


      Version - 2.8.0.47 MyCompany Appliance (main)



      Description - MyCompany Appliance update


        • 1. Re: vamicli update Failed with exit code 5376
          paulhbeckerj Novice

          We have a kernel update RPM in our "Application Package Repositories" and it seems that occasionally the older previous, unused but installed kernel is detected and when the update runs, it tries to install the new kernel which is already installed. And then we get the failure. To get around the issue, we uninstall the older unused kernel (rpm -e kernel-oldversion) and then the upgrades proceeded without issue.