c4: Fixed "c4 fetch" trying to refetch the seed package

Details

Detail name Value
Changelog Number 20844
Type Bug
Status Resolved
Affected Versions Exasol 8.28.0
Fix Versions Exasol 8.28.2
Resolution Date 2024-06-03

Description

An attempt to update database not residing in AWS premises to version 8.28.0 was failing with an AWS-related error like

Error: src/cmd/commands/fetch.go:147: in fetch.(*Client).fetchMap: in x.(*PackagesRepository).Connect: in x.(*S3Client).Connect: operation error S3: HeadBucket, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, exceeded maximum number of attempts, 3, request send failed, Get "http://169.254.169.254/latest/meta-data/iam/security-credentials/": dial tcp 169.254.169.254:80: connect: network is unreachable
ERROR: cannot fetch branchr-saas-9d0cc314-64r

or

Error: src/cmd/commands/fetch.go:147: in fetch.(*Client).fetchMap: in x.(*PackagesRepository).Connect: in x.(*S3Client).Connect: operation error S3: HeadBucket, get identity: get credentials: failed to refresh cached credentials, no EC2 IMDS role found, operation error ec2imds: GetMetadata, request canceled, context deadline exceeded
ERROR: cannot fetch branchr-saas-9d0cc314-64r

Workaround

There is no workaround.

Fix

Database update process doesn’t fail in this situation.