Re: [ceph-users] When the kernel support JEWEL tunables?

2016-10-19 Thread Alexandre DERUMIER
works fine with kernel 4.6 for me.

from doc:
http://docs.ceph.com/docs/master/rados/operations/crush-map/#crush-tunables

it should works with kernel 4.5 too.



I don't known if they are any plan to backport last krbd module version to 
kernel 4.4 ?


- Mail original - 
De: "한승진" <yongi...@gmail.com>
À: "ceph-users" <ceph-users@lists.ceph.com>
Envoyé: Jeudi 20 Octobre 2016 05:31:49
Objet: [ceph-users]  When the kernel support JEWEL tunables?

Hi all, 
When I try to mount rbd through KRBD, it failed because of mismatch features. 

The Client's OS is Ubuntu 16.04 and kernel is 4.4.0-38 

My original CRUSH tunables is below. 

root@Fx2x1ctrlserv01:~# ceph osd crush show-tunables 
{ 
"choose_local_tries": 0, 
"choose_local_fallback_tries": 0, 
"choose_total_tries": 50, 
"chooseleaf_descend_once": 1, 
"chooseleaf_vary_r": 1, 
"chooseleaf_stable": 1, 
"straw_calc_version": 1, 
"allowed_bucket_algs": 54, 
"profile": "jewel", 
"optimal_tunables": 1, 
"legacy_tunables": 0, 
"minimum_required_version": "jewel", 
"require_feature_tunables": 1, 
"require_feature_tunables2": 1, 
"has_v2_rules": 0, 
"require_feature_tunables3": 1, 
"has_v3_rules": 0, 
"has_v4_buckets": 1, 
"require_feature_tunables5": 1, 
"has_v5_rules": 0 
} 

I disabled tunables5 feature in CRUSH MAP. 

# begin crush map 
tunable choose_local_tries 0 
tunable choose_local_fallback_tries 0 
tunable choose_total_tries 50 
tunable chooseleaf_descend_once 1 
tunable chooseleaf_vary_r 1 
tunable chooseleaf_stable 0 
tunable straw_calc_version 1 
tunable allowed_bucket_algs 54 

Finally, the crush tunables became like hammer 

root@Fx2x1ctrlserv01:~/crushmap# ceph osd crush show-tunables 
{ 
"choose_local_tries": 0, 
"choose_local_fallback_tries": 0, 
"choose_total_tries": 50, 
"chooseleaf_descend_once": 1, 
"chooseleaf_vary_r": 1, 
"chooseleaf_stable": 0, 
"straw_calc_version": 1, 
"allowed_bucket_algs": 54, 
"profile": "hammer", 
"optimal_tunables": 0, 
"legacy_tunables": 0, 
"minimum_required_version": " hammer ", 
"require_feature_tunables": 1, 
"require_feature_tunables2": 1, 
"has_v2_rules": 0, 
"require_feature_tunables3": 1, 
"has_v3_rules": 0, 
"has_v4_buckets": 1, 
"require_feature_tunables5": 0, 
"has_v5_rules": 0 
} 

After that, I could mount a rbd using KRBD 

When can I expect the KRBD support feature_tunables5 ? 

Thanks for your help. 

John Haan 

___ 
ceph-users mailing list 
ceph-users@lists.ceph.com 
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com 

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] When the kernel support JEWEL tunables?

2016-10-19 Thread 한승진
Hi all,

When I try to mount rbd through KRBD, it failed because of mismatch
features.

The Client's OS is Ubuntu 16.04 and kernel is 4.4.0-38

My original CRUSH tunables is below.

root@Fx2x1ctrlserv01:~# ceph osd crush show-tunables
{
"choose_local_tries": 0,
"choose_local_fallback_tries": 0,
"choose_total_tries": 50,
"chooseleaf_descend_once": 1,
"chooseleaf_vary_r": 1,
"chooseleaf_stable": 1,
"straw_calc_version": 1,
"allowed_bucket_algs": 54,
"profile": "jewel",
"optimal_tunables": 1,
"legacy_tunables": 0,
"minimum_required_version": "jewel",
"require_feature_tunables": 1,
"require_feature_tunables2": 1,
"has_v2_rules": 0,
"require_feature_tunables3": 1,
"has_v3_rules": 0,
"has_v4_buckets": 1,
*"require_feature_tunables5": 1,*
"has_v5_rules": 0
}

I disabled tunables5 feature in CRUSH MAP.

# begin crush map
tunable choose_local_tries 0
tunable choose_local_fallback_tries 0
tunable choose_total_tries 50
tunable chooseleaf_descend_once 1
tunable chooseleaf_vary_r 1
*tunable chooseleaf_stable 0*
tunable straw_calc_version 1
tunable allowed_bucket_algs 54

Finally, the crush tunables became like hammer

root@Fx2x1ctrlserv01:~/crushmap# ceph osd crush show-tunables
{
"choose_local_tries": 0,
"choose_local_fallback_tries": 0,
"choose_total_tries": 50,
"chooseleaf_descend_once": 1,
"chooseleaf_vary_r": 1,
"chooseleaf_stable": 0,
"straw_calc_version": 1,
"allowed_bucket_algs": 54,
"profile": "hammer",
"optimal_tunables": 0,
"legacy_tunables": 0,
"minimum_required_version": "*hammer*",
"require_feature_tunables": 1,
"require_feature_tunables2": 1,
"has_v2_rules": 0,
"require_feature_tunables3": 1,
"has_v3_rules": 0,
"has_v4_buckets": 1,
*"require_feature_tunables5": 0,*
"has_v5_rules": 0
}

After that, I could mount a rbd using KRBD

When can I expect the KRBD support feature_tunables5 ?

Thanks for your help.

John Haan
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com