Comment 6 for bug 1688308

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

Reviewed: https://review.openstack.org/510791
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=3d36307bcb2a75933945f5ab5d4241d0e6051cce
Submitter: Jenkins
Branch: stable/ocata

commit 3d36307bcb2a75933945f5ab5d4241d0e6051cce
Author: Oliver Walsh <email address hidden>
Date: Fri May 5 01:30:21 2017 +0100

    Handle duplicate/invalid entries in migration SSH inbound addresses

    An error (e.g a typo) in a custom tripleo-heat-templates environment
    file could lead to an invalid match block in /etc/ssh/sshd_config.
    SSH fails-safe and refuses all logins in this case.

    This change validates the migration_ssh_localaddrs parameter is an
    array of IP addresses and removes and duplicate entries.

    Ica3f79d6d0cfae446e276172146f3a9407f2971f requires this to remove
    duplicates.

    Change-Id: Ibcf144d960fe52f0eab0d5015bd30cf7c1e37e25
    Closes-Bug: #1688308
    (cherry picked from commit 05e696c62d02ef64180d611413ae10f0418c002a)