** Summary changed: - ntp sync checks fail when server as no IPv6 connectivity + ntpd interface listing is bugged
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ntp in Ubuntu. https://bugs.launchpad.net/bugs/1952264 Title: ntpd interface listing is bugged Status in NTP Charm: Invalid Status in ntp package in Ubuntu: New Bug description: This charm sets up ntpmon and nagios checks to alert when ntp was not able to select a sync peer. On a server without a routable ipv6 configured, ntpq -p fails with: $ ntpq -p localhost: timed out, nothing received ***Request timed out $ /opt/ntpmon-ntp-charm/check_ntpmon.py --check sync CRITICAL: No sync peer selected | frequency= offset=nan peers=0 reach=nan result=2 rootdelay= rootdisp= runtime= stratum= sync=0.000000 sysjitter= sysoffset= tracehosts= traceloops= tracetime= This results in a nagios alert complaining about the problem. Although: $ ntpq -p -4 remote refid st t when poll reach delay offset jitter ============================================================================== *hostname1 xxx.xxx.xxx.x 2 u 210 256 377 0.842 0.031 0.050 +hostname2 xxx.xxx.xxx.x 2 u 88 256 377 0.327 0.062 0.107 -hostname3 xxx.xxx.xxx.x 2 u 210 256 377 75.810 -1.198 1.035 +hostname4 xxx.xxx.xxx.x 2 u 68 256 377 0.751 0.078 0.193 $ ntpq -p -4 | /opt/ntpmon-ntp-charm/check_ntpmon.py --check sync --test OK: Time is in sync with hostname1 | frequency= offset=0.000057 peers=4 reach=100.000000 result=0 rootdelay= rootdisp= runtime= stratum= sync=1.000000 sysjitter= sysoffset= tracehosts= traceloops= tracetime= Maybe this is a bug to file against ntp itself ? Or some configuration could allow ntpq -p and check_ntpmon.py to succeed ? I've tested running ntpd with -4 (using defaults file) but with no luck. Let us know if you need more information. Thank you, Loïc To manage notifications about this bug go to: https://bugs.launchpad.net/ntp-charm/+bug/1952264/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

