Stop using puppet to configure VIPs in /etc/hosts
authorDan Prince <dprince@redhat.com>
Fri, 25 Nov 2016 16:20:57 +0000 (11:20 -0500)
committerDan Prince <dprince@redhat.com>
Sun, 27 Nov 2016 18:20:33 +0000 (13:20 -0500)
commit933f1afefd2ed6cf0f0395651f55fa25afbecad8
tree8ab2f9120e06825010af8d07c70332e1ef62dbca
parent2a7e0445187df045d61b6b34b6943a3c6a448308
Stop using puppet to configure VIPs in /etc/hosts

This patch drops use of the vip-hosts.yaml service which can
cause issues during deployment because puppet 'hosts' resources
overwrite the data in /etc/hosts. The only reason things seem to work
at all at the moment is because our hosts element in t-i-e runs
on each os-refresh-config iteration and re-adds the dropped hosts
entries.

To work around the issue we add a conditional which selectively
adds the extra hosts entries only if the AddVipsToEtcHosts is set
to true.

Closes-bug: 1645123

Change-Id: Ic6aaeb249a127df83894f32a704219683a6382b2
environments/hyperconverged-ceph.yaml
environments/use-dns-for-vips.yaml
hosts-config.yaml
overcloud-resource-registry-puppet.j2.yaml
overcloud.j2.yaml
puppet/services/vip-hosts.yaml [deleted file]
roles_data.yaml