Support for Ocata-Pike live-migration over ssh
authorOliver Walsh <owalsh@redhat.com>
Wed, 6 Sep 2017 10:19:48 +0000 (11:19 +0100)
committerOliver Walsh <owalsh@redhat.com>
Wed, 20 Sep 2017 10:51:17 +0000 (11:51 +0100)
commit68c6f280b1ca77f9c01dac257e0a603f51809eb7
treef802f15fb4404441b90e9c5002d4222971c416dd
parent4a16f486e0207e47883cbc4c89293d786b9aa230
Support for Ocata-Pike live-migration over ssh

In Ocata all live-migration over ssh is performed on the default ssh port (22).
In Pike the containerized live-migration over ssh is on port 2022 as the
docker host's sshd is using port 22.
To allow live migration during upgrade we need to temporarily pin the Pike
computes to port 22 and in the final converge we can switch over to port 2022.

This patch make the necessary puppet-tripleo change to allow this:
 - Adds support in sshd profile for listening on multiple ports.
 - Adds a profile to allow proxying to the containerized sshd from the
   baremetal sshd

Change-Id: I0b80b81711f683be539939e7d084365ff63546d3
Related-bug: 1714171
(cherry picked from commit 05a413c34fa1266d38bf991a1f5ed2795631f0b7)
manifests/profile/base/nova/migration/proxy.pp [new file with mode: 0644]
manifests/profile/base/nova/migration/target.pp
manifests/profile/base/sshd.pp
spec/classes/tripleo_profile_base_nova_migration_proxy_spec.rb [new file with mode: 0644]
spec/classes/tripleo_profile_base_nova_migration_target_spec.rb
spec/classes/tripleo_profile_base_sshd_spec.rb