tripleo-ansible/tripleo_ansible/roles
Martin Schuppert bc570e74f2 Make sure role_networks is used from current processed node
When e.g. ceph storage role is used and a ceph storage node is the first node
to run on during deployment [1] the facts get set using this host. As a result
role_networks [2] will always only contain Storage and StorageMgmt :

TASK [tripleo-ssh-known-hosts : Set ssh_known_hosts fact]
******************************************************************************
Thursday 28 November 2019 14:16:00 +0000 (0:00:00.747) 0:00:13.681 *****
ok: [ceph-0]

Therefore all nodes will only get additional hostnames set in the
ssh_known_hosts file for the Storage and StorageMgmt network even if the they
don't have this network in their role, like the compute [4] StorageMgmt:

[192.168.24.42]*,[compute-0.redhat.local]*,[compute-0]*,[172.17.3.29]*,[compute-0.storage]*,[compute-0.storage.redhat.local]*,[192.168.24.8]*,[compute-0.storagemgmt]*,[compute-0.storagemgmt.redhat.local]*,
ssh-rsa

In such a situation live migration is broken due to host key verification
failure

[1] https://github.com/openstack/tripleo-ansible/blob/master/tripleo_ansible/roles/tripleo-ssh-known-hosts/tasks/main.yml#L47
[2] https://github.com/openstack/tripleo-ansible/blob/master/tripleo_ansible/roles/tripleo-ssh-known-hosts/tasks/main.yml#L54
[3] https://github.com/openstack/tripleo-heat-templates/blob/master/roles/CephStorage.yaml#L7-L11
[4] https://github.com/openstack/tripleo-heat-templates/blob/master/roles/Compute.yaml#L11-L17

Change-Id: I2491ccd9f1bbe1d9cd2848301956803c5935a6f3
Closes-Bug: #1854368
2019-11-28 15:30:12 +01:00
..
aide normalize newlines at end of file 2019-11-12 15:06:58 +00:00
backup-and-restore Merge "Convert all of the fedora28 container usage to centos8" 2019-11-01 23:27:15 +00:00
login-defs Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
octavia-controller-config normalize newlines at end of file 2019-11-12 15:06:58 +00:00
octavia-controller-post-config Simplify octavia post deploy configs 2019-10-21 14:50:19 +00:00
octavia-overcloud-config Import octavia roles and playbooks from tripleo-common 2019-06-13 17:29:13 -05:00
octavia-undercloud correct octavia playbooks 2019-07-09 20:48:10 -05:00
octavia_common Import octavia roles and playbooks from tripleo-common 2019-06-13 17:29:13 -05:00
test_deps Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
test_json_error_callback normalize newlines at end of file 2019-11-12 15:06:58 +00:00
test_package_action normalize newlines at end of file 2019-11-12 15:06:58 +00:00
tripleo-bootstrap Add LVM2 package install to bootstrap 2019-11-27 11:36:06 -06:00
tripleo-cellv2 Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-ceph-common Merge "Convert all of the fedora28 container usage to centos8" 2019-11-01 23:27:15 +00:00
tripleo-ceph-fetch-dir Merge "Convert all of the fedora28 container usage to centos8" 2019-11-01 23:27:15 +00:00
tripleo-ceph-run-ansible Include ceph-ansible filter_plugins 2019-11-11 16:39:23 -05:00
tripleo-ceph-uuid Merge "Convert all of the fedora28 container usage to centos8" 2019-11-01 23:27:15 +00:00
tripleo-ceph-work-dir Merge "Convert all of the fedora28 container usage to centos8" 2019-11-01 23:27:15 +00:00
tripleo-clients-install Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-config Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-container-image-prepare Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-container-manage tripleo-container-manage: create ansible-managed dropin file 2019-11-26 12:10:13 -05:00
tripleo-container-rm Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-container-stop Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-container-tag Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-create-admin Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-firewall Fix typo in skeleton role 2019-10-24 09:01:13 -04:00
tripleo-hieradata Prefer ovn_dbs_vip from all_nodes_extra_map_data 2019-11-11 13:07:10 -05:00
tripleo-hosts-entries Fix network hostnames in tripleo-hosts-entries 2019-11-06 10:03:08 -05:00
tripleo-image-serve normalize newlines at end of file 2019-11-12 15:06:58 +00:00
tripleo-kernel Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-module-load Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-ovs-dpdk Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-packages Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-persist Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-podman Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-ptp Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-puppet-cache Don't fail hard when facter cache doesn't work correctly 2019-11-14 12:52:16 -07:00
tripleo-securetty Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-ssh-known-hosts Make sure role_networks is used from current processed node 2019-11-28 15:30:12 +01:00
tripleo-sshd Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-systemd-wrapper Implement tripleo-systemd-wrapper role 2019-11-13 09:14:27 -07:00
tripleo-timezone Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-transfer Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-upgrade-hiera Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tripleo-validations-package Convert all of the fedora28 container usage to centos8 2019-10-31 11:20:26 -05:00
tuned normalize newlines at end of file 2019-11-12 15:06:58 +00:00
tripleo-docker-rm Import the tripleo-docker-rm role 2019-06-24 14:07:48 -05:00