[21.04 regression] tuned breaks networking in podman containers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tuned (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This stopped working in 21.04:
podman run -it --rm -p 5000:5000 --name registry docker.
curl http://
The curl just hangs forever. This works fine in Ubuntu 20.10 with podman 2.0.6+dfsg1-
Outbound direction is also broken:
# podman run -it --rm docker.
Err:1 http://
Temporary failure resolving 'archive.
However, that's already the case in Ubuntu 20.10.
Unfortunately there are no tools like `ip` in the container to see network interfaces and routes, neither in fedora:latest.
/proc/net/dev and /proc/net/route do show an interface as expected, and they are exactly the same as in 20.10.
Package: podman 3.0.1+dfsg1-
DistroRelease: Ubuntu 21.04
Unfortunately, I cannot confirm this on a freshly installed Ubuntu 20.04 VM (that I grabbed with https:/ /github. com/canonical/ multipass on my laptop running debian/bullseye).
I've replicated the registry example with the registry like this:
ubuntu@ accessible- liger:~ $ podman run -d -p 5000:5000 --name registry docker. io/registry: 2 ec154a29eadb004 40cf5fa43d7acbd 8e4ca5e1fc90dab d1a3ec
40c86041d629b
ubuntu@ accessible- liger:~ $ curl -s localhost:5000/v2/ | jq
{}
As for your network connectity issue:
root@ accessible- liger:~ # podman run --rm -it debian s/registries. conf.d/ shortnames. conf) io/library/ debian: latest. .. db1fb5ce9bf4: /# apt update security. debian. org/debian- security buster/updates InRelease [65.4 kB] deb.debian. org/debian buster InRelease [121 kB] security. debian. org/debian- security buster/updates/main amd64 Packages [272 kB] deb.debian. org/debian buster-updates InRelease [51.9 kB] deb.debian. org/debian buster/main amd64 Packages [7907 kB]
Resolved "debian" as an alias (/etc/container
Trying to pull docker.
Getting image source signatures
Copying blob bd8f6a7501cc done
Copying config 0d587dfbc4 done
Writing manifest to image destination
Storing signatures
root@
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
I've tested both use-cases both in rootful and in rootless mode, both worked fine for me.