#169 [ocp] psql volume prolem
Closed: Insufficient Data 3 years ago by arrfab. Opened 3 years ago by lrossett.

Hello,

I am trying to deploy PSQL in openshift [1] which is using an existing PersistentVolume but the pod itself is getting a permission error:

initdb: could not access directory "/var/lib/postgresql/data": Permission denied

Openshift documentation claims that it is an external volume permission issue: https://access.redhat.com/solutions/3508731

Could someone please take a look at it?

[1] - https://console-openshift-console.apps.ocp.centos.org/k8s/ns/mbox/pods/postgres-6fbcc868c4-d5ldz/logs


I also tried to create a new PV but I got the same error.

Can you double-check to see if we got the permissions fixed this time?

Metadata Update from @bstinson:
- Issue priority set to: Waiting on Reporter (was: Needs Review)

3 years ago

Metadata Update from @arrfab:
- Issue assigned to bstinson
- Issue tagged with: centos-common-infra, medium-gain, medium-trouble

3 years ago

Bug triage : no feedback so closing

Metadata Update from @arrfab:
- Issue close_status updated to: Insufficient Data
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata
Boards 1