RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2081349 - podman defaults to old network stack on RHEL9
Summary: podman defaults to old network stack on RHEL9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: podman
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jindrich Novy
QA Contact: Joy Pu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-03 13:47 UTC by Paul Holzinger
Modified: 2022-11-15 10:11 UTC (History)
9 users (show)

Fixed In Version: podman-4.0.3-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-15 09:51:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-120898 0 None None None 2022-05-03 13:58:05 UTC
Red Hat Product Errata RHSA-2022:7954 0 None None None 2022-11-15 09:52:21 UTC

Description Paul Holzinger 2022-05-03 13:47:39 UTC
Description of problem:

When installing podman it will default to the old CNI network stack instead of the new netavark stack because netavark is not installed.

Version-Release number of selected component (if applicable):
# rpm -q podman containers-common
podman-4.0.2-6.el9_0.x86_64
containers-common-1-34.el9_0.x86_64

How reproducible:
always

Steps to Reproduce:
1. dnf install podman

Actual results:

containernetworking-plugins is installed as dependency

Expected results:

netavark is installed as dependency


Additional info:

# dnf install podman 
Dependencies resolved.
======================================================================================================================================================================================================
 Package                                                    Architecture                         Version                                           Repository                                    Size
======================================================================================================================================================================================================
Installing:
 podman                                                     x86_64                               2:4.0.2-6.el9_0                                   rhel-AppStream                                13 M
Installing dependencies:
 conmon                                                     x86_64                               2:2.1.0-1.el9                                     rhel-AppStream                                59 k
 container-selinux                                          noarch                               3:2.179.1-1.el9_0                                 rhel-AppStream                                51 k
 containernetworking-plugins                                x86_64                               1.0.1-3.el9                                       rhel-AppStream                               8.4 M
 containers-common                                          x86_64                               2:1-34.el9_0                                      rhel-AppStream                               101 k
 criu                                                       x86_64                               3.15-13.el9                                       rhel-AppStream                               512 k
 criu-libs                                                  x86_64                               3.15-13.el9                                       rhel-AppStream                                33 k
 crun                                                       x86_64                               1.4.4-2.el9_0                                     rhel-AppStream                               188 k
 fuse-common                                                x86_64                               3.10.2-5.el9                                      rhel                                         9.3 k
 fuse-overlayfs                                             x86_64                               1.8.2-1.el9                                       rhel-AppStream                                74 k
 fuse3                                                      x86_64                               3.10.2-5.el9                                      rhel-AppStream                                58 k
 fuse3-libs                                                 x86_64                               3.10.2-5.el9                                      rhel-AppStream                                94 k
 libnet                                                     x86_64                               1.2-6.el9                                         rhel-AppStream                                61 k
 libslirp                                                   x86_64                               4.4.0-7.el9                                       rhel-AppStream                                72 k
 podman-catatonit                                           x86_64                               2:4.0.2-6.el9_0                                   rhel-AppStream                               353 k
 policycoreutils-python-utils                               noarch                               3.3-6.el9_0                                       rhel-AppStream                                78 k
 protobuf-c                                                 x86_64                               1.3.3-12.el9                                      rhel                                          38 k
 runc                                                       x86_64                               3:1.1.0-2.el9                                     rhel-AppStream                               3.0 M
 shadow-utils-subid                                         x86_64                               2:4.9-3.el9                                       rhel                                          91 k
 slirp4netns                                                x86_64                               1.1.12-4.el9                                      rhel-AppStream                                47 k
 yajl                                                       x86_64                               2.1.0-20.el9                                      rhel-AppStream                                42 k

Comment 1 Jindrich Novy 2022-05-03 14:17:41 UTC
Confirming, I'm about to amend podman dependencies as following:

--- a/podman.spec
+++ b/podman.spec
@@ -67,7 +67,8 @@ BuildRequires: file
 BuildRequires: gcc
 BuildRequires: libtool
 Requires: containers-common >= 2:1-27
-Requires: containernetworking-plugins >= 0.9.1-1
+Suggests: containernetworking-plugins >= 0.9.1-1
+Requires: netavark
 Requires: iptables
 Requires: nftables
 Obsoletes: oci-systemd-hook < 1

Comment 3 Paul Holzinger 2022-05-03 14:55:27 UTC
Can you check the same for buildah? Buildah should also use netavark by default.

Comment 4 Joy Pu 2022-05-13 08:40:38 UTC
checked with podman-4.1.0-2.el9.x86_64.rpm. The netavark already can be install by dependence. So set the Tested flag.
# yum install podman-4.1.0-2.el9.x86_64.rpm podman-catatonit-4.1.0-2.el9.x86_64.rpm
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 2:44:34 ago on Fri 13 May 2022 07:54:37 AM CEST.
Dependencies resolved.
==================================================================================================================================================
 Package                                Architecture               Version                             Repository                            Size
==================================================================================================================================================
Installing:
 podman                                 x86_64                     2:4.1.0-2.el9                       @commandline                          12 M
 podman-catatonit                       x86_64                     2:4.1.0-2.el9                       @commandline                         349 k
Installing dependencies:
 conmon                                 x86_64                     2:2.1.0-1.el9                       beaker-AppStream                      59 k
 container-selinux                      noarch                     3:2.183.0-1.el9                     beaker-AppStream                      51 k
 containers-common                      x86_64                     2:1-34.el9                          beaker-AppStream                     101 k
 criu                                   x86_64                     3.15-13.el9                         beaker-AppStream                     512 k
 criu-libs                              x86_64                     3.15-13.el9                         beaker-AppStream                      33 k
 crun                                   x86_64                     1.4.5-1.el9                         beaker-AppStream                     189 k
 fuse-overlayfs                         x86_64                     1.8.2-1.el9                         beaker-AppStream                      74 k
 fuse3                                  x86_64                     3.10.2-5.el9                        beaker-AppStream                      58 k
 fuse3-libs                             x86_64                     3.10.2-5.el9                        beaker-AppStream                      94 k
 libnet                                 x86_64                     1.2-6.el9                           beaker-AppStream                      61 k
 libslirp                               x86_64                     4.4.0-7.el9                         beaker-AppStream                      72 k
 netavark                               x86_64                     2:1.0.1-34.el9                      beaker-AppStream                     1.9 M
 protobuf-c                             x86_64                     1.3.3-12.el9                        beaker-BaseOS                         38 k
 runc                                   x86_64                     3:1.1.0-2.el9                       beaker-AppStream                     3.0 M
 shadow-utils-subid                     x86_64                     2:4.9-4.el9                         beaker-BaseOS                         90 k
 slirp4netns                            x86_64                     1.2.0-1.el9                         beaker-AppStream                      49 k
 yajl                                   x86_64                     2.1.0-20.el9                        beaker-AppStream                      42 k
Installing weak dependencies:
 aardvark-dns                           x86_64                     2:1.0.1-34.el9                      beaker-AppStream                     1.0 M
 tar                                    x86_64                     2:1.34-3.el9                        beaker-BaseOS                        894 k

Transaction Summary
==================================================================================================================================================
Install  21 Packages

Total size: 21 M
Total download size: 8.3 M
Installed size: 75 M
Is this ok [y/N]:

Comment 9 errata-xmlrpc 2022-11-15 09:51:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: podman security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:7954


Note You need to log in before you can comment on or make changes to this bug.