Comment 6 for bug 1477884

Revision history for this message
Anar (anar-babayev) wrote : Re: deployment fails with ntp_check.pp

Hello,

Here's what I get:

root@node-1:~# ntpdate -u 0.pool.ntp.org
22 Jul 22:11:06 ntpdate[13912]: no server suitable for synchronization found

The other issue is that my /etc/ntp.conf only contains fuel master as a server. Why do I need external NTPs on controllers?

The commands ntpdate -u x.pool.ntp.org fails on fuel master as well despite the fact that x.pool.ntp.org are in /etc/ntp.conf:

[root@fuel ~]# cat /etc/ntp.conf
# ntp.conf: Managed by puppet.
#
# Keep ntpd from panicking in the event of a large clock skew
# when a VM guest is suspended and resumed.
tinker panic 0 stepout 5

# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery
restrict 127.0.0.1
restrict -6 ::1

server 0.pool.ntp.org iburst minpoll 3 maxpoll 9
server 1.pool.ntp.org iburst minpoll 3 maxpoll 9
server 2.pool.ntp.org iburst minpoll 3 maxpoll 9

# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available.
server 127.127.1.0
fudge 127.127.1.0 stratum 10
restrict 127.127.1.0

# Driftfile.
driftfile /var/lib/ntp/drift

However peers seem to be rejected:

[root@fuel ~]# ntpq
ntpq> peers
     remote refid st t when poll reach delay offset jitter
==============================================================================
*LOCAL(0) .LOCL. 10 l 8 64 377 0.000 0.000 0.000
 hubbard.kohina. .INIT. 16 u - 512 0 0.000 0.000 0.000
 h160n5-vrr-a31. .INIT. 16 u - 512 0 0.000 0.000 0.000
 public-timehost .INIT. 16 u - 512 0 0.000 0.000 0.000
ntpq> assoc

ind assid status conf reach auth condition last_event cnt
===========================================================
  1 25019 963a yes yes none sys.peer sys_peer 3
  2 25020 8011 yes no none reject mobilize 1
  3 25021 8011 yes no none reject mobilize 1
  4 25022 8011 yes no none reject mobilize 1
ntpq>

Regards,
Anar