c4 update cluster now checks the update target before copying any packages to the nodes.

Details

Detail name Value
Changelog Number 22081
Type Bug
Status Resolved
Affected Versions Exasol 8.0.0, C4 4.19.4, c4 4.29.9
Fix Versions C4 4.32.0, C4 4.29.10, C4 4.28.10, Exasol 2025.1.17
Resolution Date 2026-09-07

Description

When c4 update cluster ran through a host deployment, or through any update with --from-file, c4 did not check the update target first. It copied the Exasol package to all data nodes and extracted it there before the target was checked. A wrong target therefore failed only late in the update, after the whole package had been sent to every node. This happened when:

  • the archive given with --from-file did not contain the target release, for example a renamed archive:
  • the target version was not released, so the downloaded package was not a valid archive:
  • the target was given without the @ prefix, for example -t exasol-8.31.0.
ERROR: Unknown update target: @exasol-8.29.11
gzip: invalid header
tar: This does not look like a tar archive

Workaround

Before running the update:

  • make sure the target version exists;
  • give the target with the @ prefix, for example -t @exasol-8.31.0;
  • if you use --from-file, make sure the archive is the release named in -t.

Fix

Before copying anything to the nodes, c4 now checks the update target on the machine where the update is started:

  • With --from-file: c4 compares the target with the release contained in the archive. It stops with an error if they don't match, or if the @ prefix is missing.
  • Without --from-file: c4 checks that the downloaded package is a valid archive. If it isn't, c4 deletes the file and stops with an error.

Updates on AWS deployments that do not use --from-file are not affected by this change.