Unable to add postgresql cartridge to the application on Openshift

Solution Verified - Updated -

Issue

  • When trying to add postgresql cartridge to the application below errors are seen :
Shell command '/sbin/runuser -s /bin/sh 5466685b8b5d63835f00003a -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c1007' /bin/sh -c \"/var/lib/openshift/5466685b8b5d63835f00003a/postgresql/bin/setup --version 9.2\""' returned an error. rc=1
/opt/rh/postgresql92/ doesn't exist
dirname: missing operand

Environment

  • Openshift Enterprise

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.