We should use 'ntpd -q' instead of ntpdate

Bug #1314958 reported by Dmitry Pyzhov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
In Progress
High
Stanislaw Bogatkin

Bug Description

Only bootstrap nodes seem to be affected by this issue. Also, see admin node bug: https://bugs.launchpad.net/fuel/+bug/1314190

# grep ntpdate /var/log/remote/10.20.0.3/bootstrap/messages.log
2014-05-01T10:04:21.924839+00:00 notice: ntpdate-log: /usr/sbin/ntpdate -U ntp -s -b 10.20.0.2
2014-05-01T10:04:21.924950+00:00 notice: ntpdate-log: /usr/sbin/ntpdate -U ntp -s -b 10.20.0.2
2014-05-01T10:04:21.925061+00:00 notice: ntpdate[875]: ntpdate 4.2.6p5@1.2349-o Sat Nov 23 18:21:48 UTC 2013 (1)
2014-05-01T10:04:21.925172+00:00 err: ntpdate[875]: no server suitable for synchronization found
2014-05-01T10:04:21.925297+00:00 err: ntpdate[876]: no server suitable for synchronization found
2014-05-01T10:04:31.943615+00:00 err: ntpdate[878]: no server suitable for synchronization found
2014-05-01T10:04:51.982537+00:00 err: ntpdate[880]: no server suitable for synchronization found

# cat /etc/nailgun/version.yaml
VERSION:
  mirantis: "yes"
  production: "docker"
  release: "5.0"
  build_number: "27"
  build_id: "2014-05-01_13-03-28"
  astute_sha: "3cffebde1e5452f5dbf8f744c6525fc36c7afbf3"
  api: "1.0"
  fuellib_sha: "4b8748949f582aaf648903e9d76fb12f80c00e9c"
  api: "1.0"
  ostf_sha: "134765fcb5a07dce0cd1bb399b2290c988c3c63b"
  api: "1.0"
  nailgun_sha: "bdd8fa5ee19b5b19dc6412b844b4bd008491c792"
  api: "1.0"
  fuelmain_sha: "a4f301ea34cfeea7db203c3ea2cdf5ebd064941e"

Dmitry Pyzhov (dpyzhov)
description: updated
description: updated
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: none → 5.0
assignee: nobody → Fuel Library Team (fuel-library)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Dmitry Pyzhov (lux-place)
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote : Re: We should use 'ntpq' -q instead of ntpdate

I can't reproduce this bug. However we should switch to 'ntpd -q' command instead of 'ntpdate', because 'ntpdate' is depricated.
Something like 'ping 10.20.0.2 && ntpd -q' in startup scripts.
http://askubuntu.com/questions/254826/how-to-force-a-clock-update-using-ntp

summary: - Slave nodes fail to sync via ntpdate
+ We should use 'ntpq' -q instead of ntpdate
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
importance: High → Medium
milestone: 5.0 → 5.1
assignee: Dmitry Pyzhov (lux-place) → nobody
Changed in fuel:
assignee: nobody → Bogdan Dobrelya (bogdando)
Changed in fuel:
status: Confirmed → Triaged
assignee: Bogdan Dobrelya (bogdando) → Fuel Library Team (fuel-library)
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Stanislaw Bogatkin (sbogatkin)
summary: - We should use 'ntpq' -q instead of ntpdate
+ We should use 'ntpd -q' instead of ntpdate
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/17914
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable-17914/centos
You can build an ISO with this package:
make iso EXTRA_RPM_REPOS="osci-testing,http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable-17914/centos"

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/17915
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-17915/ubuntu
You can build an ISO with this package:
make iso EXTRA_DEB_REPOS="http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-17915/ubuntu /"

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/17914
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable-17914/centos
You can build an ISO with this package:
make iso EXTRA_RPM_REPOS="osci-testing,http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable-17914/centos"

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/17915
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-17915/ubuntu
You can build an ISO with this package:
make iso EXTRA_DEB_REPOS="http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-17915/ubuntu /"

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/17914
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable-17914/centos
You can build an ISO with this package:
make iso EXTRA_RPM_REPOS="osci-testing,http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable-17914/centos"

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/17915
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-17915/ubuntu
You can build an ISO with this package:
make iso EXTRA_DEB_REPOS="http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-17915/ubuntu /"

Changed in fuel:
milestone: 5.1 → 6.0
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/29237
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-29237/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/29228
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/29231
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset:
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset:
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/29242
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-master-29242/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/29237
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-29237/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/29242
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-master/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package ntp-dev has been built from changeset: http://gerrit.mirantis.com/29237
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master/ubuntu

Changed in fuel:
importance: Medium → High
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

Stanislaw, do you have a status update on this?

Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

Yes. Today OSCI team will create mirrors with ntp-dev, then add it to kickstarts and we will merge it.

Revision history for this message
Mike Scherbakov (mihgen) wrote :

As an exception, we can take it now. Though in general we must introduce new packages before Feature Freeze deadline.

Revision history for this message
Mike Scherbakov (mihgen) wrote :

Any update?

Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

Yes. We started build mirrors, so I hope that today it will merged.

Revision history for this message
Alexander Gordeev (a-gordeev) wrote :

Sounds like image based provisioning also deserves that fix. I'm responsible for it.

Revision history for this message
Mike Scherbakov (mihgen) wrote :

Stas - was it merged?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-main (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/136829

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-web (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/136830

Revision history for this message
Alexander Gordeev (a-gordeev) wrote :
Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

Aleksandr, what is it?

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package ntp-dev has been built for project packages/centos6/ntp-dev
Package version == 4.2.8, package release == 1

Changeset: https://review.fuel-infra.org/1699
project: packages/centos6/ntp-dev
branch: master
author: Stanislaw Bogatkin
committer: Stanislaw Bogatkin
subject: Add new package ntp-dev to Fuel
status: patchset-created

Files placed on repository:
ntp-dev-4.2.8-1.mira1.x86_64.rpm
ntp-dev-debuginfo-4.2.8-1.mira1.x86_64.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-master-1699/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package ntp-dev has been built for project packages/precise/ntp-dev
Package version == , package release ==

Changeset: https://review.fuel-infra.org/1714
project: packages/precise/ntp-dev
branch: master
author: Stanislaw Bogatkin
committer: Sergey Otpuschennikov
subject: Add package ntp-dev to Fuel
status: patchset-created

Files placed on repository:
ntp-dev_4.2.8-1_amd64.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: /ubuntu-fuel-master-1714/ubuntu

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/135905
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=da371c72942265fc931ff1b1de765fbdff2ee706
Submitter: Jenkins
Branch: master

commit da371c72942265fc931ff1b1de765fbdff2ee706
Author: Stanislaw Bogatkin <email address hidden>
Date: Wed Jul 23 12:57:19 2014 +0400

    Replace ntp package with ntp-dev

    Change-Id: Ie8170c358510de900e7ae1d9c6c373e4296a49f3
    Related-Bug: 1336748
    Related-Bug: 1314958

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package ntp-dev has been built for project packages/centos6/ntp-dev
Package version == 4.2.8, package release == 1

Changeset: https://review.fuel-infra.org/1699
project: packages/centos6/ntp-dev
branch: master
author: Stanislaw Bogatkin
committer: Stanislaw Bogatkin
subject: Add new package ntp-dev to Fuel
status: patchset-created

Files placed on repository:
ntp-dev-4.2.8-1.mira1.x86_64.rpm
ntp-dev-debuginfo-4.2.8-1.mira1.x86_64.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-master-1699/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package ntp-dev has been built for project packages/precise/ntp-dev
Package version == , package release ==

Changeset: https://review.fuel-infra.org/1714
project: packages/precise/ntp-dev
branch: master
author: Stanislaw Bogatkin
committer: Stanislaw Bogatkin
subject: Add package ntp-dev to Fuel
status: patchset-created

Files placed on repository:
ntp-dev_4.2.8-1_amd64.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: /ubuntu-fuel-master-1714/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package ntp-dev has been built for project packages/centos6/ntp-dev
Package version == 4.2.8, package release == 1

Changeset: https://review.fuel-infra.org/1699
project: packages/centos6/ntp-dev
branch: master
author: Stanislaw Bogatkin
committer: Stanislaw Bogatkin
subject: Add new package ntp-dev to Fuel
status: change-merged

Files placed on repository:
ntp-dev-4.2.8-1.mira1.x86_64.rpm
ntp-dev-debuginfo-4.2.8-1.mira1.x86_64.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-master/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package ntp-dev has been built for project packages/precise/ntp-dev
Package version == , package release ==

Changeset: https://review.fuel-infra.org/1714
project: packages/precise/ntp-dev
branch: master
author: Stanislaw Bogatkin
committer: Stanislaw Bogatkin
subject: Add package ntp-dev to Fuel
status: change-merged

Files placed on repository:
ntp-dev_4.2.8-1_amd64.deb

Changeset merged. Package placed on primary repository
DEB repository URL: /ubuntu-fuel-master/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package ntp-dev has been built for project packages/centos6/ntp-dev
Package version == 4.2.8, package release == 1

Changeset: https://review.fuel-infra.org/2389
project: packages/centos6/ntp-dev
branch: 6.1
author: Sergey Otpuschennikov
committer: Sergey Otpuschennikov
subject: Add new package ntp-dev to Fuel
status: patchset-created

Files placed on repository:
ntp-dev-4.2.8-1.mira1.x86_64.rpm
ntp-dev-debuginfo-4.2.8-1.mira1.x86_64.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable-2389/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package ntp-dev has been built for project packages/precise/ntp-dev
Package version == , package release ==

Changeset: https://review.fuel-infra.org/2390
project: packages/precise/ntp-dev
branch: 6.1
author: Sergey Otpuschennikov
committer: Sergey Otpuschennikov
subject: Add package ntp-dev to Fuel
status: patchset-created

Files placed on repository:
ntp-dev_4.2.8-1_amd64.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: /ubuntu-fuel-6.1-stable-2390/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package ntp-dev has been built for project packages/centos6/ntp-dev
Package version == 4.2.8, package release == 1

Changeset: https://review.fuel-infra.org/2389
project: packages/centos6/ntp-dev
branch: 6.1
author: Sergey Otpuschennikov
committer: Sergey Otpuschennikov
subject: Add new package ntp-dev to Fuel
status: change-merged

Files placed on repository:
ntp-dev-4.2.8-1.mira1.x86_64.rpm
ntp-dev-debuginfo-4.2.8-1.mira1.x86_64.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.1-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package ntp-dev has been built for project packages/precise/ntp-dev
Package version == , package release ==

Changeset: https://review.fuel-infra.org/2390
project: packages/precise/ntp-dev
branch: 6.1
author: Sergey Otpuschennikov
committer: Sergey Otpuschennikov
subject: Add package ntp-dev to Fuel
status: change-merged

Files placed on repository:
ntp-dev_4.2.8-1_amd64.deb

Changeset merged. Package placed on primary repository
DEB repository URL: /ubuntu-fuel-6.1-stable/ubuntu

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Bogdan Dobrelya (<email address hidden>) on branch: master
Review: https://review.openstack.org/136830
Reason: sntp (ntp-dev) was reverted

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.