Bug 1576375

Summary: jboss-fuse-6/fis-java-openshift image permissions error
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: David Caldwell <dcaldwel>
Component: unspecifiedAssignee: Nobody <nobody>
Status: NEW --- QA Contact: Len DiMaggio <ldimaggi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: aos-bugs, soa-p-jira
Target Milestone: ---Flags: dcaldwel: needinfo? (kconner)
dcaldwel: needinfo? (kconner)
dcaldwel: needinfo? (kconner)
dcaldwel: needinfo? (kconner)
dcaldwel: needinfo? (kconner)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Caldwell 2018-05-09 10:11:10 UTC
Description of problem:
The jboss-fuse-6/fis-java-openshift image available from our container catalogue[1] gives the following error when it is run:

<quote>
Starting the Java application using /opt/run-java/run-java.sh ...
/opt/run-java/run-java.sh: line 44: cd: /home/jboss: Permission denied
</quote>

I get this error in my 3.7 test cluster using fis-java-openshift:latest, :2.0-15 and :2.0-13. A customer has reported the same error using OCP3.6 and jboss-fuse-6/fis-java-openshift:2.0-17.

[1]https://access.redhat.com/containers/#/search/fis-java-openshift%253A2.0-17

Version-Release number of selected component (if applicable):
2.0-17
2.0-15
2.0-13
(possibly others but I have only tested these versions with same results)

How reproducible:
Use oc new-app to deploy a fis-java-openshift image. Check status and logs.

Steps to Reproduce:
1.  oc new-app fis-java-openshift:latest 
or: oc new-app fis-java-openshift:2.0-15 
or: oc new-app fis-java-openshift:2.0-13


Actual results:
When the container has been created, it will have status error and/or CrashLoopBackOff and never becomes ready.

On checking logs we see:
# oc logs fis-java-openshift-1-nzmbg 
Starting the Java application using /opt/run-java/run-java.sh ...
/opt/run-java/run-java.sh: line 44: cd: /home/jboss: Permission denied

Expected results:
That the container runs and becomes ready.

Additional info:
Is there something additional that this container needs in order to run successfully?

Comment 1 David Caldwell 2018-05-11 06:56:36 UTC
Some additional information. OpenShift master is running:

openshift v3.5.5.31.48
kubernetes v1.5.2+43a9be4