Project

General

Profile

Bug #48505

osdmaptool crush

Added by hanguang liu about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
OSDMap
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

when osd map contains CRUSH_ITEM_NONE osd when i run:
./osdmaptool ./hkc4 --test-map-pgs-dump;

then crush, because:

for (unsigned i=0; i<osds.size(); i++) {
      //cout << " rep " << i << " on " << osds[i] << std::endl;
      count[osds[i]]++;        // when osds[i] == INT_MAX then crush; 
}

Also available in: Atom PDF