When attempting to upgrade AAI there is a message that the upgrade failed.
The upgrade.log shows the following message towards the end of the file:
[main] ERROR com.termalabs.upgrade.main.UpgradeCli - 10/19/2022 14:59:40.469 - Automic Automation Intelligence upgrade has terminated prematurely. For details, please look at the log files in the install/log directory.
D:\AAI_Upgrade_6_4_3\install\build.xml:335: Problem creating TAR: request to write '0' bytes exceeds size in header of '-1647246098' bytes
at org.apache.tools.ant.taskdefs.Tar.execute(Tar.java:290)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at com.termalabs.upgrade.main.UpgradeCli.main(UpgradeCli.java:219)
Caused by: java.io.IOException: request to write '0' bytes exceeds size in header of '-1647246098' bytes
at org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:238)
at org.apache.tools.ant.taskdefs.Tar.tarFile(Tar.java:392)
at org.apache.tools.ant.taskdefs.Tar.execute(Tar.java:285)
... 6 more
--- Nested Exception ---
java.io.IOException: request to write '0' bytes exceeds size in header of '-1647246098' bytes
at org.apache.tools.tar.TarOutputStream.write(TarOutputStream.java:238)
at org.apache.tools.ant.taskdefs.Tar.tarFile(Tar.java:392)
at org.apache.tools.ant.taskdefs.Tar.execute(Tar.java:285)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at com.termalabs.upgrade.main.UpgradeCli.main(UpgradeCli.java:219)
52882 [main] INFO com.termalabs.upgrade.main.UpgradeParameters - upgrade properties file is D:\AAI_Upgrade_6_4_3\install\properties\upgrade.properties
Release : 6.4.2
We found the tar file in the Upgrade Directory\Install folder had some large files in the jboss directory that failed to be unzipped properly.
When looking at the jboss directory within the AAI installation directory, we found several very large dmp files.
After deleting those files and running the upgrade again, the upgrade was successful.