Greetings.
We are trying to use the Helm Update template for a runbook to install the AWS Load Balancer Controller in our External Feed in JFrog. The original repository where the Chart is located is the following: “AWS EKS Helm Repository | eks-charts” and the image is “eks/aws-load-balancer-controller”. The image is downloaded correctly but after that, it appears this error at the execution:
SharpCompress.Compressors.Deflate.ZlibException: Bad GZIP header.
July 13th 2022 12:57:22Error
at SharpCompress.Common.GZip.GZipFilePart.ReadAndValidateGzipHeader(Stream stream)
July 13th 2022 12:57:22Error
at SharpCompress.Common.GZip.GZipFilePart..ctor(Stream stream, ArchiveEncoding archiveEncoding)
July 13th 2022 12:57:22Error
at SharpCompress.Common.GZip.GZipEntry.GetEntries(Stream stream, OptionsBase options)+MoveNext()
July 13th 2022 12:57:22Error
at SharpCompress.Readers.AbstractReader`2.LoadStreamForReading(Stream stream)
July 13th 2022 12:57:22Error
at SharpCompress.Readers.AbstractReader`2.MoveToNextEntry()
July 13th 2022 12:57:22Error
at Calamari.Common.Features.Packages.TarGzipPackageExtractor.GetCompressionStream(Stream stream) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Common\Features\Packages\TarGzipPackageExtractor.cs:line 19
July 13th 2022 12:57:22Error
at Calamari.Common.Features.Packages.TarPackageExtractor.Extract(String packageFile, String directory) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Common\Features\Packages\TarPackageExtractor.cs:line 31
July 13th 2022 12:57:22Error
at Calamari.Common.Features.Packages.CombinedPackageExtractor.Extract(String packageFile, String directory) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Common\Features\Packages\CombinedPackageExtractor.cs:line 39
July 13th 2022 12:57:22Error
at Calamari.Common.Features.Packages.ExtractPackage.Extract(PathToPackage pathToPackage, String targetPath, String extractedToPathOutputVariableName, IPackageExtractor customPackageExtractor) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Common\Features\Packages\ExtractPackage.cs:line 66
July 13th 2022 12:57:22Error
at Calamari.Common.Features.Packages.ExtractPackage.ExtractToStagingDirectory(PathToPackage pathToPackage, IPackageExtractor customPackageExtractor) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Common\Features\Packages\ExtractPackage.cs:line 31
July 13th 2022 12:57:22Error
at Calamari.Kubernetes.Commands.HelmUpgradeCommand.<Execute>b__10_0(RunningDeployment d) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari\Kubernetes\Commands\HelmUpgradeCommand.cs:line 71
July 13th 2022 12:57:22Error
at Calamari.Commands.DelegateInstallConvention.Install(RunningDeployment deployment) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Shared\Commands\DelegateInstallConvention.cs:line 18
July 13th 2022 12:57:22Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions() in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Shared\Deployment\ConventionProcessor.cs:line 75
July 13th 2022 12:57:22Error
at Calamari.Deployment.ConventionProcessor.RunConventions() in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Shared\Deployment\ConventionProcessor.cs:line 32
July 13th 2022 12:57:22Error
Running rollback conventions...
July 13th 2022 12:57:22Error
Bad GZIP header.
July 13th 2022 12:57:22Error
SharpCompress.Compressors.Deflate.ZlibException
July 13th 2022 12:57:22Error
at SharpCompress.Common.GZip.GZipFilePart.ReadAndValidateGzipHeader(Stream stream)
July 13th 2022 12:57:22Error
at SharpCompress.Common.GZip.GZipFilePart..ctor(Stream stream, ArchiveEncoding archiveEncoding)
July 13th 2022 12:57:22Error
at SharpCompress.Common.GZip.GZipEntry.GetEntries(Stream stream, OptionsBase options)+MoveNext()
July 13th 2022 12:57:22Error
at SharpCompress.Readers.AbstractReader`2.LoadStreamForReading(Stream stream)
July 13th 2022 12:57:22Error
at SharpCompress.Readers.AbstractReader`2.MoveToNextEntry()
July 13th 2022 12:57:22Error
at Calamari.Common.Features.Packages.TarGzipPackageExtractor.GetCompressionStream(Stream stream) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Common\Features\Packages\TarGzipPackageExtractor.cs:line 19
July 13th 2022 12:57:22Error
at Calamari.Common.Features.Packages.TarPackageExtractor.Extract(String packageFile, String directory) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Common\Features\Packages\TarPackageExtractor.cs:line 31
July 13th 2022 12:57:22Error
at Calamari.Common.Features.Packages.CombinedPackageExtractor.Extract(String packageFile, String directory) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Common\Features\Packages\CombinedPackageExtractor.cs:line 39
July 13th 2022 12:57:22Error
at Calamari.Common.Features.Packages.ExtractPackage.Extract(PathToPackage pathToPackage, String targetPath, String extractedToPathOutputVariableName, IPackageExtractor customPackageExtractor) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Common\Features\Packages\ExtractPackage.cs:line 66
July 13th 2022 12:57:22Error
at Calamari.Common.Features.Packages.ExtractPackage.ExtractToStagingDirectory(PathToPackage pathToPackage, IPackageExtractor customPackageExtractor) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Common\Features\Packages\ExtractPackage.cs:line 31
July 13th 2022 12:57:22Error
at Calamari.Kubernetes.Commands.HelmUpgradeCommand.<Execute>b__10_0(RunningDeployment d) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari\Kubernetes\Commands\HelmUpgradeCommand.cs:line 71
July 13th 2022 12:57:22Error
at Calamari.Commands.DelegateInstallConvention.Install(RunningDeployment deployment) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Shared\Commands\DelegateInstallConvention.cs:line 18
July 13th 2022 12:57:22Error
at Calamari.Deployment.ConventionProcessor.RunInstallConventions() in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Shared\Deployment\ConventionProcessor.cs:line 75
July 13th 2022 12:57:22Error
at Calamari.Deployment.ConventionProcessor.RunConventions() in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Shared\Deployment\ConventionProcessor.cs:line 32
July 13th 2022 12:57:22Error
at Calamari.Kubernetes.Commands.HelmUpgradeCommand.Execute(String[] commandLineArguments) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari\Kubernetes\Commands\HelmUpgradeCommand.cs:line 88
July 13th 2022 12:57:22Error
at Calamari.Program.ResolveAndExecuteCommand(IContainer container, CommonOptions options) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari\Program.cs:line 49
July 13th 2022 12:57:22Error
at Calamari.Common.CalamariFlavourProgram.Run(String[] args) in C:\BuildAgent\work\e0cefbed4ad11812\source\Calamari.Common\CalamariFlavourProgram.cs:line 78
July 13th 2022 12:57:22Fatal
The remote script failed with exit code 100
July 13th 2022 12:57:22Fatal
The action Install AWS Load Balancer Controller on RD-DevOps-EKS-Cluster-Prd failed
and if I look at the package in the Tentacle where it runs, the file is in ASCI text format instead of gzip. Is there a way that we can use this template and get the file in the correct format?