Bug 1305012 - Pod keeps restarting to CrashLoopBackOff status when use jenkins-persistent template for jenkins-1-rhel7 image
Summary: Pod keeps restarting to CrashLoopBackOff status when use jenkins-persistent t...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Ben Parees
QA Contact: Wang Haoran
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-05 10:29 UTC by Wenjing Zheng
Modified: 2016-02-06 02:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-06 02:48:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.