We must introduce workaround for bootstrap image NTP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Albert Syriy |
Bug Description
There is race condition in trusty bootstrap process https:/
From time to time ntpd in bootstrap not restarting properly and pid file becomes corruted. In isolated environment that lead to inability to run ntpdate and restart ntpd with initscript, and fuel-devops relies on initscript for restart ntpd.
My suggestion that proper solution is to fix ntp initscript, but workaround (like 'killall ntpd; sleep 5') in fuel-devops will also fix the problem.
Corresponding boot.log and syslog
---boot.log---
* Starting NTP server ntpd [ OK ]
* Starting OpenSSH server [ OK ]
* Starting MD monitoring service mdadm --monitor [ OK ]
+ LOG_NAME=
+ TIMEOUT=360
+ KILL_TIMEOUT=120
+ SETTLE_ATTEMPTS=10
+ m_reload
+ /usr/bin/logger -i -t multipath-reload
+ tee -a /var/log/
start-stop-daemon: warning: failed to kill 1218: No such process
* Stopping NTP server ntpd [ OK ]
* Starting NTP server ntpd [ OK ]
------------
---syslog---
2016-05-
2016-05-
2016-05-
2016-05-
2016-05-
2016-05-
2016-05-
2016-05-
2016-05-
2016-05-
2016-05-
---------
Changed in fuel: | |
milestone: | none → 9.0 |
assignee: | nobody → Fuel DevOps (fuel-devops) |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: area-devops |
Changed in fuel: | |
assignee: | Fuel DevOps (fuel-devops) → MOS Packaging Team (mos-packaging) |
Changed in fuel: | |
milestone: | 9.0 → 9.1 |
tags: | removed: area-devops |
Changed in fuel: | |
assignee: | MOS Linux (mos-linux) → Albert Syriy (asyriy) |
status: | Confirmed → In Progress |
Changed in fuel: | |
status: | In Progress → Fix Committed |
Since ntp service belongs to system services, mos-packaging team is not responsible for system services. This are covered usually by mos-linux team