commit 77cd3b0701c773930a5f4cec18cca6bc6b563d8b
Author: Harald Jensås <email address hidden>
Date: Fri Jun 10 23:39:25 2022 +0200
Use lowercase hostname in inventory network config
The ansible inventory uses the neutron port dns_name as
hostname. The `dns_name` in neutron is always lowercase.
If a hostname with one or more capital letters are used in
baremetal deployment YAML the data lookup from `inventory-
network-config.yaml` does not succeed.
This change fixes this issue by converting the hostname to
lowercase when creating the content for `inventory-network-
config.yaml`
Closes-Bug: #1978356
Change-Id: I1ee53976ecc63d206d9604c896b1bb59807ad9ff
(cherry picked from commit 0056c2b8970a3f6d6317edcdf2372ff32c29de85)
Reviewed: https:/ /review. opendev. org/c/openstack /tripleo- ansible/ +/845400 /opendev. org/openstack/ tripleo- ansible/ commit/ 77cd3b0701c7739 30a5f4cec18cca6 bc6b563d8b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 77cd3b0701c7739 30a5f4cec18cca6 bc6b563d8b
Author: Harald Jensås <email address hidden>
Date: Fri Jun 10 23:39:25 2022 +0200
Use lowercase hostname in inventory network config
The ansible inventory uses the neutron port dns_name as config. yaml` does not succeed.
hostname. The `dns_name` in neutron is always lowercase.
If a hostname with one or more capital letters are used in
baremetal deployment YAML the data lookup from `inventory-
network-
This change fixes this issue by converting the hostname to
lowercase when creating the content for `inventory-network-
config.yaml`
Closes-Bug: #1978356 206d9604c896b1b b59807ad9ff d6317edcdf2372f f32c29de85)
Change-Id: I1ee53976ecc63d
(cherry picked from commit 0056c2b8970a3f6