'ntpd' failed to start during bootstrap

Bug #1388212 reported by Dennis Dmitriev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dennis Dmitriev

Bug Description

Jenkins job: http://jenkins-product.srt.mirantis.net:8080/view/6.0_swarm/job/6.0_fuelmain.system_test.ubuntu.thread_2/13/

Output with the error " ['ntpd: no process killed\n'] " in fact it is not what really happened.
From /var/log/messages on the bootstrapped slave-01:
==============================
[root@nailgun bootstrap]# cat ./messages.log |grep -e "clock_sync" -e "no servers"
2014-10-30T15:51:56.457246+00:00 info: ntpd[972]: 0.0.0.0 c615 05 clock_sync
2014-10-30T15:52:47.102139+00:00 notice: ntpd[1218]: ntpd: no servers found
2014-10-30T15:53:28.716420+00:00 notice: ntpd[1399]: ntpd: no servers found
2014-10-30T15:54:10.802988+00:00 notice: ntpd[1413]: ntpd: no servers found
2014-10-30T15:56:30.366945+00:00 info: ntpd[1788]: 0.0.0.0 c615 05 clock_sync
==============================

It was unable to sync time during 90 seconds. There is need more tries to sync time.

Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :
Changed in mos:
importance: Undecided → Medium
affects: mos → fuel
Changed in fuel:
milestone: none → 6.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/132326

Changed in fuel:
status: New → In Progress
Roman Vyalov (r0mikiam)
Changed in fuel:
importance: Medium → High
Revision history for this message
Tatyana Dubyk (tdubyk) wrote :

I've reproduced this bug too on iso fuel-6.0-69-2014-11-02_21-27-58.iso.
Exception caught while trying to sync time on slave-01: Failed to execute "NTPD=$(find /etc/init.d/ -regex '/etc/init.d/ntp.?'); $NTPD stop; killall ntpd; ntpd -qg && $NTPD start" on remote host: ['ntpd: no process killed\n']
2014-11-03 15:42:01,919 - INFO environment.py:498 -- Nailgun agent run with exit_code: 0

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/132326
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=12f7e144ada6221907d3a50ce048720c5d367035
Submitter: Jenkins
Branch: master

commit 12f7e144ada6221907d3a50ce048720c5d367035
Author: Dennis Dmitriev <email address hidden>
Date: Fri Oct 31 20:47:24 2014 +0200

    More timesync tries after snapshot is reverted

    Currently only 3 tries are performed with 30 sec timeout,
    but it is not enough in certain situations for time sync.

    Change-Id: I460f86ebbf59f32c9288889eb76bdc9a472d4a07
    Closes-Bug: #1388212

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → In Progress
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/132611

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/132611
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=f395aeaed369d9c55588d37aa21e180f3d852f65
Submitter: Jenkins
Branch: master

commit f395aeaed369d9c55588d37aa21e180f3d852f65
Author: Dennis Dmitriev <email address hidden>
Date: Fri Oct 31 20:47:24 2014 +0200

    More timesync tries after snapshot is reverted

    Currently only 3 tries are performed with 30 sec timeout,
    but it is not enough in certain situations for time sync.

    Change-Id: I8739cdd0d92f6daca8d8415cb806c0ea7c2f7883
    Closes-Bug: #1388212

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.