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: VERIFIED
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-08-17 06:59 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:
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

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?


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