Justify and check the minimum supported Podman version for workers
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- debian, python
- Domain
- devops, infrastructure
Research direction
Start by checking the Podman commands in Makefile:394 and Makefile:802-810, then verify their flags against candidate versions and the Debian 13 package. Check secret removal on the minimum and Debian 13 versions, recording the observed behavior for Makefile:385-389 and docs/user-manual.md:1358-1366. Add version checks to setup-scripts/debian13-worker and ops/release/install-release.sh, then cover warning and quiet cases with Bats tests and add an Unreleased CHANGELOG entry.
Written by the indexing model from the issue text.
Description
Problem
The docs say workers need Podman 4.4 or later (client/README.md:21, docs/user-manual.md:241, docs/user-manual.md:474). Nothing records why 4.4 was chosen, and nothing checks it:
- The worker installer in
setup-scripts/debian13-workerdoes not check the Podman version. - The pre-swap gate of
ops/release/install-release.shdoes not check it either. - The only Podman feature check is the aardvark-dns probe of
make up client(Makefile:802-810).
The worker now depends on newer Podman features. The egress key enters the worker and the proxy as a Podman secret injected as an environment variable, with a target name (--secret <name>,type=env,target=ORCH_EGRESS_KEY, Makefile:394). It is not shown that every 4.4 release supports all flags that make up client passes.
The docs also describe what happens when that secret is removed: containers created with it no longer start, and neither does the systemd --user unit. The comment says this was verified on Podman 6.0.2 only (Makefile:385-389). The rotation and rollback steps in docs/user-manual.md:1358-1366 depend on it.
Proposed change
- Find the lowest Podman version on which every flag of
make up clientandmake up proxyworks, including--secret ...,type=env,target=...and the--internalnetwork setup. Update the minimum inclient/README.mdanddocs/user-manual.mdif it is not 4.4, and write down how it was found. - Check the behavior after
podman secret rmon the minimum version and on the Podman package of Debian 13 (the platform the setup scripts target). Correct the comment atMakefile:385-389and the rotation text indocs/user-manual.mdif they differ. - Add a version check to the worker installer and to the pre-swap gate of
install-release.sh. Read the version withpodman version --format '{{.Client.Version}}'as the worker user. Below the minimum, print the installed and the required version. - Out of scope, to track separately: moving the autostart from
podman generate systemd(setup-scripts/debian13-worker/06-autostart.sh:158,:177) to Quadlet units.
Compatibility
Existing worker hosts must not start failing deploys because of this check.
Guard:
- The minimum must not be higher than the Podman package of Debian 13. A host built with the setup scripts must always pass.
- For one release, the check in
install-release.shonly prints a WARNING below the minimum and does not abort. A later release can turn it into an abort, announced in the CHANGELOG. - If
podman versionfails or prints something that cannot be parsed, the check warns and continues. It never blocks a deploy because of its own error.
Acceptance criteria
-
client/README.mdanddocs/user-manual.mdstate the same minimum version and how it was determined. - The secret-removal behavior is checked on the minimum version and on the Debian 13 package, and the docs say what was observed on each.
- Bats test: the installer and
install-release.shwarn below the minimum (fakepodmanonPATH) and stay quiet at or above it. - Bats test: an unparsable
podman versionoutput warns and does not abort. - Existing deployments keep deploying without config changes. No deploy aborts on Podman version in this release.
- CHANGELOG entry under Unreleased.
Open questions
- Should a later release abort below the minimum, or keep the warning? Warn-only is the option that cannot break existing deployments.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 10
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AInvirion/orcaster
-
enhancement P3 server
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
enhancement good first issue P3 server
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug P2 server
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
bug P3 server
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
enhancement P3 server
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
All issues in AInvirion/orcaster
Similar issues
-
[Resource]: SpaicelyOpenresource-submission validation-passed
Difficulty 1/5 Under an hour Newbie friendliness 68/100
hesreallyhim/awesome-claude-code#3875 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
bvis/aegis-hass#725 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xPossibly taken @NimaVaziri claimed this today. OpenPytorch
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/TensorRT-LLM#23406 ·
Maintainers usually reply within 1 day