The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.
Bug 2180460 - ovs-vswitchd not creating DP flows
Summary: ovs-vswitchd not creating DP flows
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux Fast Datapath
Classification: Red Hat
Component: openvswitch3.1
Version: RHEL 9.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: Adrián Moreno
QA Contact: ovs-qe
URL:
Whiteboard:
Depends On:
Blocks: 2204523
TreeView+ depends on / blocked
 
Reported: 2023-03-21 14:26 UTC by Patryk Diak
Modified: 2023-07-06 20:05 UTC (History)
6 users (show)

Fixed In Version: openvswitch3.1-3.1.0-12.el8fdp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2204523 (view as bug list)
Environment:
Last Closed: 2023-07-06 20:05:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ovs-vswitchd journal at dbg lvl (2.29 MB, text/plain)
2023-03-21 14:26 UTC, Patryk Diak
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FD-2757 0 None None None 2023-03-21 14:27:27 UTC
Red Hat Product Errata RHBA-2023:3994 0 None None None 2023-07-06 20:05:24 UTC

Internal Links: 2182453

Description Patryk Diak 2023-03-21 14:26:34 UTC
Created attachment 1952418 [details]
ovs-vswitchd journal at dbg lvl

OVN-Kubernetes issue: https://issues.redhat.com/browse/OCPBUGS-10485

Description of problem:
During OCP node startup network setup fails because DHCP packets are not leaving the node. 

It looks like there are no DP flows programmed:
ovs-appctl dpctl/show
system@ovs-system:
  lookups: hit:0 missed:620282 lost:620282
  flows: 0
  masks: hit:0 total:0 hit/pkt:0.00
  caches:
    masks-cache: size:256
  port 0: ovs-system (internal)
  port 1: ens4
  port 2: ovn-k8s-mp0 (internal)
  port 3: genev_sys_6081 (geneve: packet_type=ptap)
  port 4: br-int (internal)
  port 5: br-ex (internal)

ovs-ofctl dump-flows br-ex
 cookie=0x0, duration=171.388s, table=0, n_packets=5, n_bytes=210, priority=0 actions=NORMAL

ovs-appctl dpctl/dump-flows
<NO_OUTPUT>


Version-Release number of selected component (if applicable):
ovs_version: "3.1.1"
OCP version: 4.13.0-0.nightly-2023-03-14-053612

How reproducible: Often, but only when using nodes with two cores


Steps to Reproduce:
Setup OCP 4.13.0-0.nightly-2023-03-14-053612 using workers that have 2 CPU cores each

Actual results:
ovs-configuration.service fails to setup br-ex, DHCP traffic not leaving the node

Expected results:
network setup succedes

Additional info:
Looking at the attached ovs-vswitchd it looks like there are initially 0 n-handler-threads configured

Comment 8 Christian Trautman 2023-06-07 21:03:42 UTC
Based on the verification in https://issues.redhat.com/browse/OCPBUGS-10485 we are marking this as verified.

Comment 12 errata-xmlrpc 2023-07-06 20:05:16 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 (openvswitch3.1 bug fix and enhancement 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-2023:3994


Note You need to log in before you can comment on or make changes to this bug.