Task 'spawn_vms': ntpdate -u ...: shell timeout error: execution expired
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Kyrylo Galanov | ||
7.0.x |
Fix Released
|
High
|
Sergii Golovatiuk |
Bug Description
Reproduced by CI:
Failed to execute hook 'shell' command: cd / && ntpdate -u $(awk '/^server/ { if ($2 !~ /127\.127\
Task: e6fc9ca4-
Task timeout: 180, Retries: 10
ISO 130:
https:/
https:/
This bug appeared in several jobs, so there is no clear steps to reproduce right now - please add if something will be localized or ask QA for additional checking.
Diagnostic snapshots are available in jobs, I will place link to latest found: https:/
Changed in fuel: | |
status: | New → Confirmed |
assignee: | Fuel Library Team (fuel-library) → Ivan Ponomarev (ivanzipfer) |
Changed in fuel: | |
importance: | High → Medium |
tags: | added: tricky |
Changed in fuel: | |
status: | Confirmed → In Progress |
Changed in fuel: | |
importance: | Medium → High |
tags: | added: area-library |
tags: | added: on-verification |
Changed in fuel: | |
status: | Confirmed → Fix Committed |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Aleksei Chekunov (achekunov) |
Changed in fuel: | |
status: | Confirmed → In Progress |
Changed in fuel: | |
assignee: | Aleksei Chekunov (achekunov) → Fuel Library Team (fuel-library) |
status: | In Progress → Confirmed |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Kyrylo Galanov (kgalanov) |
Changed in fuel: | |
assignee: | Fuel CI (fuel-ci) → Kyrylo Galanov (kgalanov) |
tags: |
added: area-python removed: area-ci |
tags: | added: team-bugfix |
tags: |
added: area-library removed: area-python |
tags: | removed: blocked |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Kyrylo Galanov (kgalanov) |
RCA:
cat /etc/ntp.conf
server 10.109.10.1 iburst minpoll 3 maxpoll 9
server undef iburst minpoll 3 maxpoll 9
server undef iburst minpoll 3 maxpoll 9
=======
Oct 8 22:10:41 nailgun ntpd_intres[24191]: host name not found: undef
Oct 8 22:10:41 nailgun ntpd_intres[24191]: host name not found: undef
The main issue is 2 last lines in ntp.conf which added incorrectly. NTP service tries to connect to host 'undef' before starting and it's unavailable until timeout is reached. At the same time deployment was started and spawn_vms task got timeout error because NTP service is not responding; Sergii Golovatiuk is working on fix for that problem.