ntp synchronization failure seen during bootstrap

Bug #1469811 reported by Big Switch Networks
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Critical
Albert Syriy

Bug Description

While trying to deploy a compute node, during bootstrap observed ntp synchronization failure... logs from master/bootstrap nodes are attached.

Thanks,

Tags: mos-linux
Revision history for this message
Big Switch Networks (fuel-bugs-internal) wrote :
Changed in fuel:
assignee: nobody → Pavel Boldin (pboldin)
importance: Undecided → Critical
milestone: none → 6.1-updates
status: New → In Progress
tags: added: mos-linux
Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :

Could you please post /etc/ntp.conf from the bootstrap node?

Revision history for this message
Big Switch Networks (fuel-bugs-internal) wrote :

ntp.conf file is attached.

Albert Syriy (asyriy)
Changed in fuel:
assignee: Pavel Boldin (pboldin) → asyriy (asyriy)
Revision history for this message
Alexei Sheplyakov (asheplyakov) wrote :

The script which generates ntp.conf on bootstrap nodes does not verify if masternode_ip variable is non-empty: https://github.com/stackforge/fuel-main/blob/master/bootstrap/sync/usr/bin/fix-configs-on-startup#L51

As a result

server burst iburst

stanza is written to ntp.conf. ntpdate tries to interpret "burst" as a server name (which obviously fails).
However if the bootstrap node failed to get the master node IP the game is basically over: the bootstrap node
will be unable to contact the master. Having a valid ntp.conf won't help.

Revision history for this message
Pavel Boldin (pboldin) wrote :

Not a bug, since we changed the cobbler profiles a lot during the debug.

This lead to the overwrite of the following kernel params which are used for the mcollective initialization as well as ntp configuration:

fuel-master # cobbler profile report --name=bootstrap | grep Kernel\ Options
Kernel Options : {'url': 'http://10.20.0.2:8000/api', 'mco_pass': 'eBO7EtXG', 'biosdevname': '0', 'mco_user': 'mcollective'}
Kernel Options (Post Install) : {}

Albert Syriy (asyriy)
Changed in fuel:
status: In Progress → 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.