central-db pod fails to initialize with "could not change permissions of /var/lib/postgresql/data/pgdata/postgresql.conf"
Issue
When installing operator ACS the central-db pod does not goes up.
pod/central-db-69b9bd7b67-s57h9 0/1 Init:CrashLoopBackOff 6 (82s ago) 7m19s
$ oc logs central-87fcfcc97-sps2v -n stackrox
No certificates found in /usr/local/share/ca-certificates
'/etc/pki/injected-ca-trust/tls-ca-bundle.pem' -> '/etc/pki/ca-trust/source/anchors/tls-ca-bundle.pem'
move-to-current: 2024/02/13 13:28:43.291438 logger.go:61: Info: Move databases to current
Migrator: 2024/02/13 13:28:43.412421 log.go:18: Info: Run migrator.run() with version: 4.3.4, DB sequence: 194
Migrator: 2024/02/13 13:28:43.412876 log.go:18: Info: conf.Maintenance.ForceRollbackVersion: none
Migrator: 2024/02/13 13:28:43.413870 log.go:18: Info: checking if the database "central_active" exists
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.X
- Azure Red Hat OpenShift (ARO)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.