Bug 2103310

Summary: ovn binaries crashes with Illegal instruction (core dumped) on certain CPU models
Product: Red Hat Enterprise Linux Fast Datapath Reporter: OVN Bot <ovn-bot>
Component: ovn22.03Assignee: Ales Musil <amusil>
Status: CLOSED ERRATA QA Contact: Jianlin Shi <jishi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: FDP 22.BCC: amusil, ctrautma, dhill, dmarchan, jhsiao, jiji, ovs-qe, ralongi, ykarel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn22.03-22.03.0-62.el8fdp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-01 14:08:27 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:

Description OVN Bot 2022-07-02 04:05:55 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2102618

Comment 1 OVN Bot 2022-07-02 04:06:00 UTC
This issue is fixed in ovn22.03-22.03.0-62.el8fdp

Comment 4 Jianlin Shi 2022-07-13 08:02:37 UTC
failed to reproduce the issue on ovn22.03-52:

[zuul@centos-8-stream-rax-iad-0030376224 ovn22-03-52]$ ovn-nbctl --version                            
ovn-nbctl 22.03.2
Open vSwitch Library 2.17.90
DB Schema 6.1.0
[zuul@centos-8-stream-rax-iad-0030376224 ovn22-03-52]$ rpm -qa | grep -E "openvswitch|ovn22.03"       
rdo-openvswitch-2.12-1.el8.noarch
ovn22.03-host-22.03.0-52.el8fdp.x86_64
openvswitch-2.12.0-1.1.el8.x86_64
ovn22.03-central-22.03.0-52.el8fdp.x86_64
network-scripts-openvswitch-2.12.0-1.1.el8.x86_64                                                     
centos-release-nfv-openvswitch-1-3.el8.noarch                                                         
ovn22.03-22.03.0-52.el8fdp.x86_64

and the issue doesn't occur on ovn22.03-62:

[zuul@centos-8-stream-rax-iad-0030376224 ovn22.03-62]$ ovn-nbctl --version                            
ovn-nbctl 22.03.2
Open vSwitch Library 2.17.90
DB Schema 6.1.0
[zuul@centos-8-stream-rax-iad-0030376224 ovn22.03-62]$ rpm -qa | grep -E "openvswitch|ovn22.03"
rdo-openvswitch-2.12-1.el8.noarch
openvswitch-2.12.0-1.1.el8.x86_64
ovn22.03-22.03.0-62.el8fdp.x86_64
ovn22.03-host-22.03.0-62.el8fdp.x86_64
network-scripts-openvswitch-2.12.0-1.1.el8.x86_64                                                     
centos-release-nfv-openvswitch-1-3.el8.noarch                                                         
ovn22.03-central-22.03.0-62.el8fdp.x86_64

[zuul@centos-8-stream-rax-iad-0030376224 ovn22.03-62]$ lscpu                                          
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  1
Core(s) per socket:  1
Socket(s):           8
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               45
Model name:          Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
Stepping:            7
CPU MHz:             2593.863
BogoMIPS:            5187.50
Hypervisor vendor:   Xen
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            20480K
NUMA node0 CPU(s):   0-7
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush acpi mmx fxsr sse sse2 syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl cpuid pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp xsaveopt md_clear flush_l1d

Comment 5 Jianlin Shi 2022-07-13 08:06:52 UTC
also doesn't reproduce with ovn22.06:

[zuul@centos-8-stream-rax-iad-0030376224 ovn22.06-7]$ ovn-nbctl --version                             
ovn-nbctl 22.06.1
Open vSwitch Library 2.17.90
DB Schema 6.3.0
[zuul@centos-8-stream-rax-iad-0030376224 ovn22.06-7]$ rpm -qa | grep -E "openvswitch|ovn22.06"        
rdo-openvswitch-2.12-1.el8.noarch
ovn22.06-22.06.0-7.el8fdp.x86_64
openvswitch-2.12.0-1.1.el8.x86_64                                                                     
ovn22.06-central-22.06.0-7.el8fdp.x86_64
network-scripts-openvswitch-2.12.0-1.1.el8.x86_64
centos-release-nfv-openvswitch-1-3.el8.noarch
ovn22.06-host-22.06.0-7.el8fdp.x86_64                                                                 
[zuul@centos-8-stream-rax-iad-0030376224 ovn22.06-7]$ rpm -Uvh ../ovn22.06-16/* --nodeps              
error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied)                    
[zuul@centos-8-stream-rax-iad-0030376224 ovn22.06-7]$ sudo rpm -Uvh ../ovn22.06-16/* --nodeps         
Verifying...                          ################################# [100%]                        
Preparing...                          ################################# [100%]                        
Updating / installing...
   1:ovn22.06-22.06.0-16.el8fdp       ################################# [ 17%]                        
   2:ovn22.06-central-22.06.0-16.el8fd################################# [ 33%]                        
   3:ovn22.06-host-22.06.0-16.el8fdp  ################################# [ 50%]
Cleaning up / removing...
   4:ovn22.06-host-22.06.0-7.el8fdp   ################################# [ 67%]                        
   5:ovn22.06-central-22.06.0-7.el8fdp################################# [ 83%]
   6:ovn22.06-22.06.0-7.el8fdp        ################################# [100%]
[zuul@centos-8-stream-rax-iad-0030376224 ovn22.06-7]$ ovn-nbctl --version
ovn-nbctl 22.06.1
Open vSwitch Library 2.17.90                                                                          
DB Schema 6.3.0
[zuul@centos-8-stream-rax-iad-0030376224 ovn22.06-7]$ rpm -qa | grep -E "openvswitch|ovn22.06"
rdo-openvswitch-2.12-1.el8.noarch
ovn22.06-central-22.06.0-16.el8fdp.x86_64
openvswitch-2.12.0-1.1.el8.x86_64
ovn22.06-22.06.0-16.el8fdp.x86_64
ovn22.06-host-22.06.0-16.el8fdp.x86_64
network-scripts-openvswitch-2.12.0-1.1.el8.x86_64
centos-release-nfv-openvswitch-1-3.el8.noarch

Comment 7 errata-xmlrpc 2022-08-01 14:08:27 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 (ovn22.03 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-2022:5788