Skip to content
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

podman pod inspect HostNetwork does not work #14028

Closed
Luap99 opened this issue Apr 27, 2022 · 0 comments · Fixed by #14039
Closed

podman pod inspect HostNetwork does not work #14028

Luap99 opened this issue Apr 27, 2022 · 0 comments · Fixed by #14039
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

@Luap99
Copy link
Member

Luap99 commented Apr 27, 2022

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind bug

Description

The host HostNetwork field is always true even when the pod uses a private netns.

This caused #14015 because the regression test was checking this field.

Steps to reproduce the issue:

  1. podman pod create --name t --share net --network private

  2. podman pod inspect t --format {{.InfraConfig.HostNetwork}}

Describe the results you received:
true

Describe the results you expected:
false

Output of podman version:

latest main

@openshift-ci openshift-ci bot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 27, 2022
rhatdan added a commit to rhatdan/podman that referenced this issue Apr 27, 2022
Fixes: containers#14028

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan added a commit to rhatdan/podman that referenced this issue Apr 27, 2022
Fixes: containers#14028

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan added a commit to rhatdan/podman that referenced this issue Apr 28, 2022
Fixes: containers#14028

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
rhatdan added a commit to rhatdan/podman that referenced this issue Apr 28, 2022
Fixes: containers#14028

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
mheon pushed a commit to mheon/libpod that referenced this issue May 3, 2022
Fixes: containers#14028

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
gbraad pushed a commit to gbraad-redhat/podman that referenced this issue Jul 13, 2022
Fixes: containers#14028

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
@github-actions 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 20, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 20, 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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant