Always sync time for master node after revert

During migration to keystone shared session we gon an issue when
time on master node was changed (during ntp sync). This issue reproduces only
for the first connection after time sync.

Change-Id: I2f203b8a1957b70389e76f9fa99459b1365b242f
Related-bug:1606887
This commit is contained in:
Vladimir Khlyunev 2016-08-05 12:09:13 +03:00
parent c3bea03398
commit cb15bdfd2f
1 changed files with 2 additions and 0 deletions

View File

@ -309,6 +309,8 @@ class EnvironmentModel(object):
if not skip_timesync:
self.sync_time()
else:
self.sync_time(['admin'])
try:
with QuietLogger(upper_log_level=logging.CRITICAL):
# TODO(astudenov): add timeout_msg