krun with TSI networking fails in IPv4 only environment
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 18/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c
- Ambito
- networking
Direzione di ricerca
The payload names no source files, so start by reproducing the report: run the four podman --runtime krun run ... alpine wget www.google.com commands and compare the address wget picks with and without --network=pasta:-4. The thread points to TSI address-family selection, a topic that needs networking background and the maintainers' input. Done means outbound lookups in an IPv4-only environment resolve to IPv4 without the -4 workaround, and the maintainers have agreed where the fix belongs.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I've been trying to use krun to run some containers that need outbound network connectivity, and since the passt mode isn't working right now due to #2283 I've been trying to get it working with TSI which I couldn't get working before, but I'm not having much luck with this either. The main issue seems to be IPv6 related, when I try to run something inside a container that connects outbound it almost always tries to connect with a v6 address despite me not being on a dual stack network, by way of comparison doing the same thing on the host resolves to a v4 address.
Specific test examples:
$ podman --runtime krun run -it --rm docker.io/library/alpine wget www.google.com
Connecting to www.google.com ([ipv6 address])
wget: can't connect to remote host: Connection refused
$ podman --runtime krun run -it --rm --network=podman docker.io/library/alpine wget www.google.com
Connecting to www.google.com (ipv4 address)
saving to 'index.html' (etc)
$ podman --runtime krun run -it --rm --network=pasta docker.io/library/alpine wget www.google.com
Connecting to www.google.com ([ipv6 address])
wget: can't connect to remote host: Connection refused
$ podman --runtime krun run -it --rm --network=pasta:-4 docker.io/library/alpine wget www.google.com
Connecting to www.google.com (ipv4 address)
saving to 'index.html' (etc)
As a side note, ping fails, presumably because it's running at a lower level that TSI isn't intercepting, which complicates testing a bit (hence the use of wget)
This results in difficult to diagnose failures, ideally TSI should replicate the host behaviour and transparently connect to v4 in the same way without requiring a workaround.
- Lingua principale
- C
- Stelle
- 4.2k
- Fork
- 476
- Merge medio
- 1g 10h
- PR unite (30g)
- 55
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di containers/crun
-
krun: render-server sandbox dev-binds only /dev/dri, so NVIDIA GPUs are invisibleForse già presa @ViderStar l’ha presa 31 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
containers/crun#2413 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
containers/crun#2495 ·
I maintainer di solito rispondono entro 1 giorno
-
1.31: fail to run with mounts inside target on old kernels without mount_setattr()Forse già presa @martinetd l’ha presa 2 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 56/100
containers/crun#2484 ·
I maintainer di solito rispondono entro 1 giorno
-
1.31: exec fails with "write to /proc/self/oom_score_adj: Permission denied" under a systemd user manager (rootless podman API, healthchecks)Forse già presa @rfay l’ha presa 13 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
containers/crun#2466 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
krun: hardcoded /usr/bin/bwrap and /usr/libexec/virgl_render_server break distributions that install the server under /usr/libForse già presa @slp l’ha presa 7 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
containers/crun#2414 · 4 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di containers/crun
Issue simili
-
bug severity: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AlessandroSangiuliano/Uros#1014 ·
-
severity: low
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
luainkernel/lunatik#2727 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 6 giorni
-
Termux compilation failureApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bot-triaged module: cuda module: memory usage module: pybind module: tensor creation triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
pytorch/pytorch#206707 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno