Issue
*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.