Project

General

Profile

Actions

Bug #48505

open

osdmaptool crush

Added by hg liu over 3 years ago. Updated 10 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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; 
}


Related issues 2 (1 open1 closed)

Copied to RADOS - Backport #61822: pacific: osdmaptool crushResolvedMykola GolubActions
Copied to RADOS - Backport #61823: quincy: osdmaptool crushIn ProgressMykola GolubActions
Actions

Also available in: Atom PDF