Project

General

Profile

Bug #12782

Straw2 bucket created even when "tunable straw_calc_version 1" is created

Added by James P over 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

- Hammer cluster running on kernel 3.19
- Tunables set to "hammer" via "ceph osd crush tunables hammer"
- Tunables dump:

{
"choose_local_tries": 0,
"choose_local_fallback_tries": 0,
"choose_total_tries": 50,
"chooseleaf_descend_once": 1,
"chooseleaf_vary_r": 1,
"straw_calc_version": 1,
"allowed_bucket_algs": 54,
"profile": "hammer",
"optimal_tunables": 0,
"legacy_tunables": 0,
"require_feature_tunables": 1,
"require_feature_tunables2": 1,
"require_feature_tunables3": 1,
"has_v2_rules": 0,
"has_v3_rules": 0,
"has_v4_buckets": 0
}

- Create a new bucket via "ceph osd crush add-bucket ssdroot root"
- dump crush map:
---snip---

root ssdroot {
id -9 # do not change unnecessarily
  1. weight 0.000
    alg straw2
    hash 0 # rjenkins1
    }
---snip---

This prevents client nodes from mapping RBDs with the following error:

"libceph: mon2 172.16.1.173:6789 feature set mismatch, my 2b84a842a42 < server's 102b84a842a42, missing 1000000000000"

History

#1 Updated by James P over 8 years ago

Apparently "allowed_bucket_algs" is the one which dictates that buckets should be STRAW2 and not "straw_calc_version".

So this could probably be just a documentation issue. At the very least, an entry that states the minimum kernel version for hammer/optimal tunables which, if I understand correctly, is 4.1 to support STRAW2.

#2 Updated by Sage Weil over 8 years ago

  • Status changed from New to Need More Info

Yeah. Can you piont to where in the docs it is confusing? Thanks!

#3 Updated by Sage Weil almost 7 years ago

  • Status changed from Need More Info to Closed

Also available in: Atom PDF