Bug 1759095
Summary: | Kuryr-controller restarts due to race between namespace and pod creation | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Luis Tomas Bolivar <ltomasbo> | |
Component: | Networking | Assignee: | Luis Tomas Bolivar <ltomasbo> | |
Networking sub component: | kuryr | QA Contact: | Jon Uriarte <juriarte> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | high | |||
Priority: | unspecified | CC: | mifiedle | |
Version: | 4.2.0 | Keywords: | Triaged | |
Target Milestone: | --- | |||
Target Release: | 4.3.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1759097 (view as bug list) | Environment: | ||
Last Closed: | 2020-05-13 21:27:01 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1757916, 1759097 |
Description
Luis Tomas Bolivar
2019-10-07 12:08:31 UTC
*** Bug 1757876 has been marked as a duplicate of this bug. *** Verified on OCP 4.3.0-0.nightly-2019-10-17-061631 build on top of OSP 13 2019-10-01.1 puddle. release image: registry.svc.ci.openshift.org/ocp/release@sha256:2cafe25ec1ed2dfdec361cde13b4461d2a30194d0b41fbd1c6d3fad5ab34ca05 The scenario has been reproduced by deleting the kuryrnet CRD before creating a new pod, showing the warning message and retrying. Verification steps: $ oc new-project test $ oc get kuryrnets | grep test ns-test 10.128.104.0/23 34s $ oc delete kuryrnet ns-test kuryrnet.openstack.org "ns-test" deleted $ oc run --image kuryr/demo demo Logs in kuryr-controller show the retries, as it detects kuryrnet resource is not created, and the aliveness probe reports ok: WARNING kuryr_kubernetes.controller.drivers.namespace_subnet [-] Kuryrnet resource not yet created, retrying...: K8sResourceNotFound: Resource not found: u'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"kuryrnets.openstack.org \\"ns-test\\" not found","reason":"NotFound","details":{"name":"ns test","group":"openstack.org","kind":"kuryrnets"},"code":404}\n' INFO werkzeug [-] 192.168.0.12 - - [18/Oct/2019 08:57:40] "GET /alive HTTP/1.1" 200 - 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/RHBA-2020:0062 |