Adding a host without a domain or with a different domain causes failures with tls everywhere enabled
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| tripleo |
Fix Released
|
Undecided
|
Grzegorz Grasza | ||
Bug Description
Description
===========
TLS everywhere integration adds entries to IPA DNS by default, using the entries from the Ansible variable that contains host names to write into /etc/hosts.
Additional hosts may be specified by adding them to ExtraHostFileEn
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 ExtraHostFileEn
We are submitting this bug to gather feedback about what should happen by default. Some of the options are:
* Don't change the implementation, make sure the host entry is logged, so that it is easier to fix the configuration issue
* Ignore entries without domains
* Ignore entries from outside the cloud domain (not ending with <dot> + cloud_domain)
* Make this configurable?
Steps to reproduce
==================
* Enable TLS Everywhere
* Add an example value to ExtraHostFileEn
- '1.2.3.4 stillhavemythumb'
Expected result
===============
The deployment succeeds?
Actual result
=============
The deployment fails with an error:
The task includes an option with an undefined variable. The error was: list object has no element 1
The error appears to be in '/usr/share/
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: set forward dns record values
^ here
Environment
===========
Master with TLS Everywhere enabled.
Logs & Configs
==============
| Changed in tripleo: | |
| assignee: | nobody → Grzegorz Grasza (xek) |
| status: | New → Confirmed |

tripleo-ipa shouldn't verify any hosts in ExtraHostFileEn tries. Also shouldn't IPA have some forwarder to support external looksup anwyay?