Bug #40635
IndexError: list index out of range in thrash_pg_upmap
Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2019-07-02T20:29:45.865 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last): File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2019-07-02-1056/qa/tasks/ceph_manager.py", line 963, in wrapper return func(self) File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2019-07-02-1056/qa/tasks/ceph_manager.py", line 1093, in do_thrash self.choose_action()() File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-sage-testing-2019-07-02-1056/qa/tasks/ceph_manager.py", line 498, in thrash_pg_upmap pg = random.choice(pgs) File "/usr/lib/python2.7/random.py", line 275, in choice return seq[int(self.random() * len(seq))] # raises IndexError if seq is empty IndexError: list index out of range
/a/sage-2019-07-02_17:58:21-rados-wip-sage-testing-2019-07-02-1056-distro-basic-smithi/4087823
History
#1 Updated by Josh Durgin over 4 years ago
side node: using random.choose(seq) would do the same thing
#2 Updated by Sage Weil over 4 years ago
/a/sage-2019-07-11_17:46:52-rados-wip-sage-testing-2019-07-11-1048-distro-basic-smithi/4111022
#3 Updated by Sage Weil over 4 years ago
/a/sage-2019-07-15_19:52:54-rados-wip-sage-testing-2019-07-15-0918-distro-basic-smithi/4121793
#4 Updated by Sage Weil over 4 years ago
Looks like this triggers when there are no pools, and the pg dump pg_stats is thus empty.
#5 Updated by Sage Weil over 4 years ago
- Status changed from 12 to Fix Under Review
#6 Updated by Sage Weil over 4 years ago
#7 Updated by Sage Weil over 4 years ago
- Status changed from Fix Under Review to Resolved