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:
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
Hi Vikas, Is this issue still happening with a 3.6 or 3.7 client? I have been unable to reproduce this as well.
No, I have not seen this issue with 3.6 or 3.7 client.
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.
Changing target release to 3.6 and making it verified. Did not encounter this bz with later releases.
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