Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1399240 - pod age is shown invalid by oc client [NEEDINFO]
pod age is shown invalid by oc client
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
3.4.0
Unspecified Unspecified
medium Severity low
: ---
: 3.6.z
Assigned To: Fabiano Franz
Vikas Laad
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-28 10:50 EST by Vikas Laad
Modified: 2017-12-07 02:10 EST (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-07 02:10:26 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
jvallejo: needinfo? (ffranz)


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3389 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Enterprise security, bug fix, and enhancement update 2017-12-07 07:09:10 EST

  None (edit)
Description Vikas Laad 2016-11-28 10:50:15 EST
Description of problem:

When the pod status is ContainerCreating sometimes pod age is shown as <invalid> please see the below

root@jump-node: ~ # oc get pods --all-namespaces -o wide
NAMESPACE                                  NAME                        READY     STATUS              RESTARTS   AGE         IP             NODE
default                                    docker-registry-3-h3r8g     1/1       Running             0          9d          10.128.9.4     10.10.0.14
default                                    registry-console-1-jrwn7    1/1       Running             0          9d          10.128.8.2     10.10.0.17
default                                    router-1-hqyvp              1/1       Running             5          9d          10.10.0.16     10.10.0.16
default                                    router-1-ybfvx              1/1       Running             1          9d          10.10.0.14     10.10.0.14
extended-test-cli-deployment-gool9-s9abj   readiness-1-deploy          1/1       Running             0          16s         10.129.229.9   10.10.2.67
extended-test-cli-deployment-gool9-s9abj   readiness-1-y831m           0/1       ContainerCreating   0          <invalid>   <none>         10.10.2.65
vlaad27                                    buildconfig0-1-build        0/1       Terminating         0          8d          10.128.245.5   10.10.1.108
vlaad3                                     deploymentconfig1-1-md8ou   0/1       Terminating         0          8d          <none>         10.10.0.170
root@jump-node: ~ # oc get pods --all-namespaces -o wide
NAMESPACE                                  NAME                        READY     STATUS              RESTARTS   AGE       IP             NODE
default                                    docker-registry-3-h3r8g     1/1       Running             0          9d        10.128.9.4     10.10.0.14
default                                    registry-console-1-jrwn7    1/1       Running             0          9d        10.128.8.2     10.10.0.17
default                                    router-1-hqyvp              1/1       Running             5          9d        10.10.0.16     10.10.0.16
default                                    router-1-ybfvx              1/1       Running             1          9d        10.10.0.14     10.10.0.14
extended-test-cli-deployment-gool9-s9abj   readiness-1-deploy          1/1       Running             0          17s       10.129.229.9   10.10.2.67
extended-test-cli-deployment-gool9-s9abj   readiness-1-y831m           0/1       ContainerCreating   0          0s        <none>         10.10.2.65
vlaad27                                    buildconfig0-1-build        0/1       Terminating         0          8d        10.128.245.5   10.10.1.108
vlaad3                                     deploymentconfig1-1-md8ou   0/1       Terminating         0          8d        <none>         10.10.0.170


Version-Release number of selected component (if applicable):
openshift v3.4.0.26+f7e109e
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0


How reproducible:
Almost always

Steps to Reproduce:
1. Create an app which creates multiple pods
2. keep running "oc get pods" quickly
3. see the age in oc get pods

Actual results:
Age shown as <invalid>

Expected results:
Age should be shown as 0s

Additional info:
Comment 1 Vikas Laad 2016-11-28 14:52:51 EST
Sometimes this error show up when pod is in Terminating status, nothing specific to ContainerCreating

root@jump-node: ~ # oc get pods --all-namespaces -o wide | grep -v default | grep -v vlaad
NAMESPACE                                  NAME                        READY     STATUS        RESTARTS   AGE         IP             NODE
extended-test-cli-deployment-fnojp-c5icl   history-limit-5-l9vkm       1/1       Terminating   0          21s         10.131.240.6   10.10.4.64
extended-test-cli-deployment-fnojp-c5icl   history-limit-6-f66kr       1/1       Running       0          2s          10.131.226.7   10.10.4.60
extended-test-cli-deployment-fnojp-c5icl   history-limit-7-deploy      0/1       Terminating   0          <invalid>   <none>         10.10.4.6
Comment 4 Juan Vallejo 2017-10-31 13:07:25 EDT
Hi Vikas,

Is this issue still happening with a 3.6 or 3.7 client?
I have been unable to reproduce this as well.
Comment 5 Vikas Laad 2017-10-31 13:24:33 EDT
No, I have not seen this issue with 3.6 or 3.7 client.
Comment 6 Juan Vallejo 2017-10-31 13:28:57 EDT
Vikas,

Thanks. Will move this to ON_QA.
I do not believe there are plans to backport this
as it was not marked as a blocker.
Comment 7 Vikas Laad 2017-11-01 14:36:52 EDT
Changing target release to 3.6 and making it verified. Did not encounter this bz with later releases.
Comment 10 errata-xmlrpc 2017-12-07 02:10:26 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:3389

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