leapp fails on the check_bind actor with `IndexError: string index out of range`
Issue
leapp upgrade fails during the check_bind actor
2024-03-21 11:24:52.976 ERROR PID: 57439 leapp.workflow.Checks: Actor check_bind has crashed: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 74, in _do_run actor_instance.run(*args, **kwargs) File "/usr/lib/python2.7/site-packages/leapp/actors/__init__.py", line 289, in run self.process(*args) File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/checkbind/actor.py", line 32, in process facts = iscmodel.get_facts('/etc/named.conf') File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/actors/checkbind/libraries/iscmodel.py", line 81, in get_facts parser.walk(cfg.root_section(), find_calls, state) File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/libraries/isccfg.py", line 879, in walk for statement in it: File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/libraries/isccfg.py", line 223, in __next__ statement = next(self.iter) File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/libraries/isccfg.py", line 181, in __next__ val = self.parser.find_next_key(cfg, index, self.section.end) File "/usr/share/leapp-repository/repositories/system_upgrade/el7toel8/libraries/isccfg.py", line 689, in find_next_key while istr[index] in self.CHAR_KEYWORD and index < end_index: IndexError: string index out of range
Environment
Red Hat Enterprise Linux 7
leapp upgrade
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.