Project

General

Profile

Actions

Bug #45297

closed

sudo docker kill -s Signals.SIGHUP osd fails with 'Error: Invalid signal: Signals.SIGHUP'

Added by Brad Hubbard almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
High
Category:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

/a/teuthology-2020-04-26_07:01:02-rados-master-distro-basic-smithi/4985894

2020-04-26T21:02:00.199 INFO:teuthology.orchestra.run.smithi088:> sudo docker kill -s Signals.SIGHUP ceph-e981a4cc-87ff-11ea-a068-001a4aab830c-osd.7
2020-04-26T21:02:00.212 INFO:teuthology.orchestra.run.smithi081:> sudo /home/ubuntu/cephtest/cephadm --image quay.io/ceph-ci/ceph:28c7ba68ae17612394a47291f42995d4c893a440 shell --fsid e981a4cc-87ff-11ea-a068-001a4aab830c -- ceph osd pool create unique_pool_0 16
2020-04-26T21:02:00.213 INFO:teuthology.orchestra.run.smithi081:> sudo /home/ubuntu/cephtest/cephadm --image quay.io/ceph-ci/ceph:28c7ba68ae17612394a47291f42995d4c893a440 shell --fsid e981a4cc-87ff-11ea-a068-001a4aab830c -- ceph osd set noscrub
2020-04-26T21:02:00.214 INFO:teuthology.orchestra.run.smithi081:> sudo /home/ubuntu/cephtest/cephadm --image quay.io/ceph-ci/ceph:28c7ba68ae17612394a47291f42995d4c893a440 shell --fsid e981a4cc-87ff-11ea-a068-001a4aab830c -- ceph -- tell 'osd.*' injectargs --osd_enable_op_tracker=false
2020-04-26T21:02:00.214 INFO:teuthology.orchestra.run.smithi081:> sudo /home/ubuntu/cephtest/cephadm --image quay.io/ceph-ci/ceph:28c7ba68ae17612394a47291f42995d4c893a440 shell --fsid e981a4cc-87ff-11ea-a068-001a4aab830c -- ceph daemon osd.0 dump_ops_in_flight
2020-04-26T21:02:00.326 INFO:teuthology.orchestra.run.smithi088.stderr:Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
2020-04-26T21:02:00.362 INFO:teuthology.orchestra.run.smithi088.stderr:Error: Invalid signal: Signals.SIGHUP
2020-04-26T21:02:00.367 DEBUG:teuthology.orchestra.run:got remote process result: 125
2020-04-26T21:02:00.367 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_ceph_master/qa/tasks/ceph_manager.py", line 122, in wrapper
    return func(self)
  File "/home/teuthworker/src/git.ceph.com_ceph_master/qa/tasks/ceph_manager.py", line 1095, in do_sighup
    self.ceph_manager.signal_osd(osd, signal.SIGHUP, silent=True)
  File "/home/teuthworker/src/git.ceph.com_ceph_master/qa/tasks/ceph_manager.py", line 2797, in signal_osd
    self.cluster).signal(sig, silent=silent)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/daemon/cephadmunit.py", line 123, in signal
    self.remote.sh(self.kill_cmd(sig))
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 247, in sh
    proc=self.run(**kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 203, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 473, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
    node=self.hostname, label=self.label
teuthology.exceptions.CommandFailedError: Command failed on smithi088 with status 125: 'sudo docker kill -s Signals.SIGHUP ceph-e981a4cc-87ff-11ea-a068-001a4aab830c-osd.7'
Actions #1

Updated by Greg Farnum almost 4 years ago

Looks like something's being escaped when it shouldn't? (Signals.SIGHUP has got to be a Python variable that needs to turn into a simple SIGHUP or the proper integer on the CLI)

I'm not sure which project to assign this ticket to, though.

Actions #2

Updated by Brad Hubbard almost 4 years ago

  • Project changed from Ceph to Orchestrator
Actions #5

Updated by Sebastian Wagner almost 4 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Sebastian Wagner
Actions #6

Updated by Brad Hubbard almost 4 years ago

  • Status changed from Fix Under Review to Resolved

Thanks Sebastian

Actions

Also available in: Atom PDF