Bonding on VLAN with kickstart makes traceback: 'NoneType' object has no attribute 'get_mac_address' in Red Hat Enterprise Linux 8.4

Solution Unverified - Updated -

Issue

The Red Hat Enterprise Linux 8 kickstart installation failed for Bonding on VLAN configuration with the following python traceback.

07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:ERROR:anaconda.modules.common.task.task:Thread AnaTaskThread-ApplyKickstartTask-1 has failed: Traceback (most recent call last):
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:  File "/usr/lib64/python3.6/site-packages/pyanaconda/threading.py", line 280, in run
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:    threading.Thread.run(self)
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:  File "/usr/lib64/python3.6/threading.py", line 864, in run
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:    self._target(*self._args, **self._kwargs)
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:  File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/common/task/task.py", line 97, in _task_run_callback
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:    self._set_result(self.run())
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:  File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/network/utils.py", line 130, in wrapped
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:    return function(*args, **kwargs)
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:  File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/network/initialization.py", line 129, in run
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:    device_name=device_name)
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:  File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/network/nm_client.py", line 583, in update_connection_from_ksdata
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:    bind_connection(nm_client, connection, network_data.bindto, device_name)
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:  File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/network/nm_client.py", line 765, in bind_connection
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:    modified = bind_settings_to_device(nm_client, s_con, s_wired, device_name, bind_exclusively)
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:  File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/network/nm_client.py", line 712, in bind_settings_to_device
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:    mac_address = s_wired.get_mac_address()
07:12:05,582 WARNING org.fedoraproject.Anaconda.Modules.Network:AttributeError: 'NoneType' object has no attribute 'get_mac_address'

Environment

Red Hat Enterprise Linux (RHEL) 8.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In