Bug 1599842
Summary: | segfault in cls_rgw | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Douglas Fuller <dfuller> |
Component: | RGW | Assignee: | Matt Benjamin (redhat) <mbenjamin> |
Status: | CLOSED ERRATA | QA Contact: | Tejas <tchandra> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.5 | CC: | cbodley, ceph-eng-bugs, frival, kbader, kdreyer, mbenjamin, mkogan, owasserm, sweil, tchandra, tserlin, tunguyen, vakulkar |
Target Milestone: | z2 | Flags: | vakulkar:
automate_bug?
|
Target Release: | 2.5 | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHEL: ceph-10.2.10-36.el7cp Ubuntu: ceph_10.2.10-31redhat1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-09-05 19:39:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1581350 |
Description
Douglas Fuller
2018-07-10 17:47:46 UTC
This appears to have been triggered by radosgw-admin gc list --include-all On a cluster with a very large number of pending GCs. Adding information from mail thread for future reference
- - - - - 8< - - - - -
Seems like the issue originated higher in the stack at #4 rgw_cls_gc_list ->
#3 gc_list_entries (next_marker="", truncated=0x7fffd25862b8,
entries=std::list = {...}, expired_only=<optimized out>, max=800,
marker="", hctx=0x7fffd2586688) at cls/rgw/cls_rgw.cc:3301
- - - - - 8< - - - - -
Comment from Yehuda - quote:
>> 3267
>> 3268 if (max_entries && (i >= max_entries)) {
>> 3269 if (truncated)
>> 3270 *truncated = true;
>> 3271 --iter;
^^^ This is dangerous. need to check if (iter != keys.end())
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2651 |