Unable to add External NTP servers on Azure CVO HA
Applies to
- Cloud Volumes ONTAP HA for Azure
- Network Time Protocol (NTP)
- ONTAP 9
Issue
Adding External time.windows.com NTP fails:
AUDIT log:
Wed Jan 01 2024 11:13:59 +01:00 :: cluster1:ssh :: cluster1:domain\John :: cluster time-service ntp server create -server time.windows.com :: Error: Connecting to NTP server "time.windows.com" with address 20.101.57.9 failed with reason: "Network is unreachable"
Wed Jan 01 2024 11:14:39 +01:00 :: cluster1:ssh :: cluster1:domain\John :: cluster time-service ntp server create -server time.windows.com :: Error: Unable to query NTP server "time.windows.com" with address 20.101.57.9 within 5 seconds.
MGWD log:
Wed Jan 01 2024 16:18:45 +01:00 [kern_mgwd:info:4305] 0x835a24f00: 8003e80000004fb7: DEBUG: ntpd_support: _check_ntp_server:571 select 0 fd=24 tgt_addr=20.101.57.9
Wed Jan 01 2024 16:18:45 +01:00 [kern_mgwd:info:4305] 0x835a24f00: 8003e80000004fb7: ERR: ntpd_support: _process_time_packet:299 recvmsg on fd 24: Resource temporarily unavailable
Wed Jan 01 2024 16:18:45 +01:00 [kern_mgwd:info:4305] 0x835a24f00: 8003e80000004fb7: DEBUG: ntpd_support: _check_ntp_server:586 process packet failed fd=24 tgt_addr=20.101.57.9: invalid operation
Wed Jan 01 2024 16:18:45 +01:00 [kern_mgwd:info:4305] 0x835a24f00: 8003e80000004fb7: DEBUG: ntpd_support: _send_time_packet:251 sendto OKAY key_id=0 fd=24 tgt_addr=20.101.57.9
Wed Jan 01 2024 16:18:45 +01:00 [kern_mgwd:info:4305] 0x835a24f00: 8003e80000004fb7: DEBUG: ntpd_support: _check_ntp_server:552 select 1.500000 fd=24 tgt_addr=20.101.57.9
Wed Jan 01 2024 16:18:46 +01:00 [kern_mgwd:info:4305] 0x835a24f00: 8003e80000004fb7: DEBUG: ntpd_support: _check_ntp_server:571 select 0 fd=24 tgt_addr=20.101.57.9
Wed Jan 01 2024 16:18:46 +01:00 [kern_mgwd:info:4305] 0x835a24f00: 8003e80000004fb7: ERR: ntpd_support: _process_time_packet:299 recvmsg on fd 24: Resource temporarily unavailable
Wed Jan 01 2024 16:18:46 +01:00 [kern_mgwd:info:4305] 0x835a24f00: 8003e80000004fb7: DEBUG: ntpd_support: _check_ntp_server:586 process packet failed fd=24 tgt_addr=20.101.57.9: invalid operation
Wed Jan 01 2024 16:18:46 +01:00 [kern_mgwd:info:4305] 0x835a24f00: 8003e80000004fb7: DEBUG: ntpd_support: _find_ntp_address:1181 check of time.windows.com with 20.101.57.9 failed: Unable to query NTP server "time.windows.com" with address 20.101.57.9 within 5 seconds.
Wed Jan 01 2024 16:18:46 +01:00 [kern_mgwd:info:4305] 0x835a24f00: 8003e80000004fb7: DEBUG: ntpd_support: find_ntp_address:1290 time.windows.com => : Unable to query NTP server "time.windows.com" with address 20.101.57.9 within 5 seconds.
Network ping to time.windows.com works:
Wed Jan 01 2024 11:07:56 +01:00 :: cluster1:ssh :: cluster1:domain\John :: network ping -lif cluster1-01-mgmt -vserver cluster1 -destination time.windows.com :: Success
Adding Internal NTP servers works:
Wed Jan 01 2024 11:21:47 +01:00 :: cluster1:ssh :: cluster1:domain\John :: cluster time-service ntp server create -server <internal_time_server> :: Success