Created attachment 1247144 [details]
Description of problem:
I was looking at the cfme pod Container Statuses Summary and there is no indication the pod has previously been terminated but when I run oc describe on the pod there is a previous termination reported.
I suspect that the reason we do not see the info is because this pod has been terminated before the provider has been added but cfme pod has to be running before we can add the provider.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. deploy cfme pod -> re-schedule/re-deploy the pod -> add the openshift as a container provider in the pod
2. login to webadmin -> navigate to pods -> select pod
3. on the openshift provider run 'oc describe <pod>
4. look at the table named "Container Statuses Summary"
in openshift we can see the pod has been previously terminated but in cfme the pod is reported with 0 termination
we should see the same info.
Additional info: screen shot attached
NAME READY STATUS RESTARTS AGE
cloudforms-1-2xdsx 1/1 Running 4 6d
memcached-1-yfu12 1/1 Running 0 6d
postgresql-1-0ckis 1/1 Running 0 6d
[root@dafna-openshift-master01 ~]# oc describe pods cloudforms-1-2xdsx
Security Policy: privileged
Start Time: Fri, 27 Jan 2017 14:06:50 +0200
Container ID: docker://64f1da7f1a4385669a3fb9b5b33f8901fbef8e693f954766306775b381818d7f
Image ID: docker-pullable://brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/cloudforms/cfme-openshift-app@sha256:693b7a3cb4dba5b54b8b3369e9f3c7b6ae398067bb2e0c4c2a0e4e8fdb9e91e9
Ports: 80/TCP, 443/TCP
Started: Mon, 30 Jan 2017 19:07:36 +0200
Last State: Terminated
Exit Code: 137
Started: Mon, 30 Jan 2017 17:51:33 +0200
Finished: Mon, 30 Jan 2017 19:07:34 +0200
Restart Count: 4
Liveness: http-get http://:80/ delay=480s timeout=3s period=10s #success=1 #failure=3
Readiness: http-get http://:80/ delay=200s timeout=3s period=10s #success=1 #failure=3
/persistent from cfme-app-volume (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-sc3e4 (ro)
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
Type: Secret (a volume populated by a Secret)
QoS Class: Burstable
(In reply to Dafna Ron from comment #0)
> Created attachment 1247144 [details]
> Description of problem:
> I was looking at the cfme pod Container Statuses Summary and there is no
> indication the pod has previously been terminated but when I run oc describe
> on the pod there is a previous termination reported.
> I suspect that the reason we do not see the info is because this pod has
> been terminated before the provider has been added but cfme pod has to be
> running before we can add the provider.
The Container Statuses Summary shows the number of Containers currently Waiting, Running and Terminated.
As you reported there is 1 Container Running and the screenshot is reporting 1 Container Running.
Closing as NOTABUG.