[system-tests] ntp.py should show a more verbose exception message in case of failed time synchronization.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
In Progress
|
Wishlist
|
Dennis Dmitriev |
Bug Description
Detailed bug description:
When time synchronization is failed, the following exception message can be shown:
TimeoutError: Time on nodes was not set with 'ntpdate':
[(u'slave-04', ['Sun May 15 02:16:49 UTC 2016\n'])]
There is not enough information to find the root cause of failure because there is no the result of 'ntpdate' execution.
Steps to reproduce:
On any node of the active environment set remote NTP server in the /etc/ntpd.conf to the node without ntpd, and try to execute 'dos.py time-sync <env_name>'
Expected results:
Verbosed exception message with the executed command and stderr.
Actual result:
Exception message without necessary details.
Reproducibility:
Floating, depends on external issues.
Workaround:
Manual reproduce on the failed environment (not always the valid way because the cause of the fail may be fixed)
Impact:
System tests
Description of the environment:
Any environment that use fuel-devops framework
Additional information:
-
Fix proposed to branch: master /review. openstack. org/317625
Review: https:/