Bug 1869174 - Adding a host without a domain or with a different domain causes failures with tls everywhere enabled
Summary: Adding a host without a domain or with a different domain causes failures wit...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: ansible-tripleo-ipa
Version: 16.1 (Train)
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: beta
: 16.2 (Train on RHEL 8.4)
Assignee: Grzegorz Grasza
QA Contact: Jeremy Agee
URL:
Whiteboard:
Depends On:
Blocks: 1984483
TreeView+ depends on / blocked
 
Reported: 2020-08-17 07:30 UTC by Grzegorz Grasza
Modified: 2022-08-30 14:51 UTC (History)
3 users (show)

Fixed In Version: ansible-tripleo-ipa-0.2.1-1.20210407143429.3bb3c53.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1984483 (view as bug list)
Environment:
Last Closed: 2021-09-15 07:08:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1889105 0 None None None 2020-08-17 07:30:25 UTC
OpenStack gerrit 761398 0 None MERGED Skip entries not in cloud_domain 2021-04-07 08:53:45 UTC
Red Hat Issue Tracker OSP-990 0 None None None 2022-08-30 14:51:25 UTC
Red Hat Product Errata RHEA-2021:3483 0 None None None 2021-09-15 07:09:09 UTC

Description Grzegorz Grasza 2020-08-17 07:30:25 UTC
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.

Comment 8 errata-xmlrpc 2021-09-15 07:08:45 UTC
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


Note You need to log in before you can comment on or make changes to this bug.