Project

General

Profile

Actions

Bug #65727

open

ntpq: command not found

Added by Laura Flores 21 days ago. Updated 20 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

/a/yuriw-2024-04-20_15:32:38-rados-wip-yuriw-testing-20240419.185239-main-distro-default-smithi/7664955

2024-04-20T18:01:30.787 DEBUG:teuthology.orchestra.run.smithi191:> sudo systemctl stop ntp.service || sudo systemctl stop ntpd.service || sudo systemctl stop chronyd.service ; sudo ntpd -gq || sudo chronyc makestep ; sudo systemctl start ntp.service || sudo systemctl start ntpd.service || sudo systemctl start chronyd.service ; PATH=/usr/bin:/usr/sbin ntpq -p || PATH=/usr/bin:/usr/sbin chronyc sources || true
2024-04-20T18:01:30.814 INFO:teuthology.orchestra.run.smithi012.stderr:Failed to stop ntp.service: Unit ntp.service not loaded.
2024-04-20T18:01:30.815 INFO:teuthology.orchestra.run.smithi053.stderr:Failed to stop ntp.service: Unit ntp.service not loaded.
2024-04-20T18:01:30.830 INFO:teuthology.orchestra.run.smithi012.stderr:Failed to stop ntpd.service: Unit ntpd.service not loaded.
2024-04-20T18:01:30.831 INFO:teuthology.orchestra.run.smithi053.stderr:Failed to stop ntpd.service: Unit ntpd.service not loaded.
2024-04-20T18:01:30.839 INFO:teuthology.orchestra.run.smithi191.stderr:Failed to stop ntp.service: Unit ntp.service not loaded.
2024-04-20T18:01:30.854 INFO:teuthology.orchestra.run.smithi191.stderr:Failed to stop ntpd.service: Unit ntpd.service not loaded.
2024-04-20T18:01:30.855 INFO:teuthology.orchestra.run.smithi012.stderr:sudo: ntpd: command not found
2024-04-20T18:01:30.856 INFO:teuthology.orchestra.run.smithi053.stderr:sudo: ntpd: command not found
2024-04-20T18:01:30.866 INFO:teuthology.orchestra.run.smithi012.stdout:506 Cannot talk to daemon
2024-04-20T18:01:30.868 INFO:teuthology.orchestra.run.smithi053.stdout:506 Cannot talk to daemon
2024-04-20T18:01:30.877 INFO:teuthology.orchestra.run.smithi191.stderr:sudo: ntpd: command not found
2024-04-20T18:01:30.881 INFO:teuthology.orchestra.run.smithi012.stderr:Failed to start ntp.service: Unit ntp.service not found.
2024-04-20T18:01:30.883 INFO:teuthology.orchestra.run.smithi053.stderr:Failed to start ntp.service: Unit ntp.service not found.
2024-04-20T18:01:30.888 INFO:teuthology.orchestra.run.smithi191.stdout:506 Cannot talk to daemon
2024-04-20T18:01:30.895 INFO:teuthology.orchestra.run.smithi012.stderr:Failed to start ntpd.service: Unit ntpd.service not found.
2024-04-20T18:01:30.897 INFO:teuthology.orchestra.run.smithi053.stderr:Failed to start ntpd.service: Unit ntpd.service not found.
2024-04-20T18:01:30.902 INFO:teuthology.orchestra.run.smithi191.stderr:Failed to start ntp.service: Unit ntp.service not found.
2024-04-20T18:01:30.915 INFO:teuthology.orchestra.run.smithi191.stderr:Failed to start ntpd.service: Unit ntpd.service not found.
2024-04-20T18:01:30.958 INFO:teuthology.orchestra.run.smithi012.stderr:bash: line 1: ntpq: command not found
2024-04-20T18:01:30.961 INFO:teuthology.orchestra.run.smithi012.stdout:MS Name/IP address         Stratum Poll Reach LastRx Last sample
2024-04-20T18:01:30.962 INFO:teuthology.orchestra.run.smithi012.stdout:===============================================================================
2024-04-20T18:01:30.962 INFO:teuthology.orchestra.run.smithi012.stdout:^? hv01.front.sepia.ceph.com     0   6     0     -     +0ns[   +0ns] +/-    0ns
2024-04-20T18:01:30.962 INFO:teuthology.orchestra.run.smithi012.stdout:^? hv02.front.sepia.ceph.com     0   6     0     -     +0ns[   +0ns] +/-    0ns
2024-04-20T18:01:30.962 INFO:teuthology.orchestra.run.smithi012.stdout:^? hv03.front.sepia.ceph.com     0   6     0     -     +0ns[   +0ns] +/-    0ns
2024-04-20T18:01:30.962 INFO:teuthology.orchestra.run.smithi012.stdout:^? hv04.front.sepia.ceph.com     0   6     0     -     +0ns[   +0ns] +/-    0ns
2024-04-20T18:01:30.962 INFO:teuthology.orchestra.run.smithi053.stderr:bash: line 1: ntpq: command not found
2024-04-20T18:01:30.966 INFO:teuthology.orchestra.run.smithi053.stdout:MS Name/IP address         Stratum Poll Reach LastRx Last sample
2024-04-20T18:01:30.966 INFO:teuthology.orchestra.run.smithi053.stdout:===============================================================================
2024-04-20T18:01:30.966 INFO:teuthology.orchestra.run.smithi053.stdout:^? hv01.front.sepia.ceph.com     0   6     0     -     +0ns[   +0ns] +/-    0ns
2024-04-20T18:01:30.966 INFO:teuthology.orchestra.run.smithi053.stdout:^? hv02.front.sepia.ceph.com     0   6     0     -     +0ns[   +0ns] +/-    0ns
2024-04-20T18:01:30.966 INFO:teuthology.orchestra.run.smithi053.stdout:^? hv03.front.sepia.ceph.com     0   6     0     -     +0ns[   +0ns] +/-    0ns
2024-04-20T18:01:30.966 INFO:teuthology.orchestra.run.smithi053.stdout:^? hv04.front.sepia.ceph.com     0   6     0     -     +0ns[   +0ns] +/-    0ns
2024-04-20T18:01:30.967 DEBUG:teuthology.orchestra.run:got remote process result: None
2024-04-20T18:01:30.967 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_teuthology_9481b1d62f50e7d0a4f3dd83adf6945b08d5ff17/teuthology/run_tasks.py", line 109, in run_tasks
    manager.__enter__()
  File "/usr/lib/python3.8/contextlib.py", line 113, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/git.ceph.com_teuthology_9481b1d62f50e7d0a4f3dd83adf6945b08d5ff17/teuthology/task/clock.py", line 41, in task
    run.wait(
  File "/home/teuthworker/src/git.ceph.com_teuthology_9481b1d62f50e7d0a4f3dd83adf6945b08d5ff17/teuthology/orchestra/run.py", line 479, in wait
    proc.wait()
  File "/home/teuthworker/src/git.ceph.com_teuthology_9481b1d62f50e7d0a4f3dd83adf6945b08d5ff17/teuthology/orchestra/run.py", line 161, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_teuthology_9481b1d62f50e7d0a4f3dd83adf6945b08d5ff17/teuthology/orchestra/run.py", line 174, in _raise_for_status
    raise ConnectionLostError(command=self.command,
teuthology.exceptions.ConnectionLostError: SSH connection to smithi165 was lost: 'sudo systemctl stop ntp.service || sudo systemctl stop ntpd.service || sudo systemctl stop chronyd.service ; sudo ntpd -gq || sudo chronyc makestep ; sudo systemctl start ntp.service || sudo systemctl start ntpd.service || sudo systemctl start chronyd.service ; PATH=/usr/bin:/usr/sbin ntpq -p || PATH=/usr/bin:/usr/sbin chronyc sources || true'
2024-04-20T18:01:31.171 ERROR:teuthology.util.sentry: Sentry event: https://sentry.ceph.com/organizations/ceph/?query=5f62782627c34e91a5d749b201b3f8c5

Actions #1

Updated by adam kraitman 21 days ago

  • Status changed from New to In Progress
  • Assignee set to adam kraitman
Actions #2

Updated by adam kraitman 20 days ago

I would suggest using "chronyc sources" instead of ntpq, chrony is the newer tool that is used

Actions

Also available in: Atom PDF