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 2203277 - [Backport to 8.X] DHCP based installation shall allow creation network bonding and allowing custom/specifying routes with nmstate.
Summary: [Backport to 8.X] DHCP based installation shall allow creation network bondin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: nmstate
Version: 8.8
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Gris Ge
QA Contact: Mingyu Shi
URL:
Whiteboard:
Depends On: 2169982
Blocks: 2213554 2213555
TreeView+ depends on / blocked
 
Reported: 2023-05-11 17:47 UTC by Parikshit Khedekar
Modified: 2023-11-14 16:14 UTC (History)
11 users (show)

Fixed In Version: nmstate-1.4.4-3.el8
Doc Type: No Doc Update
Doc Text:
Clone Of: 2169982
: 2213554 2213555 (view as bug list)
Environment:
Last Closed: 2023-11-14 15:26:03 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github nmstate nmstate pull 2353 0 None Merged [nmstate-1.4] ip: Support static route with auto ip 2023-06-06 18:03:23 UTC
Red Hat Issue Tracker NMT-538 0 None None None 2023-05-11 17:48:55 UTC
Red Hat Issue Tracker RHELBU-2303 0 None None None 2023-05-30 07:58:07 UTC
Red Hat Issue Tracker RHELPLAN-156994 0 None None None 2023-05-11 17:49:03 UTC
Red Hat Product Errata RHBA-2023:6918 0 None None None 2023-11-14 15:26:35 UTC

Comment 4 Gris Ge 2023-05-19 10:00:27 UTC
RHEL 8.6 backport scratch build created at https://people.redhat.com/fge/bz_2203277/

Comment 5 Gris Ge 2023-05-19 10:01:40 UTC
Patch sent to upstream: https://github.com/nmstate/nmstate/pull/2353

It supports static route on auto IP interface, for example:

```yml
---
interfaces:
  - name: eth1
    type: ethernet
    state: up
    ipv4:
      dhcp: true
      enabled: true
    ipv6:
      dhcp: true
      autoconf: true
      enabled: true
routes:
  config:
  - destination: 198.51.100.0/24
    metric: 150
    next-hop-address: 192.0.2.1
    next-hop-interface: eth1
    table-id: 254
  - destination: 2001:db8:2::/64
    metric: 151
    next-hop-address: 2001:db8:1::2
    next-hop-interface: eth1
```

Comment 8 Vinayak Sharma 2023-05-22 10:23:19 UTC
Hi @Gris

Please find reply from customer over the case regarding the outcome when they used binaries at https://people.redhat.com/fge/bz_2203277/

---
Hi Vinayak/Parikshit,

After install the rpm am able to created the image successfully. but when i boot the image agent service is failed to start. please find the attached snapshot. 
ocp registry is mirrored with 4.12.10

[root@bastion ~]# openshift-install --dir socp4 agent create image
WARNING The ImageContentSources configuration in install-config.yaml should have at-least one source field matching the releaseImage value quay.io/openshift-release-dev/ocp-release@sha256
INFO The rendezvous host IP (node0 IP) is 10.40.1.55
INFO Extracting base ISO from release payload
INFO Verifying cached file
INFO Using cached Base ISO /root/.cache/agent/image_cache/coreos-x86_64.iso
INFO Consuming Install Config from target directory
INFO Consuming Agent Config from target directory
[root@bastion ~]#
---------------------------------------------------------------------------------
[root@bastion ~]# cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="8.8 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.8 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.8
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.8"
--------------------------------
We will using this environment for other work form Monday onwards. Due to that could you please validate and confirm us.
 

Thanks,
Narthan S

---

Comment 10 Gris Ge 2023-05-23 06:51:54 UTC
Openshift agent installer indicate this is a dependency loop. To solve the problem, the fix should be exist both in RHEL 8.6 and OCP 4.12.

Since above customer reply indicate the nmstate works well in RHEL 8.6, let's move on to ship and then follow up the OCP shipment.

Comment 18 Mingyu Shi 2023-06-29 07:17:29 UTC
Verified with:
nmstate-1.4.4-3.el8.x86_64
nispor-1.2.10-1.el8.x86_64
NetworkManager-1.40.16-7.el8.x86_64
DISTRO=RHEL-8.9.0-updates-20230623.40

Comment 19 Vinayak Sharma 2023-08-16 07:15:26 UTC
Hi Team

When will this issue be backported to Core OS. Is there any update on same ?

Comment 20 Gris Ge 2023-08-17 06:59:39 UTC
Hi Vinayak,

The current(10ea0277b3b5) `registry.ci.openshift.org/ocp/4.12:base` already contains the fix: `nmstate-1.4.4-2.el8_6`.

Do you need me to find the exact OCP version shipping it?

Comment 21 Gris Ge 2023-08-21 09:14:45 UTC
Hi Vinayak,

The OCP 4.12.27 and later versions contained the fix/feature of this bug.

Comment 23 errata-xmlrpc 2023-11-14 15:26:03 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 (nmstate bug fix and enhancement 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/RHBA-2023:6918


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