Bug 2035847
Summary: | Two dashes in the Cronjob / Job pod name | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Anping Li <anli> |
Component: | kube-controller-manager | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.10 | CC: | aos-bugs, mfojtik, xxia |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | 4.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-10 16:36:35 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Anping Li
2021-12-28 02:37:03 UTC
same issue to the other cronjob pods. $oc get pods --all-namespaces |grep -E "\-\-" openshift-logging elasticsearch-im-app-27344310--1-btp8z 0/1 Completed 0 12m openshift-logging elasticsearch-im-audit-27344310--1-c89xj 0/1 Completed 0 12m openshift-logging elasticsearch-im-infra-27344310--1-6gfml 0/1 Completed 0 12m openshift-marketplace 7ada5e2e41a35e52e10b2d3f71c73c0143ed80ab4bd73a31d17914--1-66q9x 0/1 Completed 0 60m openshift-marketplace bd21de40ff29167bb62f859356cedcf8931e79fbf0345393972a14--1-h5zbj 0/1 Completed 0 60m openshift-operator-lifecycle-manager collect-profiles-27344280--1-rp2nc 0/1 Completed 0 42m openshift-operator-lifecycle-manager collect-profiles-27344295--1-68c8f 0/1 Completed 0 27m openshift-operator-lifecycle-manager collect-profiles-27344310--1-79t62 0/1 Completed 0 12m oc create job pi-job --image=image-registry.openshift-image-registry.svc:5000/openshift/perl -- perl -Mbignum=bpi -wle 'print bpi(2000)' oc get pod pi-job--1-x2xhc 0/1 Completed 0 2m17s From this output, the root cause is in Job. Further, from https://kubernetes.io/docs/concepts/workloads/controllers/job/ , it says: " kubectl describe jobs/pi Normal SuccessfulCreate 14m job-controller Created pod: pi-5rwd7 kubectl get pods The output is similar to this: pi-5rwd7 " So, Job has regression bug. This will be fixed when https://github.com/openshift/kubernetes/pull/1087 lands. Can't reproduce the issue now: [root@localhost ~]# oc version --client Client Version: 4.10.0-202201281850.p0.g7c299f1.assembly.stream-7c299f1 [root@localhost ~]# oc create job pi-job --image=image-registry.openshift-image-registry.svc:5000/openshift/perl -- perl -Mbignum=bpi -wle 'print bpi(2000)' job.batch/pi-job created [root@localhost ~]# oc get pods NAME READY STATUS RESTARTS AGE pi-job-wcd62 0/1 ContainerCreating 0 3s 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 (Moderate: OpenShift Container Platform 4.10.3 security update), 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-2022:0056 |