Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postgresql POD cannot start in Openshift 4.12 #187

Open
1 of 3 tasks
lucadentella opened this issue Sep 21, 2023 · 0 comments
Open
1 of 3 tasks

Postgresql POD cannot start in Openshift 4.12 #187

lucadentella opened this issue Sep 21, 2023 · 0 comments
Labels

Comments

@lucadentella
Copy link

Summary

Postgresql POD cannot start in Openshift 4.12

Steps to Reproduce

  1. Follow the instruction in the readme to Install on OCP
  2. Wait for the PODs
  3. Get the logs from the Postgresql POD (oc logs...)
  4. See the error

Expected Results

PODs should be in Running state

Actual Results

Postgresql POD crashes:

mkdir: cannot create directory '/var/lib/pgsql/data/userdata': Permission denied

Reproducible

  • Always
  • Sometimes
  • Non-Reproducible

Version/Tag number

2.0.7

Environment setup

Openshift 4.12 on VMware

Additional Information

I was able to solve the issue by adding

fsGroup: 26

to the statefulset ad explained in this KB by Redhat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant