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)
Reviewed: https:/ /review. openstack. org/510791 /git.openstack. org/cgit/ openstack/ puppet- tripleo/ commit/ ?id=3d36307bcb2 a75933945f5ab5d 4241d0e6051cce
Committed: https:/
Submitter: Jenkins
Branch: stable/ocata
commit 3d36307bcb2a759 33945f5ab5d4241 d0e6051cce
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 sshd_config.
file could lead to an invalid match block in /etc/ssh/
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.
Ica3f79d6d0 cfae446e2761721 46f3a9407f2971f requires this to remove
duplicates.
Change-Id: Ibcf144d960fe52 f0eab0d5015bd30 cf7c1e37e25 4180d611413ae10 f0418c002a)
Closes-Bug: #1688308
(cherry picked from commit 05e696c62d02ef6