Skip to content

Use host networking for populator container to fix DNS in nested podman#16

Merged
alicefr merged 1 commit into
mainfrom
investigating-dns-flake
May 27, 2026
Merged

Use host networking for populator container to fix DNS in nested podman#16
alicefr merged 1 commit into
mainfrom
investigating-dns-flake

Conversation

@alicefr

@alicefr alicefr commented May 21, 2026

Copy link
Copy Markdown
Collaborator

The image populator container runs podman pull inside a bridge network, routing DNS through aardvark-dns. In nested podman scenarios this multi-hop forwarding is unreliable, causing intermittent name resolution failures. Switching the populator to --network=host lets it use the host's resolv.conf directly, bypassing aardvark-dns.

@alicefr
alicefr force-pushed the investigating-dns-flake branch 4 times, most recently from 16e2255 to 57685b4 Compare May 26, 2026 11:52
@alicefr alicefr closed this May 26, 2026
@alicefr alicefr reopened this May 26, 2026
@alicefr
alicefr force-pushed the investigating-dns-flake branch from 57685b4 to 61aee7c Compare May 26, 2026 13:36
The image populator container runs podman pull inside a bridge network,
routing DNS through aardvark-dns. In nested podman scenarios this
multi-hop forwarding is unreliable, causing intermittent name resolution
failures. Add a --host-network-populator flag (default off) that
switches the populator to --network=host, bypassing aardvark-dns.

The flag is available on both 'cluster start' and 'node add'. The nested
test in hack/test-container-image.sh passes it automatically.

Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alicefr
alicefr force-pushed the investigating-dns-flake branch from 61aee7c to 944daaf Compare May 26, 2026 14:31
@alicefr
alicefr merged commit 99436c6 into main May 27, 2026
6 checks passed
@alicefr
alicefr deleted the investigating-dns-flake branch June 11, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant