Bug 1612623

Summary: Crush can produce invalid mappings
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Brad Hubbard <bhubbard>
Component: RADOSAssignee: Brad Hubbard <bhubbard>
Status: CLOSED CURRENTRELEASE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: bhubbard, ceph-eng-bugs, dzafman, jdurgin, kchai, kdreyer, mhackett, nojha
Target Milestone: z2   
Target Release: 3.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-12.2.8-52.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-05 05:02:55 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:

Description Brad Hubbard 2018-08-06 01:47:54 UTC
Description of problem:

Under certain circumstances crush can produce invalid mappings as shown by these manager logs.

2018-06-20 12:21:57.552093 7fef326e3700 10  total_deviation 120.548 overfull 0,1,2,4,7,9,11,12,13,16,17,18,20,21,23,24,26,29 underfull [6,8,30,31,27,5,10,19,3,15,28]                                                                        
2018-06-20 12:21:57.552102 7fef326e3700 10  osd.24 move 6                                                                                                                                                                                    
2018-06-20 12:21:57.552112 7fef326e3700 10   trying 11.11                                                                                                                                                                                    
2018-06-20 12:21:57.552157 7fef326e3700 10   11.11 [24,25,0] -> [31,847218496,21924]                                                                                                                                                         
2018-06-20 12:21:57.552164 7fef326e3700 10   11.11 pg_upmap_items [24,31,25,847218496,0,21924]


Version-Release number of selected component (if applicable):
12.2.4-10.el7cp

Additional info:

Should be fixed by https://github.com/ceph/ceph/pull/21359 which did not make it into RHCS yet.