Hide Forgot
+++ This bug was initially created as a clone of Bug #2048801 +++ Description of problem: Need to implement https://github.com/openshift/kubernetes/pull/1209 in order to extend rest mappings with job definition. This is because when the kube-api-server loses connecitivity to the pod networking, a 'job' cannot be run. The current list of resources in the RESTmappings includes many resources, but not 'jobs' How reproducible: Can reproduce every time. Steps to Reproduce: 1. On one of the master nodes, remove route to pod network, then try to run a 'job' Actual results: job fails Expected results: job succeeds
it's waiting on qe to verify 4.9, once 4.9 is verified by qe, we will open a PR on openshift/kubernetes for 4.8. (the delay is due to the fact that we have to make this fix from master branch, and all the down to 4.8, one at a time). 4.19 PR: https://github.com/openshift/kubernetes/pull/1233.
Verified pre-merge using a cluster-bot cluster built from https://github.com/openshift/kubernetes/pull/1245 using steps here: https://bugzilla.redhat.com/show_bug.cgi?id=2069310#c5. Job completed successfully and oc get jobs show successful completion. [root@ip-172-31-18-207 work]# oc get jobs NAME COMPLETIONS DURATION AGE mypi 1/1 33s 64s [root@ip-172-31-18-207 work]# oc get pods NAME READY STATUS RESTARTS AGE mypi-npr79 0/1 Completed 0 96s Marking PR qe-approved and this bz as tested.
I'm dropping the master pull [1] from this 4.8.z bug. [1]: https://github.com/openshift/kubernetes/pull/1209
Verified on 4.8.38 candidate using verification procedure at https://bugzilla.redhat.com/show_bug.cgi?id=2069310#c5 job runs successfully after deleting pod network route on one master oc get jobs correctly shows job status
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 (OpenShift Container Platform 4.8.39 bug fix 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/RHBA-2022:1427