-
Bug
-
Resolution: Done
-
Blocker
-
Pipelines 1.20.0
-
False
-
-
False
-
Approved
Description of problem:
While performing upgrade from 1.19.3 to 1.20, facing CrashLoopBackOff with tekton-hub-db-f8dcf8579-z72x4 because of the postgres version bump
$ oc describe po tekton-hub-db-f8dcf8579-z72x4 -n openshift-pipelines | awk '/^Events:/,/^$/' Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 28m default-scheduler Successfully assigned openshift-pipelines/tekton-hub-db-f8dcf8579-z72x4 to test1-mhc78-worker-0-5cwlt Normal AddedInterface 28m multus Add eth0 [10.128.2.48/23] from ovn-kubernetes Normal Pulling 28m kubelet Pulling image "registry.redhat.io/rhel9/postgresql-16@sha256:1dbb6d28b453f8f1b5bc52f4b3281c3d5c40500ad0a2f12a5b154e1774166b55" Normal Pulled 28m kubelet Successfully pulled image "registry.redhat.io/rhel9/postgresql-16@sha256:1dbb6d28b453f8f1b5bc52f4b3281c3d5c40500ad0a2f12a5b154e1774166b55" in 8.536s (8.536s including waiting) Normal Started 27m (x4 over 28m) kubelet Started container tekton-hub-db Normal Created 26m (x5 over 28m) kubelet Created container tekton-hub-db Normal Pulled 26m (x4 over 28m) kubelet Container image "registry.redhat.io/rhel9/postgresql-16@sha256:1dbb6d28b453f8f1b5bc52f4b3281c3d5c40500ad0a2f12a5b154e1774166b55" already present on machine Warning BackOff 3m16s (x125 over 28m) kubelet Back-off restarting failed container tekton-hub-db in pod tekton-hub-db-f8dcf8579-z72x4_openshift-pipelines(7d6f8be8-0b56-42c6-ab96-f2b965426635) etting Incompatible data directory error in logs
$ oc logs -f tekton-hub-db-f8dcf8579-z72x4 -n openshift-pipelines Incompatible data directory. This container image provides PostgreSQL '16', but data directory is of version '13'. This image supports automatic data directory upgrade from '15', please _carefully_ consult image documentation about how to use the '$POSTGRESQL_UPGRADE' startup option.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
# <steps>
Actual results:
Expected results:
Reproducibility (Always/Intermittent/Only Once):
Acceptance criteria:
Definition of Done:
Build Details:
Additional info (Such as Logs, Screenshots, etc):
*
- relates to
-
SRVKP-8141 [TRACKER] [release testing] Bug verification
-
- Closed
-