Bug #12782
closedStraw2 bucket created even when "tunable straw_calc_version 1" is created
0%
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 {---snip---
id -9 # do not change unnecessarily
- weight 0.000
alg straw2
hash 0 # rjenkins1
}
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"