Comment 4 for bug 1978356

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/845400
Committed: https://opendev.org/openstack/tripleo-ansible/commit/77cd3b0701c773930a5f4cec18cca6bc6b563d8b
Submitter: "Zuul (22348)"
Branch: stable/wallaby

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)