NTP still error on NCC CE | Nutanix Community
Skip to main content
Question

NTP still error on NCC CE


Forum|alt.badge.img+2

Hi guys,

 

i have a problem with my nutanix ce in my new hardware lab, i still got the NTP error even i already change and confirm my ntp configuration is correct, anyone have some problem or can help me to troubleshot my issue? 

 

the error code is “error alert
Lcm prechecks detected 1 issue that would cause upgrade failures.
Check 'test_ntp_server_reachability' failed: Failure reason: Cannot upgrade if the configured NTP server(s): ['0.id.pool.ntp.org', '1.id.pool.ntp.org'] are not reachable. For details read article 6401”

 

i already try to troubleshoot using internal ntp and external ntp but still got the error 

 

more output from my troubleshot

nutanix@NTNX-15e515c1-A-CVM:172.18.3.215:~$ chronyd -Q 'server 0.id.ntp.pool.org iburst'
2025-01-27T06:21:15Z chronyd version 4.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 +DEBUG)
2025-01-27T06:21:15Z Disabled control of system clock
2025-01-27T06:21:25Z No suitable source for synchronisation
2025-01-27T06:21:25Z chronyd exiting
nutanix@NTNX-15e515c1-A-CVM:172.18.3.215:~$ sudo chronyc -n sources -v

  .-- Source mode  '^' = server, '=' = peer, '#' = local clock.
 / .- Source state '*' = current best, '+' = combined, '-' = not combined,
| /             'x' = may be in error, '~' = too variable, '?' = unusable.
||                                                 .- xxxx [ yyyy ] +/- zzzz
||      Reachability register (octal) -.           |  xxxx = adjusted offset,
||      Log2(Polling interval) --.      |          |  yyyy = measured offset,
||                                \     |          |  zzzz = estimated error.
||                                 |    |           \
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
nutanix@NTNX-15e515c1-A-CVM:172.18.3.215:~$

 

nutanix@NTNX-15e515c1-A-CVM:172.18.3.215:~$ sudo chronyc -n ntpdata 0.id.ntp.pool.org
503 No such source
nutanix@NTNX-15e515c1-A-CVM:172.18.3.215:~$

6 replies

JeroenTielen
Forum|alt.badge.img+8
  • Vanguard
  • 1303 replies
  • January 27, 2025

Make sure your CVM and AHV have connection to the internet to access the ntp servers. In Prism Element check your dns servers and ntp servers. Make sure DNS is working and that the hostname can be revolved. 


Forum|alt.badge.img+2
  • Author
  • Trailblazer
  • 18 replies
  • January 27, 2025

Hi Jeroen,

 

Sure, my ahv and cvm already test to internet and can resolve the hostname, but when i test using chrony, i still get error like my the first post, any idea about that?


first try to restart chrony service

what do you get , when you use

#chronyc -a sources

it seems your chrony service is not using any sources

what is the ntp servers in

/etc/chrony/chrony.conf

 

 

 

 


Forum|alt.badge.img+2
  • Author
  • Trailblazer
  • 18 replies
  • January 29, 2025

Hi Ahdmad,

 

my chrony service is already running 

nutanix@NTNX-dbc7ef2d-A-CVM:172.18.3.215:~$ systemctl status chronyd
● chronyd.service - NTP client/server
   Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2025-01-28 19:18:07 WIB; 1 day 1h ago
     Docs: man:chronyd(8)
           man:chrony.conf(5)
 Main PID: 584916 (chronyd)
    Tasks: 1 (limit: 126136)
   Memory: 1.3M
   CGroup: /system.slice/chronyd.service
           └─584916 /usr/sbin/chronyd
nutanix@NTNX-dbc7ef2d-A-CVM:172.18.3.215:~$

 

and i dont know why, even i put any ntp in prism, but in /etc/chrony.conf is dont not show any ntp server in the list

nutanix@NTNX-dbc7ef2d-A-CVM:172.18.3.215:~$ sudo cat /etc/chrony.conf
# Auto generated by ChronyConfig on Tue Jan 28 19:18:06 2025

local stratum 10
driftfile /var/lib/chrony/drift
maxdistance 16.0
makestep 1.0 3
rtcsync
allow 0.0.0.0/0
allow 127.0.0.1
allow ::/0
allow ::1
leapsectz right/UTC
cmdport 0
logdir /var/log/chrony
log measurements statistics tracking


to update on this case, I have installed the CE on my lab (the new CE) and I am receiving the exact same error .
I have been trying to fix this issue by myself but so far I had no luck.
I even tried to add a local NTP (same VLAN) which is working fine for other clients, but not for CVM AHVs.

I will update if I get any update on this case.


my issue is fixed.there was a port block on NTP.

make sure you are able to reach your NTP from your Nutanix Host, (this is a UDP port)
so try something like

# nc -vz -u ntphostname/IP 123


Reply