Build with custom extensions fails in Openshift 3.6

Solution In Progress - Updated -

Issue

  • Openshift build using custom extensions fails because of directory permissions.
  • Openshift build fails when using CUSTOM_INSTALL_DIRECTORIES environment variable to supply custom extensions.
  • With OpenShift 3.6 EAP s2i build process fails to properly copy modules from client image to EAP modules directory. This is probably caused by user rights change during copy process from client image to /tmp/src directory.

ocp 3.5:

> ls -la /tmp/src/extensions/extras
total 4
drwxr-xr-x. 3 185 root  39 Aug  7 14:11 .                                                                                                                                                            
drwxr-xr-x. 3 185 root  20 Aug  7 14:11 ..                                                                                                                                                           
-rwxr-xr-x. 1 185 root 289 Jul 21 08:53 install.sh                                                                                                                                                   
drwxr-xr-x. 3 185 root  20 Aug  7 14:11 modules

ocp 3.6:

> ls -la /tmp/src/extensions/extras
drwxr-xr-x. 3 185 root  39 Aug  7 12:58 .                                                                                                                                                               
drwxr-xr-x. 3 185 root  20 Aug  7 12:58 ..                                                                                                                                                              
-rwxr-xr-x. 1 185 root 289 Jul 21 08:53 install.sh                                                                                                                                                      
drwx------. 3 185 root  20 Aug  7 12:58 modules

Environment

Openshift Container Platform (OCP) 3.6.0
Red Hat JBoss Enterprise Application Platform (EAP) 6, 7
Red Hat JBoss Datagrid 6.5

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