NTP sync fails during cluster installation

Bug #1550226 reported by Hua Zhihao
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel Library (Deprecated)

Bug Description

Setting the default NTP servers will get a timeout as below:

Error running RPC method granular_deploy: Failed to execute hook 'sync_time' command: cd / && timeout -s9 40 ntpdate -u -v -s $(awk '/^server/ { if ($2 !~ /127\.127\.[0-9]+\.[0-9]+/) {ORS=" "; print $2}}' /etc/ntp.conf)
Task: b3988c0c-4e83-4871-990d-c8370984a79e: shell timeout error: execution expired
Task timeout: 300, Retries: 10
---
uids:
- '11'
- '10'
parameters:
  retries: 10
  cmd: timeout -s9 40 ntpdate -u -v -s $(awk '/^server/ { if ($2 !~ /127\.127\.[0-9]+\.[0-9]+/)
    {ORS=" "; print $2}}' /etc/ntp.conf)
  cwd: /
  timeout: 300
  interval: 30
priority: 700
fail_on_error: true
type: shell
id: sync_time
, trace:
["/usr/share/gems/gems/astute-8.0.0/lib/astute/nailgun_hooks.rb:64:in `block in process'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/nailgun_hooks.rb:26:in `each'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/nailgun_hooks.rb:26:in `process'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/deployment_engine/granular_deployment.rb:215:in `pre_deployment_actions'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/deployment_engine.rb:36:in `deploy'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/orchestrator.rb:216:in `deploy_cluster'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/orchestrator.rb:52:in `granular_deploy'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/dispatcher.rb:92:in `granular_deploy'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/server.rb:189:in `dispatch_message'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/server.rb:146:in `block in dispatch'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/task_queue.rb:64:in `call'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/task_queue.rb:64:in `block in each'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/task_queue.rb:56:in `each'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/server.rb:144:in `each_with_index'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/server.rb:144:in `dispatch'",
 "/usr/share/gems/gems/astute-8.0.0/lib/astute/server/server.rb:123:in `block in perform_main_job'"]

Revision history for this message
Dmitry Klenov (dklenov) wrote :

@John Hua, please attach diagnostic snapshot. Setting to incomplete for now.

Changed in fuel:
milestone: none → 9.0
assignee: nobody → Fuel Library Team (fuel-library)
tags: added: area-library
Changed in fuel:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

This bug already was fixed, so please provide the ISO version used.

Revision history for this message
Hua Zhihao (huazhihao) wrote :

fuel-8.0-529-2016-02-05_13-56-13

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

It can have place if failed node had hadn't connection to internet when tries to sync NTP data. At least diagnostic snapshot needed.

Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

version

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Revision history for this message
Roman Prykhodchenko (romcheg) wrote :

@John Hua: could you please check, if the bug still happens to you. If not, please update this record with a diagnostic snapshot.

Revision history for this message
Roman Prykhodchenko (romcheg) wrote :

Marking as invalid since not the requested info was not provided for longer than 1 month.

Changed in fuel:
status: Incomplete → Invalid
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.