Description of problem: The code in tripleo-ipa assumes that all of these entries contain a domain and that forward and reverse dns entries should be added. This is true until the user specifies something unrelated in ExtraHostFileEntries. Version-Release number of selected component (if applicable): OSP 16.1 How reproducible: This was reproduced in infrared Steps to Reproduce: The issue occured in infrared with the following configuration: ExtraHostFileEntries: - '1.2.3.4 stillhavemythumb' https://gitlab.cee.redhat.com/pidone/infrapatches/-/commit/706c006f3e14a50998ab7f445fdf93ba606bbcd0 Actual results: The deployment fails with: TASK [tripleo_ipa_dns : set forward dns record values] ************************* Thursday 23 July 2020 15:13:02 +0000 (0:00:00.693) 0:22:05.757 ********* fatal: [undercloud]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: list object has no element 1\n\nThe error appears to be in '/usr/share/ansible/roles/tripleo_ipa_dns/tasks/dns.yaml': line 18, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: set forward dns record values\n ^ here\n"} Expected results: DNS entries are added, deployment succeeds. Additional info: A lachupad bug was reported to gather feedback. The proposal is to only add hosts with cloud domains, all other hosts will be ignored, which will resolve the issue.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenStack Platform (RHOSP) 16.2 enhancement advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2021:3483