<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi all,<br></div>Today we have a next workflow about NTP in Fuel:<br></div><br>1. When someone deploy a master node, we need to somehow operate with NTP and set upstream NTP servers to Fuel NTP daemon on master node.<br>2. NTP will enabled by default and set to default upstream values (from <a href="http://ntp.org">ntp.org</a> pool).</div>3. If user will enter to fuelmenu then then he can change that values and it will stored as new ones.<br></div><br></div>That can lead to some errors at deploy, some as:<br></div>1. User set upstream NTP (or use defaults).<br></div>2. By some reasons that NTP servers get unreacheable (i.e. network down).<br></div>3. User creates environment and push 'deploy' button.<br></div>4. In the middle of deploy process upstream NTP become reacheable and master node sync with them.<br></div>If time on master node before that sync will have big shift regarding to real time, then we will have 2 problems:<br>1. Deploy can fail, cause slave nodes will sync with master one time only - right after provisioning and if master node resync with upstream in the middle of deploy - some services can stop works (e.g. mcollective).<br></div>3. It will be more complicate to understand logs, cause it will shifted too.<br></div><div><br></div>As I see, we have two ways to solve this:<br></div>1. Check upstream NTP reachability and disable upstream servers if they unreachable at fuelmenu step. It will cost us some shift with real time in the end.<br></div> <br></div> or<br><br></div>2. Disable NTP upstream servers if they unreachable right after user press 'deploy' button and enable them after deploy is over.<br></div></div>