Bug 1759097
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: | bbennett, juriarte |
Version: | 4.2.0 | Keywords: | Triaged |
Target Milestone: | --- | ||
Target Release: | 4.2.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1759095 | Environment: | |
Last Closed: | 2019-10-30 04:44:56 UTC | Type: | --- |
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: | 1759095 | ||
Bug Blocks: |
Description
Luis Tomas Bolivar
2019-10-07 12:10:22 UTC
*** Bug 1757916 has been marked as a duplicate of this bug. *** Verified on OCP 4.2.0-0.nightly-2019-10-23-033305 build on top of OSP 13 2019-10-16.2 puddle. release image: registry.svc.ci.openshift.org/ocp/release@sha256:9408af4d970a3839c68b9429a7aa1eccc7a4bb1f522c3693062d747cb72c378d 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.102.0/23 4s $ 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 [-] 10.196.0.18 - - [24/Oct/2019 14:35:16] "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-2019:3151 |