I’m running into an issue with upgrading Alma8.9 to Alma9.
When running the leapp preupgrade, I get the following error:
====> * network_deprecations
Ensures that network configuration doesn’t rely on unsupported settings
Process Process-167:
Traceback (most recent call last):
File “/usr/lib64/python3.6/multiprocessing/process.py”, line 258, in _bootstrap
self.run()
File “/usr/lib64/python3.6/multiprocessing/process.py”, line 93, in run
self._target(*self._args, **self._kwargs)
File “/usr/lib/python3.6/site-packages/leapp/repository/actor_definition.py”, line 74, in _do_run
actor_instance.run(*args, **kwargs)
File “/usr/lib/python3.6/site-packages/leapp/actors/init.py”, line 289, in run
self.process(*args)
File “/etc/leapp/repos.d/system_upgrade/el8toel9/actors/networkdeprecations/actor.py”, line 23, in process
networkdeprecations.process()
File “/etc/leapp/repos.d/system_upgrade/el8toel9/actors/networkdeprecations/libraries/networkdeprecations.py”, line 27, in process
cp = utils.parse_config(open(path, mode=‘r’).read())
File “/etc/leapp/repos.d/system_upgrade/common/libraries/utils.py”, line 33, in parse_config
parser.read_string(cfg)
File “/usr/lib64/python3.6/configparser.py”, line 722, in read_string
self.read_file(sfile, source)
File “/usr/lib64/python3.6/configparser.py”, line 717, in read_file
self._read(f, source)
File “/usr/lib64/python3.6/configparser.py”, line 1079, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: ‘’, line: 2
‘TYPE=Ethernet\n’