Skip to content

fix(server): respect OPENSHELL_PODMAN_SOCKET env var in embedded driver#1483

Open
russellb wants to merge 1 commit into
NVIDIA:mainfrom
russellb:fix/podman-socket-env-var
Open

fix(server): respect OPENSHELL_PODMAN_SOCKET env var in embedded driver#1483
russellb wants to merge 1 commit into
NVIDIA:mainfrom
russellb:fix/podman-socket-env-var

Conversation

@russellb
Copy link
Copy Markdown
Contributor

Summary

When the Podman driver runs embedded in the gateway (the common deployment path), OPENSHELL_PODMAN_SOCKET was ignored. The env var was only wired up via clap in the standalone openshell-driver-podman binary. This applies it as a post-deserialization override in the gateway, matching the existing OPENSHELL_K8S_WORKSPACE_DEFAULT_STORAGE_SIZE pattern.

Related Issue

Closes #1446

Changes

  • Apply OPENSHELL_PODMAN_SOCKET env var override after TOML config deserialization in build_compute_runtime(), consistent with how OPENSHELL_K8S_WORKSPACE_DEFAULT_STORAGE_SIZE is handled for the Kubernetes driver

Testing

  • mise run pre-commit passes
  • cargo test -p openshell-server passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

The env var was only wired up via clap in the standalone
openshell-driver-podman binary. When the Podman driver runs embedded
in the gateway, config came exclusively from TOML deserialization and
the env var was never consulted. Apply it as a post-deserialization
override, matching the existing OPENSHELL_K8S_WORKSPACE_DEFAULT_STORAGE_SIZE
pattern.

Closes NVIDIA#1446
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 20, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@TaylorMutch
Copy link
Copy Markdown
Collaborator

/ok to test a4c0571

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.

OPENSHELL_PODMAN_SOCKET doesn't change the path to the podman.sock which is used by openshell-gateway container

2 participants