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 1739961 - cannot find "static" IPAM module and IPAM support for the host-device module
Summary: cannot find "static" IPAM module and IPAM support for the host-device module
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: containernetworking-plugins
Version: 8.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: rc
: 8.0
Assignee: Jindrich Novy
QA Contact: Martin Jenner
URL:
Whiteboard:
Depends On:
Blocks: 1186913 1734574
TreeView+ depends on / blocked
 
Reported: 2019-08-12 01:56 UTC by Suhaas Bhat
Modified: 2020-11-14 07:06 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 21:02:57 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:3403 0 None None None 2019-11-05 21:03:21 UTC

Description Suhaas Bhat 2019-08-12 01:56:34 UTC
Description of problem:
1. "static" IPAM module  (https://github.com/containernetworking/plugins/pull/136 and https://github.com/containernetworking/plugins/pull/165)

2. IPAM support for the host-device module (https://github.com/containernetworking/plugins/pull/220)

Version-Release number of selected component (if applicable):
containernetworking-plugins-0.8.1-2.module+el8.1.0+3888+8b36fd52.x86_64

Comment 4 Alex Jia 2019-09-27 09:33:07 UTC
This bug has been verified in containernetworking-plugins-0.8.1-2.module+el8.1.0+4081+b29780af.x86_64

[root@kvm-06-guest17 ~]# rpm -q containernetworking-plugins
containernetworking-plugins-0.8.1-2.module+el8.1.0+4081+b29780af.x86_64

[root@kvm-06-guest17 ~]# ip netns ls
cni-f84f15ab-c7c4-ec64-018f-791b45e7353c (id: 0)

[root@kvm-06-guest17 ~]# ip netns add mycninet

[root@kvm-06-guest17 ~]# ip netns ls
mycninet
cni-f84f15ab-c7c4-ec64-018f-791b45e7353c (id: 0)

[root@kvm-06-guest17 ~]# cat bridge.conf
{
  "cniVersion": "0.4.0",
  "name": "dbnet",
  "type": "bridge",
  "bridge": "cni0",
  "ipam": {
    "type": "host-local",
    "subnet": "10.1.0.0/16",
    "gateway": "10.1.0.1"
  },
  "dns": {
    "nameservers": [ "10.1.0.1" ]
  }
}

[root@kvm-06-guest17 ~]# ip netns exec mycninet ifconfig -a
lo: flags=8<LOOPBACK>  mtu 65536
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@kvm-06-guest17 ~]# CNI_COMMAND=ADD CNI_CONTAINERID=1234567890 CNI_NETNS=/var/run/netns/mycninet CNI_IFNAME=eth0 CNI_PATH=/usr/libexec/cni/ /usr/libexec/cni/bridge < bridge.conf 
{
    "cniVersion": "0.4.0",
    "interfaces": [
        {
            "name": "cni0",
            "mac": "2a:fe:85:73:a1:9c"
        },
        {
            "name": "vethff4df6f3",
            "mac": "4e:1c:fb:85:74:3b"
        },
        {
            "name": "eth0",
            "mac": "4a:a4:a8:bd:a5:a0",
            "sandbox": "/var/run/netns/mycninet"
        }
    ],
    "ips": [
        {
            "version": "4",
            "interface": 2,
            "address": "10.1.0.3/16",
            "gateway": "10.1.0.1"
        }
    ],
    "dns": {
        "nameservers": [
            "10.1.0.1"
        ]
    }
}[root@kvm-06-guest17 ~]#ip netns exec mycninet ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.1.0.3  netmask 255.255.0.0  broadcast 10.1.255.255
        inet6 fe80::48a4:a8ff:febd:a5a0  prefixlen 64  scopeid 0x20<link>
        ether 4a:a4:a8:bd:a5:a0  txqueuelen 0  (Ethernet)
        RX packets 7  bytes 586 (586.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 628 (628.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=8<LOOPBACK>  mtu 65536
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Comment 6 errata-xmlrpc 2019-11-05 21:02:57 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, 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-2019:3403


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