Site icon GetPageSpeed

leapp upgrade fails with KeyError on persistentnetnamesconfig/actor.py

Operating System and Software

  • Rocky Linux 8
  • leapp
  • observed on VirtualBox (unsupported hypervisor)

Problem

  • While attempting an upgrade from CentOS 7 to Rocky Linux 8 via leapp, the persistentnetnamesconfig actor fails with a KeyError

How to Fix

  • Change the network drivers being used on the interfaces to a driver that is available on both CentOS 7 and Rocky Linux 8

Origin of the Problem

  • This issue can be caused when some network drivers are used on CentOS 7 which are not available on Rocky Linux 8
  • Specifically, this has been seen when utilizing the pcnet32 driver on networking interfaces, which was removed on Rocky Linux 8

Diagnostic Steps

  • The end of the traceback output will normally look like the following output, with the ’00:aa:bb:cc:dd:ee:ff’ reflecting the MAC address of one of your networking interfaces:
[300.300000] upgrade[426]:     rhel8_name = rhel8_ifaces_map[iface.mac].name
[300.300001] upgrade[426]:  KeyError: '00:aa:bb:cc:dd:ee:ff'
Exit mobile version