docs(getting-started): add netavark and pasta host prep for werf 3 - #849
Draft
alexey-igrychev wants to merge 1 commit into
Draft
docs(getting-started): add netavark and pasta host prep for werf 3#849alexey-igrychev wants to merge 1 commit into
alexey-igrychev wants to merge 1 commit into
Conversation
werf 3 switched the Buildah backend from CNI+slirp4netns to netavark+pasta: netavark must reside in a Podman helper binaries directory and rootless mode needs pasta from the passt package. Add a version-scoped bullet to the Buildah host preparation instructions (EN+RU) and teach install.sh --setup-buildah to install both packages, warning with a manual fallback on distributions that lack them. Signed-off-by: Aleksei Igrychev <aleksei.igrychev@palark.com>
Member
Author
Review focus
Follow-up
|
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
Buildah host preparation for werf 3 now tells the reader to install
netavarkandpasta: withoutnetavark werf 3 fails at Buildah backend initialization, and without pasta a rootless
RUNthatconfigures a network fails (werf/werf#7730).
What
6 configurator sources as chore(docs): update buildah install #769:
netavarkhas to sit in a Podman helper binaries directory because$PATHis not searched, with a release-binary fallback for distributions that have no package, anda rootless build that configures a network also needs
pastafrompasst.install.sh --setup-buildahinstallsnetavark— skipped when a helper directory already has thebinary — and
passt, and warns instead of failing where the packages do not exist. VERIFIED: thedistribution packages do land netavark in a default helper directory (Ubuntu 24.04 →
/usr/lib/podman; Fedora, CentOS Stream and Alpine →/usr/libexec/podman).a run of
install.sh --setup-buildahthere would settle it.--version, not only for 3: the documented command hardcodes--version 2, so a werf-3 gate would stop them installing at all. A werf 2 user gets two extrapackages, and two warnings on a distribution without them.
Why
Nothing in Getting Started mentions either binary, so a host prepared from the current instructions
fails werf 3 at backend initialization — with an error naming a Podman directory that the reader has
no reason to connect to werf.