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

leapp upgrade creates wrong link files for bond NICs

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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • rhel-8.10
    • leapp-repository
    • None
    • No
    • Low
    • rhel-upgrades
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      Lot of our customer face issue when they do leapp upgrade of RHEL systems with bond interface because the leap file created for a bond NICs carry same MAC address and interface names get changed after reboot leading to inconsistent bonding. Eg:

      Before upgrade:
      +++
      $ cat proc/net/bonding/bond1 |grep -e 'Slave Interface' -e 'Permanent HW addr'
      Slave Interface: enp55s1f0
      Permanent HW addr: aa:bb:cc:20:00:4a
      Slave Interface: enp55s1f1
      Permanent HW addr: aa:bb:cc:20:00:4b
      +++

      But the leap file created is:

      $ cat etc/systemd/network/10-leapp-enp55s1f

      {0,1}

      .link

      1. Generated by LEAPP
        [Match]
        MACAddress=aa:bb:cc:20:00:4a
        [Link]
        Name=enp55s1f0
      1. Generated by LEAPP
        [Match]
        MACAddress=aa:bb:cc:20:00:4a <--------- same mac. So the renaming failed
        [Link]
        Name=enp55s1f1
        +++

      The bond slaves will always carry same MAC address for its slave. Actual MAC address can be read from '/proc/net/bonding/<bond-name>' file.

      The issue is described in your knowledge base article https://access.redhat.com/solutions/7071412 where its suggested to set ' LEAPP_NO_NETWORK_RENAMING=1' as its known issue and suggested for manual configuration of bond devices. I guess the leapp man page also indicate same.

      But since many of our customer affected, can we fix this issue ? I see the issue is getting noticed only after upgrade and customer opens the case with us

              leapp-notifications leapp-notifications
              rhn-support-surkumar Suresh Kumar
              leapp-notifications leapp-notifications
              RHEL Upgrades QE Team RHEL Upgrades QE Team
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: