Project

General

Profile

Actions

Bug #11079

closed

crushtool -d zeroes the osd weights in straw2 buckets

Added by Dan van der Ster about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Using: ceph-0.93-59.g3878878.el6.x86_64.rpm

Starting with crush.txt, having only straw buckets, we change the first host to be straw2 (see crush.txt2). Then we do:

crushtool -c crush.txt2 -o crush.map2
crushtool -d crush.map2 -o crush.txt3

In crush.txt3 you see that all the OSDs in the straw2 host become 0.000.


Files

crush.txt.gz (62 KB) crush.txt.gz before straw2 Dan van der Ster, 03/10/2015 10:43 AM
crush.txt2.gz (62 KB) crush.txt2.gz changed first host to be straw2 Dan van der Ster, 03/10/2015 10:43 AM
crush.txt3.gz (62 KB) crush.txt3.gz after compile then decompile all straw2 osds have 0.00 weight Dan van der Ster, 03/10/2015 10:43 AM
Actions #1

Updated by Dan van der Ster about 9 years ago

Actually, we also observe the zero weighted OSDs just by setcrushmap'ing the crush.map2. So it's not only crushtool that is affected here. After ceph osd setcrushmap -i crush.map2 we observe (with ceph osd tree) the items in the straw2 buckets get a 0 weight.

Actions #2

Updated by Sage Weil about 9 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Sage Weil about 9 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF