Project

General

Profile

Actions

Bug #21206

closed

thrashosds read error injection doesn't take live_osds into account

Added by Sage Weil over 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2017-08-31T16:48:04.472 INFO:teuthology.orchestra.run.smithi075:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph tell osd.1 injectargs -- --filestore_debug_random_read_err=0.0'
2017-08-31T16:48:04.770 INFO:teuthology.orchestra.run.smithi075.stderr:2017-08-31 16:48:04.810840 7f6a64afc700 -1 WARNING: all dangerous and experimental features are enabled.
2017-08-31T16:48:04.791 INFO:teuthology.orchestra.run.smithi075.stderr:2017-08-31 16:48:04.832156 7f6a64afc700 -1 WARNING: all dangerous and experimental features are enabled.
2017-08-31T16:48:04.798 INFO:teuthology.orchestra.run.smithi075.stderr:Error ENXIO: problem getting command descriptions from osd.1
2017-08-31T16:48:04.821 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last):
  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-sage-testing-2017-08-31-0909/qa/tasks/ceph_manager.py", line 909, in wrapper
    return func(self)

/a/sage-2017-08-31_16:26:38-rados-wip-sage-testing-2017-08-31-0909-distro-basic-smithi/1583606

the code appears to set

        self.rerrosd = self.live_osds[0]

then do the do_thrash loop (which will change live_osds!), then
        if self.random_eio > 0:
            self.ceph_manager.raw_cluster_cmd('tell', 'osd.'+str(self.rerrosd),
                          'injectargs', '--', '--filestore_debug_random_read_err=0.0')
            self.ceph_manager.raw_cluster_cmd('tell', 'osd.'+str(self.rerrosd),
                          'injectargs', '--', '--bluestore_debug_random_read_err=0.0')


Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #21235: luminous: thrashosds read error injection doesn't take live_osds into accountResolvedNathan CutlerActions
Actions #1

Updated by Sage Weil over 6 years ago

  • Status changed from 12 to Fix Under Review
Actions #2

Updated by Sage Weil over 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Nathan Cutler over 6 years ago

  • Backport set to luminous
Actions #4

Updated by Nathan Cutler over 6 years ago

  • Copied to Backport #21235: luminous: thrashosds read error injection doesn't take live_osds into account added
Actions #5

Updated by Nathan Cutler almost 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF