Description of problem: When creating an app using the template jws31-tomcat8-https-s2i, pods fail to start. The event log shows the following error: 19m 19m 1 jws-app-1-fcqvv.153955a97e7c2665 Pod Warning FailedMount kubelet, ip-172-31-49-226.ec2.internal Unable to mount volumes for pod "jws-app-1-fcqvv_dakinitest-jws31-tomcat8-https-s2i-20180618(b44ed788-7326-11e8-9546-0aa08eeabc12)": timeout expired waiting for volumes to attach/mount for pod "dakinitest-jws31-tomcat8-https-s2i-20180618"/"jws-app-1-fcqvv". list of unattached/unmounted volumes=[jws-certificate-volume default-token-tzfhc] Version-Release number of selected component (if applicable): oc v3.10.0-0.66.0 and oc v3.9.14 How reproducible: Always. Steps to Reproduce: 1. oc new-app jws31-tomcat8-https-s2i 2. oc get pods 3. oc get events Actual results: Pods never deploy. [root@online-int-master-05114 ~]# oc get pods -n dakinitest-jws31-tomcat8-https-s2i-20180618 NAME READY STATUS RESTARTS AGE jws-app-1-build 0/1 Completed 0 36m jws-app-1-deploy 0/1 Error 0 35m [root@online-int-master-05114 ~]# oc get events -n dakinitest-jws31-tomcat8-https-s2i-20180618 <snip> 26m 33m 4 jws-app-1-fcqvv.1539552b75aa5cf0 Pod Warning FailedMount kubelet, ip-172-31-49-226.ec2.internal Unable to mount volumes for pod "jws-app-1-fcqvv_dakinitest-jws31-tomcat8-https-s2i-20180618(b44ed788-7326-11e8-9546-0aa08eeabc12)": timeout expired waiting for volumes to attach/mount for pod "dakinitest-jws31-tomcat8-https-s2i-20180618"/"jws-app-1-fcqvv". list of unattached/unmounted volumes=[jws-certificate-volume] 24m 24m 1 jws-app-1-fcqvv.153955a97e7c2665 Pod Warning FailedMount kubelet, ip-172-31-49-226.ec2.internal Unable to mount volumes for pod "jws-app-1-fcqvv_dakinitest-jws31-tomcat8-https-s2i-20180618(b44ed788-7326-11e8-9546-0aa08eeabc12)": timeout expired waiting for volumes to attach/mount for pod "dakinitest-jws31-tomcat8-https-s2i-20180618"/"jws-app-1-fcqvv". list of unattached/unmounted volumes=[jws-certificate-volume default-token-tzfhc] Expected results: Pod should enter 'Running' state. Additional info:
The above mentioned commands work for me on online-int. One important thing is that the template requires "jws-app-secret". It can be created with: oc create -f https://raw.githubusercontent.com/jboss-openshift/application-templates/master/secrets/jws-app-secret.json