It looks like privileges are not allowing the show ntp sources command to work on 1.4:
vyos@cr01-vyos:~$ show ntp sources
Traceback (most recent call last):
File "/usr/libexec/vyos/op_mode/ntp.py", line 159, in <module>
res = vyos.opmode.run(sys.modules[__name__])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vyos/opmode.py", line 263, in run
res = func(**args)
^^^^^^^^^^^^
File "/usr/libexec/vyos/op_mode/ntp.py", line 133, in show_sources
return cmd(command)
^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/vyos/utils/process.py", line 155, in cmd
raise OSError(code, feedback)
PermissionError: [Errno 1] failed to run command: chronyc sources -v
returned: 506 Cannot talk to daemon
exit code: 1Running the command as sudo fixes the issue, so I'm guessing the command underneath needs to be run either as root, or as _chrony:
vyos@cr01-vyos:~$ sudo chronyc 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 =============================================================================== ^* ns02.ac.trae32566.org 2 6 377 12 +591us[ +812us] +/- 27ms ^- ns01.ac.trae32566.org 2 6 377 11 +320us[ +320us] +/- 38ms