Get reset connection packets for rootless pod after stop/start #7520
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
podman pod start
does not work properly afterpodman pod stop
as rootless. If I run a server in a pod and try to connect to it, it works after creating the pod and starting it. If I stop the pod and start it again, I observe a reset connection like #7016 already documented. If I do a restart, it works great.Steps to reproduce the issue:
tshark prints this:
So everything is fine.
I get this result for curl
curl: (7) Failed to connect to localhost port 8080: Connection refused
and this for tshark:podman pod restart alp_pod
fix it, but only if the pod is currently running. If it is stopped and I do a restart, it shows the same behaviour.Describe the results you received:
The network interface sends a RST/ACK packet.
Describe the results you expected:
I expect a threeway handshake with data exchange.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):I already tried to upgrade to 2.0.5, but there is #7508 which describes why it was prevented. But I saw this behaviour before I ran
apt upgrade
which upgraded all dependencies of podman like slirp4netns, etc.. I already read the release notes for 2.0.5, but it does not seem that it would fix it.Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
No: see above..
Yes: I checked the guide..
Additional environment details (AWS, VirtualBox, physical, etc.):
VirtualBox Version 6.1.97 r139689 on OpenSuse 15.1
** Additional logfiles **
I ran the above commands with
--log-level debug
and here are the results:One thing I notice in the log files is, that
run
andrestart
creates a network namespace. You can see it in this line:Made network namespace at /run/user/1000/netns/cni-ec4f60a1-18b5-0696-a823-b7dd42111398 for container 6fb030b00ce960001d6cdf5210a75e13d5ae0680970578574067f654eb27dc3b
start
does not contain this line. Maybe it helps :)The text was updated successfully, but these errors were encountered: