Skip to content

podman build + workdir(?): Error adding network: failed to setup hairpin mode for veth3e067d53: operation not supported #11010

@edsantiago

Description

@edsantiago

This seems to be correlated with podman run of an image built with workdir. (It is not for me to understand why):

# podman build ...
...
STEP 5/25: WORKDIR /emkbn7Pa2r
...
# podman run thatimage ...
time="2021-07-15T13:33:54-05:00" level=error msg="error loading cached network config: network \"podman\" not found in CNI cache"
time="2021-07-15T13:33:54-05:00" level=warning msg="falling back to loading from existing plugins on disk"
Error: error configuring network namespace for container d7934ec1abb74c0fc57d5540482798f665bb41874ed916bc7603645ad7df622f: error adding pod boring_dhawan_boring_dhawan to CNI network "podman": failed to setup hairpin mode for vethb0252915: operation not supported
[ rc=126 (** EXPECTED 0 **) ]

Note the "error adding pod" message, despite no pods anywhere. Note also that "veth" appears in another buildah flake, containers/buildah#2628, although there it's "failed to make veth pair".

Podman network connect and disconnect [It] podman network connect when not running

sys: podman build - workdir, cmd, env, label

Podman containers [It] podman kill latest container with SIGTERM

Also in a int-podman-fedora-34-root-container run that my flake referencer didn't seem to find

Also right now in my own PR, in sys-podman-fedora-34-root-host (not yet indexed by my flake catcher)

Metadata

Metadata

Assignees

No one assigned

    Labels

    flakesFlakes from Continuous Integrationlocked - please file new issue/PRAssist humans wanting to comment on an old issue or PR with locked comments.stale-issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions