"c4 host play" command no longer requires remote S3 credentials when deploying AdminUI

Details

Detail name Value
Changelog Number 23262
Type Bug
Status Open
Affected Versions Exasol 8.29.0, C4 4.19.4

Description

c4 host play command tried to use remote s3 repo when deploying AdminUI so one might receive an error like

$ ./c4 host play -i config
Error: src/cmd/commands/cloud.go:700: can't serve AdminUI, in x.InitRemoteRepo: in x.(*S3Client).init: in aws.NewConfigFromConfig: credentials file does not exist: /home/ubuntu/.aws/credentials

The error occurs because c4 checked the target working copy to “Provide” admin-ui among its dependencies. This check is always done with remote s3 repo, which will not always work in the case of as app (you might not even have internet connection in some cases to do that)

Workaround

Set CCC_PLAY_VALIDATE=false in the config file

Fix

Make c4 host play not require remote S3 creds.

Fix how AdminUI package resolution and service startup work so deployments no longer depend on the remote S3 repository during setup/update.