CI: add Rawhide (Podman 6) - #404
Draft
AkihiroSuda wants to merge 1 commit into
Draft
Conversation
Two issues had to be addressed for the Rawhide CI job:
1. Fedora 46 confines SSH sessions in the new `sshd_session_t` SELinux
domain, which is not allowed to `name_connect` to most TCP ports.
`ssh -L PORT:127.0.0.1:PORT` (used for accessing kube-apiserver from
outside the host) fails with a silent (dontaudit) denial, surfacing as
"connection reset by peer" on the tunnel client.
Install a CIL policy module allowing the connection; the `optional`
block makes it a NOP on distros that do not define `sshd_session_t`.
2. pasta copies the host's IP address into the rootless network namespace
by default, so connections from inside the node to HOST_IP:PORT
(e.g., the ClusterIP of the "kubernetes" service resolving to the
published kube-apiserver port, or kubelet's ExternalIP) terminate at
the namespace's own tap device instead of hairpinning via the host.
This crashed kube-flannel ("Failed to create SubnetManager") and left
CoreDNS in ContainerCreating.
Configure `pasta_options` with a dedicated address (same as the
slirp4netns default) so that such connections are routed out to the
host.
Verified locally on macOS/Lima with
LIMA_TEMPLATE=template://experimental/fedora-rawhide:
create-cluster-lima.sh, test-smoke.sh, and the restart persistency test
all pass.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.