tripleo-heat-templates: ipa fails with freeipa_ansible roles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
New
|
Undecided
|
Unassigned |
Bug Description
I get errors such as `Unable to discover domain, not provided on command line`, and I suspect is because they are not passed into here
https:/
I have tested on my own setup hard-coding overriding and it managed to get passed that section. My question is what exactly does this line do?
https:/
Also where can I find some documentation on the ansible plugins that openstack defines? E.g. `map_merge` or the `if` in question here
Also a spinoff issue of this, which I do not know where the find the component responsible of, is that when a network has all `name`, `name_lower` and `service_ net_map_ replace` specified, the ipa hostname is not well constructed, and it does not take into account `dns_domain`. E.g.: overcloud. lab net_map_ replace: external _external_ subnet: {...} baremetal_ deployment. yaml route_network: internal_ api storage_ mgmt 0.overcloudaext ernal.overcloud .lab` 0.external. overcloud. lab` 0.my-external. overcloud. lab`
```yaml
---
# network_data.yaml
- dns_domain: my-external.
name: External
name_lower: overclouda_external
service_
subnets:
overclouda
---
# overcloud_
- name: Controller
count: 1
defaults:
network_config:
default_
- overclouda_external
networks:
- network: ctlplane
vif: true
- network: overclouda_external
- network: overclouda_
- network: overclouda_
- network: overclouda_storage
- network: overclouda_tenant
profile: controller
hostname_format: controller-%index%
```
Then the hosts being generated in freeipa are like:
`controller-
instead of the hostname that is used for freeipa services like `<email address hidden>`:
`controller-
But actually the correct behaviour would have been to be:
`controller-