Bug 1305012

Summary: Pod keeps restarting to CrashLoopBackOff status when use jenkins-persistent template for jenkins-1-rhel7 image
Product: OpenShift Container Platform Reporter: Wenjing Zheng <wzheng>
Component: ImageStreamsAssignee: Ben Parees <bparees>
Status: CLOSED NOTABUG QA Contact: Wang Haoran <haowang>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.1.0CC: aos-bugs, bparees, jokerman, mmccomas, wzheng
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-06 02:48:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Wenjing Zheng 2016-02-05 10:29:06 UTC
Description of problem:
Pod keeps restarting and in CrashLoopBackOff status when use jenkins-persistent template for below error:
[root@10 ~]# docker logs 73df86769f18
Detected password change, updating Jenkins configuration ...
sed: couldn't open temporary file /var/lib/jenkins/users/admin/seda8oTkk: Permission denied
/usr/libexec/s2i/run: line 49: /var/lib/jenkins/password: Permission denied
Running from: /usr/lib/jenkins/jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
Feb 05, 2016 5:07:53 AM winstone.Logger logInternal
INFO: Beginning extraction from war file

Version-Release number of selected component (if applicable):
jenkins-1-rhel7 f708901345d7

How reproducible:
Always

Steps to Reproduce:
1. Create pv in master
2. Create project
3. Create with jenkins-persistent template
4. Check pod status

Actual results:
Pod keeps restarting

Expected results:
Pod should be running

Additional info:

Comment 1 Ben Parees 2016-02-05 20:09:04 UTC
This most likely indicates a problem with the underlying PV, can you provide details about the PV you configured?

Comment 2 Wenjing Zheng 2016-02-06 02:48:01 UTC
Yes, seems env have some problem, closing this bug as not a bug. pod is running with persistent volum:
[wzheng@localhost ~]$ oc get pods
NAME              READY     STATUS    RESTARTS   AGE
jenkins-1-m0ju9   1/1       Running   0          5m