Bug 1962608

Summary: failed to configure pod interface: error while waiting on flows for pod: timed out waiting for OVS flows
Product: OpenShift Container Platform Reporter: Federico Paolinelli <fpaoline>
Component: NetworkingAssignee: Federico Paolinelli <fpaoline>
Networking sub component: ovn-kubernetes QA Contact: Dan Brahaney <dbrahane>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aconstan, alegrand, anbhat, anpicker, anusaxen, astoycos, bjarolim, erooth, fpaoline, kakkoyun, knakayam, lcosic, mchebbi, openshift-bugs-escalate, pawankum, pkrupa, spasquie, surbania, trozet, zzhao
Version: 4.7   
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1952819
: 1985347 (view as bug list) Environment:
Last Closed: 2021-08-03 17:56:24 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: 1952819    
Bug Blocks: 1985347    

Comment 3 Dan Brahaney 2021-07-27 17:04:37 UTC
Attempted replication of error as described here in original bug report https://bugzilla.redhat.com/show_bug.cgi?id=1952819#c13

After following steps, blocking traffic with iptables and then unblocking, it appears to be working as expected, with similar results to those detailed by Anurag in original bug here https://bugzilla.redhat.com/show_bug.cgi?id=1952819#c14

 
oc logs -c ovnkube-master ovnkube-master-7fc91 | grep -i "openshift-monitoring/prometheus-k8s-0"
I0727 10:24:36.400321       1 kube.go:61] Setting annotations map[k8s.ovn.org/pod-networks:{"default":{"ip_addresses":["10.128.2.14/23"],"mac_address":"0a:58:0a:81:21:4c","gateway_ips":["10.128.2.1"],"ip_address":"10.128.2.14/23","gateway_ip":"10.128.2.1"}}] on pod openshift-monitoring/prometheus-k8s-0
I0727 10:24:36.402945       1 pods.go:302] [openshift-monitoring/prometheus-k8s-0] addLogicalPort took 115.352688ms
I0727 12:45:22.746453       1 pods.go:91] Deleting pod: openshift-monitoring/prometheus-k8s-0   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I0727 12:46:48.256944       1 kube.go:61] Setting annotations map[k8s.ovn.org/pod-networks:{"default":{"ip_addresses":["10.128.2.15/23"],"mac_address":"0a:58:0a:81:21:4d","gateway_ips":["10.128.2.1"],"ip_address":"10.128.2.15/23","gateway_ip":"10.128.2.1"}}] on pod openshift-monitoring/prometheus-k8s-0
I0727 12:47:01.566984        1 pods.go:302] [openshift-monitoring/prometheus-k8s-0] addLogicalPort took 103.284433ms   <<<<<<<<<<<<


Marking as verified.

Comment 4 Dan Brahaney 2021-07-27 17:07:31 UTC
Attempted replication of error as described here in original bug report https://bugzilla.redhat.com/show_bug.cgi?id=1952819#c13

After following steps, blocking traffic with iptables and then unblocking, it appears to be working as expected, with similar results to those detailed by Anurag in original bug here https://bugzilla.redhat.com/show_bug.cgi?id=1952819#c14

 
oc logs -c ovnkube-master ovnkube-master-7fc91 | grep -i "openshift-monitoring/prometheus-k8s-0"
I0727 10:24:36.400321       1 kube.go:61] Setting annotations map[k8s.ovn.org/pod-networks:{"default":{"ip_addresses":["10.128.2.14/23"],"mac_address":"0a:58:0a:81:21:4c","gateway_ips":["10.128.2.1"],"ip_address":"10.128.2.14/23","gateway_ip":"10.128.2.1"}}] on pod openshift-monitoring/prometheus-k8s-0
I0727 10:24:36.402945       1 pods.go:302] [openshift-monitoring/prometheus-k8s-0] addLogicalPort took 115.352688ms
I0727 12:45:22.746453       1 pods.go:91] Deleting pod: openshift-monitoring/prometheus-k8s-0   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I0727 12:46:48.256944       1 kube.go:61] Setting annotations map[k8s.ovn.org/pod-networks:{"default":{"ip_addresses":["10.128.2.15/23"],"mac_address":"0a:58:0a:81:21:4d","gateway_ips":["10.128.2.1"],"ip_address":"10.128.2.15/23","gateway_ip":"10.128.2.1"}}] on pod openshift-monitoring/prometheus-k8s-0
I0727 12:47:01.566984        1 pods.go:302] [openshift-monitoring/prometheus-k8s-0] addLogicalPort took 103.284433ms   <<<<<<<<<<<<


Marking as verified.

Comment 6 errata-xmlrpc 2021-08-03 17:56:24 UTC
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.7.22 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-2021:2903

Comment 7 Kenjiro Nakayama 2021-08-19 00:36:16 UTC
*** Bug 1994615 has been marked as a duplicate of this bug. ***