ntpdate hangs for a while

Bug #1317640 reported by Andrey Danin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
In Progress
Medium
Stanislaw Bogatkin

Bug Description

ntpdate can waste 20 seconds if there is a trouble with DNS resolve. We can decrease this by two times simply just change names of remote servers from 'pool.ntp.org' to 'pool.ntp.org.' The dot at the end of a domain name forces nslookup to not try to resolve 'pool.ntp.org.<fuel-local-domain>' name. Without this dot a system lookup service tries to resolve 'pool.ntp.org' first and 'pool.ntp.org.<fuel-local-domain>' second. Each try takes 10 seconds due to default values of attempts (2 times) and timeouts (5 seconds).
We should be sure that both master and slave nodes do not waste a time for fruitless resolving attempts.

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

As it was initially found by Igor Marnat and confirmed by Andrey D., setting Confirmed status.

Changed in fuel:
milestone: none → 5.1
status: New → Confirmed
tags: added: low-hanging-fruit
Revision history for this message
Robert Navarro (crshman) wrote :

Not sure if I should comment on this bug, but I'm seeing that there is a 5 minute timeout on the initial install for me.

It just waits trying to sync time for 5 minutes, then it moves forward and I can select the option for jumping into the setup menu.

Changed in fuel:
assignee: nobody → Stanislaw Bogatkin (sbogatkin)
Changed in fuel:
status: Confirmed → Triaged
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

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
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

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.