Ask Your Question
0

NTP contidion reject, how solved it?

asked 2016-01-07 13:13:52 -0500

ksantacr gravatar image

updated 2016-01-07 18:57:39 -0500

I'm implementing Openstack Juno on Ubuntu 14.04 I had 4Nodes : 1Network, 1Controller, 2Compute,Actually I have all network configuration ok and ping each others is ok too, following this steps http://docs.openstack.org/juno/install-guide/install/apt/content/ch_basic_environment.html#basics-ntp (http://docs.openstack.org/juno/instal...) , When I check it with ntpq - assoc in column condition said reject but i dont know why this is my ntp configuration and outputs:

Controller Node


ntpq -c peers

 remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 78.186-71-75.ui .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 190.15.141.64   .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 190.15.128.72   .INIT.          16 u    - 1024    0    0.000    0.000   0.000
 juniperberry.ca .INIT.          16 u    - 1024    0    0.000    0.000   0.000

ntpq -c assoc

ind assid status  conf reach auth condition  last_event cnt
===========================================================
  1 12378  8011   yes    no  none    reject    mobilize  1
  2 12379  8011   yes    no  none    reject    mobilize  1
  3 12380  8011   yes    no  none    reject    mobilize  1
  4 12381  8011   yes    no  none    reject    mobilize  1

/etc/ntp.conf

driftfile /var/lib/ntp/ntp.drift

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

server 0.ubuntu.pool.ntp.org
server 1.ubuntu.pool.ntp.org
server 2.ubuntu.pool.ntp.org
server 3.ubuntu.pool.ntp.org

server 91.189.94.4

restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery

restrict 127.0.0.1
restrict ::1

Network Node

ntpq -c peers

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 controller      .INIT.          16 u 1009 1024    0    0.000    0.000   0.000

ntpq -c assoc

ind assid status  conf reach auth condition  last_event cnt
===========================================================
  1 65207  8011   yes    no  none    reject    mobilize  1

/etc/ntp.conf

driftfile /var/lib/ntp/ntp.drift

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

server controller iburst

restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery


restrict 127.0.0.1
restrict ::1

Compute1

ntpq -c peers

  remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 controller      .INIT.          16 u  882 1024    0    0.000    0.000   0.000

ntpq -c assoc

ind assid status  conf reach auth condition  last_event cnt
===========================================================
  1 46432  8011   yes    no  none    reject    mobilize  1

/etc/ntp.conf

driftfile /var/lib/ntp/ntp.drift

statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable

server controller iburst

restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery

restrict controller
restrict 127.0.0.1
restrict ::1

Compute2 ...


(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-08 15:26:23 -0500

ksantacr gravatar image

Oh boys my problems was my dns configuration because when I check ntp log I found some error when try to connect with *.ubuntu.pool.ntp.org. I'm just add dns-nameservers MY_DNS and then it work correctly. Before that I check some threats about NTPand it was so usefull http://www.tldp.org/LDP/sag/html/basic-ntp-config.html (http://www.tldp.org/LDP/sag/html/basi...) .

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-01-07 13:13:52 -0500

Seen: 4,618 times

Last updated: Jan 08 '16