Lift the limit on ntp servers

We accept multiple servers from the config but were only using the first
one which can lead to ntp failures. We should be using the complete list
provided by the end user.

Change-Id: If2fd70253b8ad949825f2636bce80d5851851b1f
Closes-Bug: #1806521
(cherry picked from commit e9c907a922)
This commit is contained in:
Alex Schultz 2018-12-14 13:55:32 -07:00
parent 247c4be231
commit e8efd140b1
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ def prepare_undercloud_deploy(upgrade=False, no_validations=False,
env_data['SELinuxMode'] = 'permissive'
if CONF.get('undercloud_ntp_servers', None):
env_data['NtpServer'] = CONF['undercloud_ntp_servers'][0]
env_data['NtpServer'] = CONF['undercloud_ntp_servers']
if CONF.get('enable_validations', False):
env_data['UndercloudConfigFilePath'] = constants.UNDERCLOUD_CONF_PATH