Bug 2213280

Summary: Podman with pasta networking fails
Product: [Fedora] Fedora Reporter: Gursewak Singh <gurssing>
Component: passtAssignee: Stefano Brivio <sbrivio>
Status: MODIFIED --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: sbrivio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: passt-0^20230625.g32660ce-1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Gursewak Singh 2023-06-07 17:47:30 UTC
Description of problem:
With the latest passt version, 

Version-Release number of selected component (if applicable):
passt-0^20230509.g96f8d55-1.fc39
passt-0^20230509.g96f8d55-1.fc38

How reproducible:
Everytime

Steps to Reproduce:
1. Using latest passt packages, run a simple test to run `podman run -i --net=pasta:-g,8.8.8.8 registry.fedoraproject.org/fedora:38`
2. Verify the 8.8.8.8 got set as the gateway. No /sbin/ip so just use /proc/net/route
cat /proc/net/route | grep 08080808

Actual results:
Empty as the gateway doesn't get set now.

Expected results:
+ cat /proc/net/route
+ grep 08080808
ens7	00000000	08080808	0003	0	0	0	00000000	0	0	0 

Additional info:
The failure is seen in both FC39 and FC38 versions. 
Upstream test: https://github.com/coreos/fedora-coreos-config/blob/testing-devel/tests/kola/podman/rootless-pasta-networking

Comment 1 Stefano Brivio 2023-06-26 19:20:13 UTC
Fixed upstream by: https://passt.top/passt/commit/?id=d034fb698f2312c02642c539881b1c1e965fc8fe

included in update passt-0^20230625.g32660ce-1.fc39

Comment 2 Fedora Release Engineering 2023-08-16 07:14:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.