Bug 1883167
Summary: | Race between pod deletion and adding finalizer | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Luis Tomas Bolivar <ltomasbo> |
Component: | Networking | Assignee: | Luis Tomas Bolivar <ltomasbo> |
Networking sub component: | kuryr | QA Contact: | GenadiC <gcheresh> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | medium | ||
Priority: | medium | CC: | rlobillo |
Version: | 4.6 | ||
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:45:44 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
Luis Tomas Bolivar
2020-09-28 09:16:51 UTC
Verified on 4.6.0-0.nightly-2020-09-28-212756 over OSP over RHOS-16.1-RHEL-8-20200917.n.3 with OVN-Octavia. Running below scripts: # Script1.sh for i in `seq 100`; do echo $i; oc --image kuryr/demo run demo sleep 1 oc delete pod/demo & sleep 1 done # Script2.sh for i in `seq 100`; do echo $i; oc --image kuryr/demo run demo oc delete pod/demo & sleep 1 done Does not imply any restart on the kuryr-controller. Confirmed also that the fix is in place: $ oc rsh -n openshift-kuryr kuryr-controller-5c5979849f-ck5qs sed -n '274,278p' /usr/lib/python3.6/site-packages/kuryr_kubernetes/k8s_client.py try: obj = self.get(path) except exc.K8sResourceNotFound: # Object got removed before finalizer was set return False 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.6 GA Images), 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-2020:4196 |