c4: License package "license:v8-byol" is cleaned up after an update
Details
| Detail name | Value |
|---|---|
| Changelog Number | 20984 |
| Type | Bug |
| Status | Resolved |
| Affected Versions | Exasol 8.28.0 |
| Fix Versions | Exasol 8.28.4 |
| Resolution Date | 2024-06-25 |
Description
When database is updated to version 8.28.0 or newer, then system will not start after further subsequent c4 services restarts.
In c4 ps output nodes will stay in stage b1.
The command
sudo journalctl -u c4_cloud_command
will be containing error
Failed to run ('c4', 'fetch', '@license:v8-byol')
The problem applies only to On-Prem installations and AWS installations without internet access or access to AWS metadata service.
Workaround
Execute the following commands on every node:
mkdir -p ~/.ccc/x/u/branchr/v8-byol-20230601
touch ~/.ccc/x/u/branchr/v8-byol-20230601/.exasol-build.json
touch ~/.ccc/x/u/branchr/v8-byol-20230601/.synced
echo '{"Alias":"branchr-v8-byol-20230601","BuildID":"99273163-b563-408f-8bba-e81d96946a74","UUID":"343bb4e7-0735-448c-83d1-b240ca3d4e1d","Arch":"linux-amd64","Compile-Type":"release","Date-Epoch":1685641991,"Date":"Thu, 01 Jun 2023 19:53:11 CEST","Environment":"standard","Last-Revision":"e54f9c1745320e2951d10dd3c36f1abd7670fcd7","Local-Linkdir":"/x/u/branchr/v8-byol-20230601","Prefix":"release","Provides":["saas "],"Server-Port":13004,"Server":"ws64-2.dev.exasol.com","Target-System":"linux-x86_64-fedora-28","User":"branchr"}' > ~/.ccc/x/u/branchr/v8-byol-20230601.json
echo "branchr-v8-byol-20230601" > ~/.ccc/x/.registry/tag/license:v8-byol
and then restart:
sudo systemctl restart c4_cloud_command --no-block
Fix
c4 no longer cleans up the Exasol license package during an update.