d1ba6d5027
The version of cloud-init included with CentOS7.5 (0.7.9-24) fails to assign an IP address on VLAN subinterfaces. This workaround upgrades cloud-init to 18.2 using a private repository. Story: 2002610 Task: 22229 Change-Id: Idc570b9ca7558dfd42246c74b1ec0331011d692f
41 lines
1.8 KiB
Plaintext
41 lines
1.8 KiB
Plaintext
---
|
|
###############################################################################
|
|
# Overcloud configuration.
|
|
|
|
# Default Ansible group for overcloud hosts if not present in
|
|
# overcloud_group_hosts_map.
|
|
overcloud_group_default: controllers
|
|
|
|
# List of names of Ansible groups for overcloud hosts.
|
|
overcloud_groups: >
|
|
{{ (overcloud_group_hosts_map.keys() +
|
|
[overcloud_group_default]) | reject('equalto', 'ignore') | unique | sort | list }}
|
|
|
|
# Dict mapping overcloud Ansible group names to lists of hosts in the group.
|
|
# As a special case, the group 'ignore' can be used to specify hosts that
|
|
# should not be added to the inventory.
|
|
overcloud_group_hosts_map: {}
|
|
|
|
# To prevent some network issues you can choose to disable cloud-init
|
|
disable_cloud_init: False
|
|
|
|
###############################################################################
|
|
# Overcloud host image configuration.
|
|
|
|
# The CentOS cloud images from 7.2 (1511) onwards have a bogus name server
|
|
# entry in /etc/resolv.conf, 10.0.2.3. Cloud-init only appends name server
|
|
# entries to this file, and will not remove this bogus entry. Typically this
|
|
# leads to a delay of around 30 seconds when connecting via SSH, due to a
|
|
# timeout in NSS. The workaround employed here is to remove this bogus entry
|
|
# from the image using virt-customize, if it exists. See
|
|
# https://bugs.centos.org/view.php?id=14369.
|
|
overcloud_host_image_workaround_resolv_enabled: True
|
|
|
|
# Workaround a CentOS 7.5 bug: cloud-init 0.7.9-24 does not correctly set
|
|
# an IP address for VLAN subinterfaces configured with the Openstack metadata
|
|
# format/Config drive. # See, https://bugs.centos.org/view.php?id=14964.
|
|
overcloud_host_image_workaround_cloud_init_enabled: False
|
|
|
|
# cloud-init repository for overcloud_host_image_workaround_cloud_init_enabled
|
|
overcloud_host_image_workaround_cloud_init_repo: https://stackhpc.github.io/cloud-init-repo/
|