Repository navigation
fix(e2e): register the k3s tmachine gateways as openshell - #6253
Open
matthewgrossman wants to merge 4 commits into
Open
matthewgrossman wants to merge 4 commits into
matthewgrossman wants to merge 4 commits into
Conversation
The k3s and k3s-ha installers registered their gateway as tmachine only because the openshell_client role defaults to that name. Name it openshell, as the packaged installers do, so every installer a suite row uses registers the same gateway. The HA playbook's mTLS bundle path and baseline removal change with it. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Every installer a row uses registers the gateway openshell, so rows no longer repeat it. A row can still set gateway to override the runner's default. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
github-actions
Bot
requested review from
SDAChess,
TaylorMutch,
elezar and
purp
December 4, 2026 23:30
Default openshell_client_gateway_name to openshell and drop the overrides that repeated it. The binaries installer's gateway.yaml keeps tmachine explicitly. The k3s-ha playbook takes the name from one play var, and the workflow loses its unused gateway override. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
Every installer now registers the gateway openshell, so the test client role needs no per-installer name. The binaries gateway config uses the server defaults for its id, network and sandbox label, and the Podman E2E playbook no longer branches on the installer or re-registers the gateway. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
This branch has not been deployed
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
Register the gateway as
openshellfor every tmachine installer (k3s, k3s-ha and binaries), as the deb and rpm installers already do, and makeopenshelltheopenshell_clientrole's default gateway name.Small change to simplify some future changes on how we specify matrices of tests
Related Issue
No tracking issue. The k3s installers registered
tmachineonly because theopenshell_clientrole defaultsopenshell_client_gateway_nameto it, which forced every k3s row ine2e-suites.ymlto carry agatewayvalue that differs from the packaged rows.Changes
openshell-k3s-ha.yamlwrites the mTLS bundle undergateways/openshell/mtls, removes theopenshellbaseline registration, and re-registers asopenshell, all from one play var. These change together so HA does not registeropenshellwithout its client certificates.e2e-suites.ymldrops thegatewayfield from all rows and the step that passed it; the runner's--gatewaydefault isopenshell.openshell_clientrole defaults toopenshell, and the callers' overrides are gone.openshell) forgateway_id, the Podmannetwork_nameand the Dockersandbox_label.drivers/podman/e2e.yamlno longer branches on the gateway name or re-registers the binaries gateway; it still picks the CLI path by installer.Testing
ansible-playbook --syntax-checkpasses on both k3s playbooksrowsJSON ine2e-suites.ymlparsesChecklist