Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
The FDP team is no longer accepting new bugs in Bugzilla. Please report your issues under FDP project in Jira. Thanks.

Bug 2102481

Summary: VM is unable to ping itself via stateless DNAT on a gateway router
Product: Red Hat Enterprise Linux Fast Datapath Reporter: OVN Bot <ovn-bot>
Component: ovn22.03Assignee: lorenzo bianconi <lorenzo.bianconi>
Status: CLOSED ERRATA QA Contact: Jianlin Shi <jishi>
Severity: unspecified Docs Contact:
Priority: medium    
Version: FDP 22.ECC: ctrautma, jiji, lorenzo.bianconi, mmichels
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovn22.03-22.03.0-61.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-06-30 04:09:20 UTC
This is an automatically-generated clone of issue https://bugzilla.redhat.com/show_bug.cgi?id=2094980

Comment 1 OVN Bot 2022-06-30 04:09:26 UTC
This issue is fixed in ovn22.03-22.03.0-61.el8fdp

Comment 4 Jianlin Shi 2022-07-08 00:54:37 UTC
Verified on ovn22.03-22.03.0-62.el8:

+ ovn-nbctl --wait=hv sync                                                                            
+ ip netns exec vm1 ping 172.18.2.10 -c 1                                                             
PING 172.18.2.10 (172.18.2.10) 56(84) bytes of data.                                                  
64 bytes from 192.168.100.6: icmp_seq=1 ttl=64 time=0.746 ms                                          
                                                                                                      
--- 172.18.2.10 ping statistics ---                                                                   
1 packets transmitted, 1 received, 0% packet loss, time 0ms                                           
rtt min/avg/max/mdev = 0.746/0.746/0.746/0.000 ms                                                     
+ ip netns exec vm2 ping 172.18.2.10 -c 1                                                             
PING 172.18.2.10 (172.18.2.10) 56(84) bytes of data.                                                  
64 bytes from 172.18.2.10: icmp_seq=1 ttl=62 time=0.884 ms                                            
                                                                                                      
--- 172.18.2.10 ping statistics ---                                                                   
1 packets transmitted, 1 received, 0% packet loss, time 0ms                                           
rtt min/avg/max/mdev = 0.884/0.884/0.884/0.000 ms                                                     
++ ovn-nbctl find nat external_ip=172.18.2.10                                                         
++ awk '/_uuid/{print $3}'                                                                            
+ nat_uuid=502d0784-1bb3-4a3f-8906-edea4f74c7f8                                                       
+ ovn-nbctl set nat 502d0784-1bb3-4a3f-8906-edea4f74c7f8 options:stateless=true                       
+ ip netns exec vm1 ping 172.18.2.10 -c 1                                                             
PING 172.18.2.10 (172.18.2.10) 56(84) bytes of data.                                                  
64 bytes from 192.168.100.6: icmp_seq=1 ttl=64 time=0.038 ms                                          
                                                                                                      
--- 172.18.2.10 ping statistics ---                                                                   
1 packets transmitted, 1 received, 0% packet loss, time 0ms                                           
rtt min/avg/max/mdev = 0.038/0.038/0.038/0.000 ms                                                     
+ ip netns exec vm2 ping 172.18.2.10 -c 1                                                             
PING 172.18.2.10 (172.18.2.10) 56(84) bytes of data.                                                  
64 bytes from 172.18.2.10: icmp_seq=1 ttl=62 time=0.034 ms                                            
                                                                                                      
--- 172.18.2.10 ping statistics ---                                                                   
1 packets transmitted, 1 received, 0% packet loss, time 0ms                                           
rtt min/avg/max/mdev = 0.034/0.034/0.034/0.000 ms                                                     
[root@dell-per730-20 bz2102480]# rpm -qa | grep -E "openvswitch2.15|ovn22.03"                         
python3-openvswitch2.15-2.15.0-109.el8fdp.x86_64                                                      
ovn22.03-central-22.03.0-62.el8fdp.x86_64                                                             
ovn22.03-host-22.03.0-62.el8fdp.x86_64                                                                
openvswitch2.15-2.15.0-109.el8fdp.x86_64                                                              
ovn22.03-22.03.0-62.el8fdp.x86_64

Comment 6 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