Bug 1718425 - pod age is shown as <invalid> by oc client
Summary: pod age is shown as <invalid> by oc client
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.6.z
Assignee: Maciej Szulik
QA Contact: Xingxing Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-07 18:07 UTC by Caden Marchese
Modified: 2023-09-14 05:29 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1399240
Environment:
Last Closed: 2019-11-20 18:48:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Caden Marchese 2019-06-07 18:07:05 UTC
+++ This bug was initially created as a clone of Bug #1399240 +++

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:

--- Additional comment from Vikas Laad on 2016-11-28 19:52:51 UTC ---

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

--- Additional comment from Juan Vallejo on 2017-10-31 17:07:25 UTC ---

Hi Vikas,

Is this issue still happening with a 3.6 or 3.7 client?
I have been unable to reproduce this as well.

--- Additional comment from Vikas Laad on 2017-10-31 17:24:33 UTC ---

No, I have not seen this issue with 3.6 or 3.7 client.

--- Additional comment from Juan Vallejo on 2017-10-31 17:28:57 UTC ---

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.

--- Additional comment from Vikas Laad on 2017-11-01 18:36:52 UTC ---

Changing target release to 3.6 and making it verified. Did not encounter this bz with later releases.

--- Additional comment from errata-xmlrpc on 2017-12-07 07:10:26 UTC ---

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

Comment 1 Caden Marchese 2019-06-07 18:12:52 UTC
This bug was observed in OCP 3.11 on pods that are Running. See below:

logging-kibana-4-xxxxx                     2/2       Running     0          <invalid>   10.0.0.1
logging-kibana-4-xxxxx                     2/2       Running     0          <invalid>
heketi-storage-1-xxxxx                     1/1       Running     0          <invalid>   10.0.0.1
heketi-storage-1-xxxxx                     1/1       Running     0          <invalid>
heketi-storage-1-xxxxx                     1/1       Running     0          <invalid>   10.0.0.1
logging-es-data-master-xxxxxxxx-8-xxxxx    2/2       Running     0          <invalid>   10.0.0.1
logging-es-data-master-xxxxxxxx-8-xxxxx    2/2       Running     0          <invalid>
docs-1196-xxxxx                            2/2       Running     0          <invalid>   10.0.0.1

Comment 2 Maciej Szulik 2019-06-27 21:36:15 UTC
Please attach full yamls of the pods that are showing invalid age.

Comment 3 Stephen Cuppett 2019-11-20 18:48:51 UTC
OCP 3.6-3.10 is no longer on full support [1]. Marking CLOSED DEFERRED. If you have a customer case with a support exception or have reproduced on 3.11+, please reopen and include those details. When reopening, please set the Target Release to the appropriate version where needed.

[1]: https://access.redhat.com/support/policy/updates/openshift

Comment 4 Red Hat Bugzilla 2023-09-14 05:29:58 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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