-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
network create no longer creates a gateway by default #8748
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Comments
openshift-ci-robot
added
the
kind/bug
Categorizes issue or PR as related to a bug.
label
Dec 16, 2020
ondrejbudai
added a commit
to ondrejbudai/koji-osbuild
that referenced
this issue
Dec 16, 2020
Podman 2.2.0 doesn't create a gateway by default. See: containers/podman#8748 This commits introduces a workaround: specifying the gateway manually. Note that the gateway is used in test/run-builder.sh
ondrejbudai
added a commit
to osbuild/koji-osbuild
that referenced
this issue
Dec 16, 2020
Podman 2.2.0 doesn't create a gateway by default. See: containers/podman#8748 This commits introduces a workaround: specifying the gateway manually. Note that the gateway is used in test/run-builder.sh
based on the author's comments, it isnt needed: https://github.com/containers/podman/blob/master/libpod/network/create.go#L156 |
Luap99
pushed a commit
to Luap99/libpod
that referenced
this issue
Dec 16, 2020
`podman network create` should always add a gateway to the cni config. If no gateway is given use the first ip in the subnet. CNI does not require the gateway field but we need it because of network inspect. This worked with previous version but was dropped in Commit(e7a72d7). Fixes containers#8748 Signed-off-by: Paul Holzinger <paul.holzinger@web.de>
github-actions
bot
added
the
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
label
Sep 22, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
podman network create
used to create a default gateway if it wasn't provided. This behavior was removed in 2.2.0, see this diff: e7a72d7#diff-1203e6d536d51fdb4f55e4a605d74cc02986bb5b934027f576dbf8faf91ff6b9L66-L69Steps to reproduce the issue:
podman network create test
podman inspect test
Describe the results you received:
Describe the results you expected:
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
The text was updated successfully, but these errors were encountered: