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

the eth check is too simplistic and fails when customers have a persistent rule for eth devices

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

    • None
    • Low
    • rhel-upgrades
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None
    • 57,005

      *Issue*

      Leapp checks for, and inhibits, systems with more than 1 eth interface.

      Inhibitor: Unsupported network configuration

      This looks for more than 1 eth interface and inhibits.

          def ethX_count(self, interfaces):
              ethX = re.compile('eth[0-9]+')
              count = 0
      
          def process(self):
              interfaces = next(self.consume(PersistentNetNamesFacts)).interfaces
      
              if self.single_eth0(interfaces):
                  self.disable_persistent_naming()
              elif len(interfaces) > 1 and self.ethX_count(interfaces) > 0:
                  create_report([
                      reporting.Title('Unsupported network configuration'),
                      reporting.Summary(
                          'Detected multiple physical network interfaces where one or more use kernel naming (e.g. eth0). '
                          'Upgrade process can not continue because stability of names can not be guaranteed. '
                          'Please read the article at https://access.redhat.com/solutions/4067471 for more information.'
                      ),
      

      The article mentioned: https://access.redhat.com/solutions/4067471 tells you to make a udev persistent rule in /etc/udev/rules.d/

      Customers who make this file for their eth faces still hit the inhibitor and have to change their system to say anything but eth.

      *Request*
      If a customer wants to use eth as names, that should be allowed as long as they've created the persistent udev rule. We need to add a check for a udev configuration file before inhibiting on systems with more than 1 eth interface.

              leapp-notifications leapp-notifications
              rhn-support-jcastran John Castranio
              leapp-notifications leapp-notifications
              RHEL Upgrades QE Team RHEL Upgrades QE Team
              Miriam Portman Miriam Portman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: