test(test-guest): support rootful Podman gateways - #3184
Open
elezar wants to merge 1 commit into
Open
Conversation
elezar
requested review from
a team,
derekwaynecarr,
mrunalp and
sjenning
as code owners
September 4, 2026 12:02
7 tasks
elezar
enabled auto-merge
September 4, 2026 12:31
elezar
disabled auto-merge
September 4, 2026 12:55
Signed-off-by: Evan Lezar <elezar@nvidia.com>
elezar
force-pushed
the
codex/rootful-podman-test-guest
branch
from
September 4, 2026 13:10
35374e3 to
5f2ac04
Compare
6 tasks
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.
Summary
Add reusable test-guest configuration for rootful Podman and consolidate Podman gateway provisioning behind a single mode-aware role. This provides the VM and Ansible foundation needed by the delayed-bind fix and its conformance coverage in PR #2874.
Related Issue
No issue required: this is focused test infrastructure for the localized Fedora rootful Podman regression addressed by PR #2874.
Changes
gateway-podmanrole that selects the root oropenshellservice account from the configured Podman mode.Try it in a VM
To inspect the rootful Podman configuration on this PR:
nix run .#test-guest -- \ --distro fedora \ --with podman-rootfulThe runner opens an interactive SSH session after configuring the guest. Verify the rootful runtime and API socket with:
sudo podman info --format "{{.Host.Security.Rootless}}" sudo systemctl status podman.socketThe Podman rootless value should be
false.To exercise the complete RPM gateway path, apply the stacked delayed-bind fix from PR #2874 and run:
nix run .#test-guest -- \ --distro fedora \ --with podman-rootful \ --with selinux \ --install ./openshell.rpm \ --install ./openshell-gateway.rpm \ --provision openshell-rpm \ --provision gateway-podmanWithout PR #2874, the full gateway invocation exposes the delayed bridge-bind failure that the stacked PR fixes. With the fix applied, provisioning waits for the root-owned gateway to become healthy and then opens the interactive SSH session.
Testing
mise run pre-commitpassesnix run .#test-guest -- --listChecklist