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.:
```yaml
---
# network_data.yaml
- dns_domain: my-external.overcloud.lab
name: External
name_lower: overclouda_external
service_net_map_replace: external
subnets:
overclouda_external_subnet: {...}
---
# overcloud_baremetal_deployment.yaml
- name: Controller
count: 1
defaults:
network_config:
default_route_network:
- overclouda_external
networks:
- network: ctlplane
vif: true
- network: overclouda_external
- network: overclouda_internal_api
- network: overclouda_storage_mgmt
- network: overclouda_storage
- network: overclouda_tenant
profile: controller
hostname_format: controller-%index%
```
Then the hosts being generated in freeipa are like:
`controller-0.overcloudaexternal.overcloud.lab`
instead of the hostname that is used for freeipa services like `<email address hidden>`:
`controller-0.external.overcloud.lab`
But actually the correct behaviour would have been to be:
`controller-0.my-external.overcloud.lab`
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-