Bug 2100507
Summary: | Remove redundant log lines from obj_retry.go | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Riccardo Ravaioli <rravaiol> |
Component: | Networking | Assignee: | Riccardo Ravaioli <rravaiol> |
Networking sub component: | ovn-kubernetes | QA Contact: | jechen <jechen> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | unspecified | CC: | anusaxen, jechen |
Version: | 4.11 | Flags: | jechen:
needinfo-
|
Target Milestone: | --- | ||
Target Release: | 4.11.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: | 2022-08-10 11:19:12 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
Riccardo Ravaioli
2022-06-23 14:49:31 UTC
Verified with 4.11.0-0.nightly-2022-07-11-080250 $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.11.0-0.nightly-2022-07-11-080250 True False 31m Cluster version is 4.11.0-0.nightly-2022-07-11-080250 $ oc get -o jsonpath='{.metadata.annotations.control-plane\.alpha\.kubernetes\.io/leader}' -n openshift-ovn-kubernetes cm ovn-kubernetes-master {"holderIdentity":"jechen-0712b-77l7t-master-1.c.openshift-qe.internal","leaseDurationSeconds":60,"acquireTime":"2022-07-12T18:52:13Z","renewTime":"2022-07-12T19:18:35Z","leaderTransitions":0} $ oc get pod -n openshift-ovn-kubernetes -l app=ovnkube-master --field-selector=spec.nodeName=jechen-0712b-77l7t-master-1.c.openshift-qe.internal -o jsonpath={.items[*].metadata.name} ovnkube-master-rln2t $ oc -n openshift-ovn-kubernetes logs ovnkube-master-rln2t -c ovnkube-master ....... E0712 18:52:14.242729 1 obj_retry.go:1358] Failed to create *v1.Pod object openshift-network-diagnostics/network-check-target-w5n4z, error: addLogicalPort failed for openshift-network-diagnostics/network-check-target-w5n4z: unable to parse node L3 gw annotation: k8s.ovn.org/l3-gateway-config annotation not found for node "jechen-0712b-77l7t-master-1.c.openshift-qe.internal" I0712 18:52:14.242771 1 obj_retry.go:1364] Creating *v1.Pod openshift-multus/multus-additional-cni-plugins-2nbst took: 449ns I0712 18:52:14.242789 1 obj_retry.go:1364] Creating *v1.Pod openshift-ovn-kubernetes/ovnkube-node-tn57q took: 556ns I0712 18:52:14.242804 1 obj_retry.go:1364] Creating *v1.Pod openshift-ingress-operator/ingress-operator-5c659bd8cd-c62jb took: 212ns I0712 18:52:14.242868 1 obj_retry.go:1465] Updating *v1.Pod openshift-network-diagnostics/network-check-target-92h28 I0712 18:52:14.242904 1 pods.go:369] [openshift-network-diagnostics/network-check-target-92h28] creating logical port for pod on switch jechen-0712b-77l7t-master-2.c.openshift-qe.internal I0712 18:52:14.243088 1 pods.go:358] [openshift-network-diagnostics/network-check-target-92h28] addLogicalPort took 186.771µs, libovsdb time 0s, annotation time: 0s E0712 18:52:14.243119 1 obj_retry.go:1468] Failed to update resource *v1.Pod, old=openshift-network-diagnostics/network-check-target-92h28, new=openshift-network-diagnostics/network-check-target-92h28, error: addLogicalPort failed for openshift-network-diagnostics/network-check-target-92h28: unable to parse node L3 gw annotation: k8s.ovn.org/l3-gateway-config annotation not found for node "jechen-0712b-77l7t-master-2.c.openshift-qe.internal" I0712 18:52:14.243151 1 event.go:285] Event(v1.ObjectReference{Kind:"Pod", Namespace:"openshift-network-diagnostics", Name:"network-check-target-w5n4z", UID:"5d4386e3-2747-4410-a102-38d47fb741bc", APIVersion:"v1", ResourceVersion:"3326", FieldPath:""}): type: 'Warning' reason: 'ErrorAddingLogicalPort' addLogicalPort failed for openshift-network-diagnostics/network-check-target-w5n4z: unable to parse node L3 gw annotation: k8s.ovn.org/l3-gateway-config annotation not found for node "jechen-0712b-77l7t-master-1.c.openshift-qe.internal" I0712 18:52:14.243165 1 event.go:285] Event(v1.ObjectReference{Kind:"Pod", Namespace:"openshift-network-diagnostics", Name:"network-check-target-92h28", UID:"b125e0ec-1688-413e-b01a-dac5f6967190", APIVersion:"v1", ResourceVersion:"4009", FieldPath:""}): type: 'Warning' reason: 'ErrorAddingLogicalPort' addLogicalPort failed for openshift-network-diagnostics/network-check-target-92h28: unable to parse node L3 gw annotation: k8s.ovn.org/l3-gateway-config annotation not found for node "jechen-0712b-77l7t-master-2.c.openshift-qe.internal" I0712 18:52:14.243207 1 obj_retry.go:1465] Updating *v1.Pod openshift-multus/network-metrics-daemon-skxzl I0712 18:52:14.243237 1 pods.go:369] [openshift-multus/network-metrics-daemon-skxzl] creating logical port for pod on switch jechen-0712b-77l7t-master-0.c.openshift-qe.internal I0712 18:52:14.243279 1 obj_retry.go:1364] Creating *factory.egressIPNamespace openshift-cluster-version took: 65.121µs I0712 18:52:14.243307 1 obj_retry.go:1364] Creating *factory.egressIPNamespace openshift-dns-operator took: 5.365µs I0712 18:52:14.243322 1 obj_retry.go:1364] Creating *factory.egressIPNamespace openshift-ovirt-infra took: 2.736µs I0712 18:52:14.243358 1 pods.go:358] [openshift-multus/network-metrics-daemon-skxzl] addLogicalPort took 123.721µs, libovsdb time 0s, annotation time: 0s E0712 18:52:14.243387 1 obj_retry.go:1468] Failed to update resource *v1.Pod, old=openshift-multus/network-metrics-daemon-skxzl, new=openshift-multus/network-metrics-daemon-skxzl, error: addLogicalPort failed for openshift-multus/network-metrics-daemon-skxzl: unable to parse node L3 gw annotation: k8s.ovn.org/l3-gateway-config annotation not found for node "jechen-0712b-77l7t-master-0.c.openshift-qe.internal" I0712 18:52:14.243394 1 obj_retry.go:1364] Creating *factory.egressIPNamespace openshift-cloud-credential-operator took: 21.156µs I0712 18:52:14.243406 1 event.go:285] Event(v1.ObjectReference{Kind:"Pod", Namespace:"openshift-multus", Name:"network-metrics-daemon-skxzl", UID:"a0b99553-5d2e-4d55-9971-8150673ab0b2", APIVersion:"v1", ResourceVersion:"4002", FieldPath:""}): type: 'Warning' reason: 'ErrorAddingLogicalPort' addLogicalPort failed for openshift-multus/network-metrics-daemon-skxzl: unable to parse node L3 gw annotation: k8s.ovn.org/l3-gateway-config annotation not found for node "jechen-0712b-77l7t-master-0.c.openshift-qe.internal" I0712 18:52:14.243413 1 obj_retry.go:1364] Creating *factory.egressIPNamespace openshift-network-operator took: 4.495µs I0712 18:52:14.243439 1 obj_retry.go:1364] Creating *factory.egressIPNamespace openshift-kni-infra took: 8.35µs I0712 18:52:14.243448 1 obj_retry.go:1364] Creating *factory.egressIPNamespace openshift-kube-controller-manager took: 23.054µs I0712 18:52:14.243454 1 obj_retry.go:1364] Creating *factory.egressIPNamespace openshift-kube-apiserver-operator took: 2.809µs I0712 18:52:14.243466 1 obj_retry.go:1364] Creating *factory.egressIPNamespace openshift-etcd took: 3.03µs I0712 18:52:14.243468 1 obj_retry.go:1364] Creating *factory.egressIPNamespace kube-public took: 1.959µs I0712 18:52:14.243482 1 obj_retry.go:1364] Creating *factory.egressIPNamespace openshift-cloud-network-config-controller took: 2.4µs ..... ==> Verified that there is no redundant log lines from obj_retry.go 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 (Important: OpenShift Container Platform 4.11.0 bug fix and 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:5069 |