From ffb9e09b18d78313fdc076155f7061efa12451ae Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Thu, 25 May 2017 14:47:25 +0200 Subject: [PATCH] qa/suites/krbd: unmap subsuite needs straw buckets The default tunables for luminous allow straw2 buckets, which aren't supported by pre-single-major.yaml kernel. The map is generated before crush_tunables override takes effect, so set the bucket algorithm to straw manually. Signed-off-by: Ilya Dryomov --- qa/suites/krbd/unmap/ceph/ceph.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qa/suites/krbd/unmap/ceph/ceph.yaml b/qa/suites/krbd/unmap/ceph/ceph.yaml index a9713b39387..c58aaca48f0 100644 --- a/qa/suites/krbd/unmap/ceph/ceph.yaml +++ b/qa/suites/krbd/unmap/ceph/ceph.yaml @@ -4,3 +4,6 @@ overrides: tasks: - install: - ceph: +- exec: + client.0: + - "ceph osd getcrushmap -o /dev/stdout | crushtool -d - | sed -e 's/alg straw2/alg straw/g' | crushtool -c /dev/stdin -o /dev/stdout | ceph osd setcrushmap -i /dev/stdin" -- 2.39.5