When running integration tests, ipa-server-install fails with "list index out of range error". The error is caused by incorrectly formatted /etc/hosts file, but it should not cause parser to fail.
Example of the /etc/hosts file:
10.34.78.1 localmirror.domain.com localmirror 2620:52:0:224e:21a:4aff:fe23:1238 localmirror.domain.com localmirror 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 10.34.48.31 name.domain2.com 2620:52:0:227f:21e:4fff:fe28:7da8 name.domain2.com 2620:52:0:224e:21a:4aff:fe23:1373 10.34.58.240 vm.ipadomain.com vm
see also #6070
IMO it was fixed already in python DNS, we may need to bump dependencies: https://github.com/rthalley/dnspython/commit/13347e2450c7bfa928eb80b01850e52dfa095802
Closing this ticket #6070 is the same issue.
Metadata Update from @lryznaro: - Issue assigned to someone - Issue set to the milestone: Future Releases
Login to comment on this ticket.