Project

General

Profile

Bug #21206

thrashosds read error injection doesn't take live_osds into account

Added by Sage Weil almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
08/31/2017
Due date:
% Done:

0%

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

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

Copied to RADOS - Backport #21235: luminous: thrashosds read error injection doesn't take live_osds into account Resolved

History

#1 Updated by Sage Weil almost 2 years ago

  • Status changed from Verified to Need Review

#2 Updated by Sage Weil almost 2 years ago

  • Status changed from Need Review to Pending Backport

#3 Updated by Nathan Cutler almost 2 years ago

  • Backport set to luminous

#4 Updated by Nathan Cutler almost 2 years ago

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

#5 Updated by Nathan Cutler over 1 year ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF