otomi-core icon indicating copy to clipboard operation
otomi-core copied to clipboard

Otomi-Install fails in stage "job-keykloak" with "File base/16385/PG_VERSION does not contain valid data."

Open Linutux opened this issue 1 year ago • 0 comments

Describe the bug: The install fails during the job "job-keykloak". I'm getting the following error massages in the pod keykloak-0:

2024-01-08 02:06:59,984 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (production) mode
2024-01-08 02:06:59,984 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to obtain JDBC connection
2024-01-08 02:06:59,984 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: FATAL: "base/16385" is not a valid data directory
  Detail: File "base/16385/PG_VERSION" does not contain valid data.
  Hint: You might need to initdb.
2024-01-08 02:06:59,985 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) For more details run the same command passing the '--verbose' option. Also you can use '--help' to see the details about the usage of the particular command

To Reproduce Steps to reproduce the behavior:

  • Use Kubernetes K3S- v1.27.1 on provider Civo with Nodepool: 4x Large - Standard (each 4 CPU, 8 GB RAM, 60 GB HDD)
  • Install via helm install otomi otomi/otomi \
    --set cluster.name=mycluster
    --set cluster.provider=civo

Expected behavior:

  • Installation successful

Cluster(s):

  • Cloud: Civo
  • Cluster-Name: mycluster

Versions: (seen in console's /settings)

  • Kubernetes Version: K3S 1.27.1
  • Otomi version: 2.2.0

Linutux avatar Jan 08 '24 02:01 Linutux