Bug 1324758 - Pod keeps restarting when build with sample-test-app inside sti-perl repo on OSE 3.1/docker1.8 with perl-516-rhel7
Summary: Pod keeps restarting when build with sample-test-app inside sti-perl repo on ...
Keywords:
Status: CLOSED DUPLICATE of bug 1324574
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-04-07 08:33 UTC by Wenjing Zheng
Modified: 2016-04-07 13:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-07 13:31:13 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Wenjing Zheng 2016-04-07 08:33:41 UTC
Description of problem:
Pod in CrashLoopBackOff state and keeps restarting when build with 5.16/test/sample-test-app/ inside sti-perl repo with image perl-516-rhel7 on OSE 3.1; it works with perl-520-rhel7 on OSE 3.1 and perl-516-rhel7 on OSE 3.2 with docker 1.9
$ oc get pods
NAME               READY     STATUS             RESTARTS   AGE
sti-perl-1-63xac   0/1       CrashLoopBackOff   7          8m
sti-perl-1-build   0/1       Completed          0          10m
$oc describe pods sti-perl-1-63xac
1m        1m        1    {kubelet openshift-121.lab.sjc.redhat.com}    spec.containers{sti-perl}        Created        Created with docker id ab30bb255fd6
  1m        1m        1    {kubelet openshift-121.lab.sjc.redhat.com}    spec.containers{sti-perl}        Started        Started with docker id ab30bb255fd6
  7m        7s        41    {kubelet openshift-121.lab.sjc.redhat.com}    spec.containers{sti-perl}        Backoff        Back-off restarting failed docker container

Version-Release number of selected component (if applicable):
brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/perl-516-rhel7 a09957ad6911
OSE version:
openshift v3.1.1.6-33-g81eabcc
kubernetes v1.1.0-origin-1107-g4c8e6f4
etcd 2.1.2
docker 1.8.2-el7

How reproducible:
always

Steps to Reproduce:
1. Create a new project
2. Create app with APP_CONFIG defined
$ oc new-app perl:5.16~https://github.com/openshift/sti-perl.git --context-dir=5.16/test/sample-test-app/ --env=PERL_APACHE2_RELOAD=true
3. Check build status
4. Check pod status

Actual results:
$ oc get pods
NAME               READY     STATUS             RESTARTS   AGE
sti-perl-1-63xac   0/1       CrashLoopBackOff   7          8m
sti-perl-1-build   0/1       Completed          0          10m

Expected results:
Pod should be running

Additional info:

Comment 1 Wenjing Zheng 2016-04-07 08:37:16 UTC
And also cannot see pod log for such error:
$ oc logs sti-perl-1-63xac
Error from server: Internal error occurred: Pod "sti-perl-1-63xac" in namespace "wzheng3": container "sti-perl" is in waiting state.

And no container found via docker ps -a | grep sti-perl-1-63xac

Comment 2 Ben Parees 2016-04-07 13:31:13 UTC

*** This bug has been marked as a duplicate of bug 1324574 ***


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