Skip to content

Authentication issues with new postgres (on CC7 kubernetes CI)

When launching a basic test on my dev machine using postgres default pod for CC7 kubernetes containers in CI, I am now getting an authentication error:

./run_systemtest.sh -e eos5-config-quarkdb-https.yaml -d internal_postgres.yaml -s tests/prepare_tests.sh -n toto -k
...
Configuring database:
Configuring postgres database
Wiping database
Aborting: create failed: PostgresConn connection failed: SCRAM authentication requires libpq version 10 or above

Database connection failed, pausing before a retry
Aborting: create failed: PostgresConn connection failed: SCRAM authentication requires libpq version 10 or above

ERROR: Could not wipe database. cta-catalogue-schema-drop /etc/cta/cta-catalogue.conf FAILED
ERROR: init pod in ErERROR: init pod in Error state. Initialization failed.
84
FAILURE: cleaning up environment

Looks like this was caused by 1f9441c9

Postgres docker image was bumped from 9.6 to 14.10 for CC7 and Alma9 environment but it looks like CC7 should have stayed with older version only.