App creation fails due to permission error with ssh-keygen on OpenShift Enterprise.

Solution Unverified - Updated -

Issue

  • When an application is created, an error is raised
    • In the production.log, the following is seen:
    Shell command '/sbin/runuser -s /bin/sh 52cd61bbbf2db2588f000025 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c1000' /bin/sh -c \"/usr/bin/ssh-keygen -N '' -f /var/lib/openshift/52cd61bbbf2db2588f000025/.openshift_ssh/id_rsa\""' returned an error. rc=1Command return code: 1
Unable to complete the requested operation due to: An invalid exit code (1) was returned from the server node1.domain.com. This indicates an unexpected problem during the execution of your request.. Reference ID: c080b34f69a64073efb32f465a29f258

Environment

  • Red Hat OpenShift Enterprise 2.0

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.