Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-82427

nm-initrd-generator: bonding arp_ip_target option not parsed correctly

Linking RHIVOS CVEs to...Migration: Automation ...RHELPRIO AssignedTeam ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • No
    • Moderate
    • 1
    • rhel-net-mgmt
    • ssg_networking
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • NMT SST - 2025Q2
    • Hide

      Definition of Done:

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      ( ) The acceptance criteria defined below are met.

      Given a system administrator configures bonding interfaces via dracut kernel cmdline using multiple arp_ip_target IP addresses separated by semicolons,

      When the system boots and nm-initrd-generator processes these parameters,

      Then multiple arp_ip_target IP addresses are parsed correctly, creating corresponding dispatcher scripts without errors or manual intervention.

      Definition of Done:

      • The implementation meets the acceptance criteria
      • Integration tests are written and pass
      • The code is part of a downstream build attached to an errata

      ( ) Code changes are included in a downstream build attached to an errata.


      ( ) All required testing (manual and/or automated) passes successfully.


      ( ) Related documentation updates (if applicable) have been completed.

      Show
      Definition of Done: Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. Given a system administrator configures bonding interfaces via dracut kernel cmdline using multiple arp_ip_target IP addresses separated by semicolons, When the system boots and nm-initrd-generator processes these parameters, Then multiple arp_ip_target IP addresses are parsed correctly, creating corresponding dispatcher scripts without errors or manual intervention. Definition of Done: The implementation meets the acceptance criteria Integration tests are written and pass The code is part of a downstream build attached to an errata ( ) Code changes are included in a downstream build attached to an errata. ( ) All required testing (manual and/or automated) passes successfully. ( ) Related documentation updates (if applicable) have been completed.
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Attempting to set multiple IP addresses in the arp_ip_target bonding option using the documented dracut syntax (semicolon-separated IPs). This is initially created from https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1731

      What is the impact of this issue to you?

      nm-initrd-generator correctly accepts multiple IP addresses separated by semicolons in the arp_ip_target bonding option, as specified by the dracut documentation.

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      Always

      Steps to reproduce

      Configure bonding via kernel cmdline using dracut with multiple arp_ip_target addresses separated by semicolons:
       

      bond=bond0:eth0,eth1:mode=active-backup,arp_ip_target=1.2.3.4;5.6.7.8,arp_interval=200

      Check logs for errors from NetworkManager (nm-initrd-generator).

      Expected results

      nm-initrd-generator successfully parses the bonding option:

      arp_ip_target=1.2.3.4;5.6.7.8

      without errors.

      Actual results

      Error message occurs, and the bonding configuration is not correctly parsed:
       

      <warn> [1741272519.7582] cmdline-reader: Ignoring invalid bond option: "arp_ip_target" = "1.2.3.4;5.6.7.8": '1.2.3.4;5.6.7.8' is not a valid IPv4 address for 'arp_ip_target' option

              rh-ee-sfaye Stanislas Faye
              rh-ee-sfaye Stanislas Faye
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: