Red Hat Single Sign-On (RH SSO) in OpenShift Container Platform (OCP) is failing to the deploy with the following message in the 'postgresql' pod: '/var/lib/pgsql/data/userdata': Permission denied

Solution Verified - Updated -

Issue

RH SSO installs successfully but fails to provision postgresql and sso resources. When examining the logs for the postgresql pod, I get:

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

Environment

  • Red Hat Single Sign-On (RH SSO)
    • 7.X
  • Red Hat OpenShift Container Platform (OCP)
    • 3.11
    • 4.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content