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 #1

Updated by hg liu about 3 years ago

hanguang liu wrote:

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

then crush, because:
[...]

Actions #2

Updated by hg liu about 3 years ago

hanguang liu wrote:

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

then crush, because:
[...]

test

Actions #3

Updated by Sage Weil almost 3 years ago

  • Project changed from Ceph to RADOS
  • Category deleted (OSDMap)
Actions #4

Updated by Mykola Golub 10 months ago

  • Status changed from New to Resolved
  • Pull request ID set to 43345

This has been fixed in 3cc453705f4b16a0f232c62b32848929b3be8aac (PR: https://github.com/ceph/ceph/pull/43345)

Actions #5

Updated by Mykola Golub 10 months ago

  • Status changed from Resolved to Pending Backport
  • Backport set to quincy, pacific
Actions #6

Updated by Backport Bot 10 months ago

Actions #7

Updated by Backport Bot 10 months ago

Actions #8

Updated by Backport Bot 10 months ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF