[library] ntpdate start takes 1 minute and fails on virtualbox

Bug #1314190 reported by Dmitry Pyzhov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Triaged
Low
Fuel Library (Deprecated)

Bug Description

Admin node bootstrap logs:
# cat /etc/nailgun/version.yaml
VERSION:
  mirantis: "yes"
  production: "dev"
  release: "5.0"
  build_number: "157"
  build_id: "2014-04-29_15-24-30"
  astute_sha: "3cffebde1e5452f5dbf8f744c6525fc36c7afbf3"
  api: "1.0"
  fuellib_sha: "68b11620e7b0d42eafde375ef4992cadc8b0d10e"
  api: "1.0"
  ostf_sha: "134765fcb5a07dce0cd1bb399b2290c988c3c63b"
  api: "1.0"
  nailgun_sha: "4f6208c617f4931314812091de1b64dfd18f9073"
  api: "1.0"
  fuelmain_sha: "44313efa62a87656527ec1be49076664c4dc3bc5"

# grep ntp /var/log/messages
Apr 29 13:01:12 fuel ntpdate[984]: Can't find host 0.centos.pool.ntp.org: Name or service not known (-2)
Apr 29 13:01:17 fuel ntpdate[984]: Can't find host 1.centos.pool.ntp.org: Name or service not known (-2)
Apr 29 13:01:22 fuel ntpdate[984]: Can't find host 2.centos.pool.ntp.org: Name or service not known (-2)
Apr 29 13:01:27 fuel ntpdate[984]: Can't find host 3.centos.pool.ntp.org: Name or service not known (-2)
Apr 29 13:01:27 fuel ntpdate[984]: no servers can be used, exiting
Apr 29 13:01:37 fuel ntpdate[1024]: Can't find host 0.centos.pool.ntp.org: Name or service not known (-2)
Apr 29 13:01:42 fuel ntpdate[1024]: Can't find host 1.centos.pool.ntp.org: Name or service not known (-2)
Apr 29 13:01:47 fuel ntpdate[1024]: Can't find host 2.centos.pool.ntp.org: Name or service not known (-2)
Apr 29 13:01:52 fuel ntpdate[1024]: Can't find host 3.centos.pool.ntp.org: Name or service not known (-2)
Apr 29 13:01:52 fuel ntpdate[1024]: no servers can be used, exiting
Apr 29 13:02:12 fuel ntpdate[1087]: Can't find host 0.centos.pool.ntp.org: Name or service not known (-2)
Apr 29 13:02:17 fuel ntpdate[1087]: Can't find host 1.centos.pool.ntp.org: Name or service not known (-2)
Apr 29 13:02:22 fuel ntpdate[1087]: Can't find host 2.centos.pool.ntp.org: Name or service not known (-2)
Apr 29 13:02:22 fuel ntpdate[1087]: Can't find host 3.centos.pool.ntp.org: Name or service not known (-2)

Revision history for this message
Vladimir Kuklin (vkuklin) wrote :

this may happen due to missing connectivity with outer world

Changed in fuel:
status: New → Confirmed
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Looks like dns is not available during admin node bootstrapping. Installed node has internet:
# ping ya.ru
PING ya.ru (213.180.204.3) 56(84) bytes of data.
64 bytes from www.yandex.ru (213.180.204.3): icmp_seq=1 ttl=63 time=4.50 ms
64 bytes from www.yandex.ru (213.180.204.3): icmp_seq=2 ttl=63 time=4.39 ms

Issue seems to be 100% reproducible on virtualbox

Changed in fuel:
status: Confirmed → Triaged
assignee: nobody → Fuel Library Team (fuel-library)
Dmitry Ilyin (idv1985)
summary: - ntpdate start takes 1 minute and fails on virtualbox
+ [library] ntpdate start takes 1 minute and fails on virtualbox
Changed in fuel:
milestone: 5.1 → 6.0
Revision history for this message
Stanislaw Bogatkin (sbogatkin) wrote :

related to https://bugs.launchpad.net/fuel/+bug/1317640 and will fade after we merge ntp-dev package

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.