From: Ilya Dryomov Date: Thu, 25 May 2017 12:47:25 +0000 (+0200) Subject: qa/suites/krbd: unmap subsuite needs straw buckets X-Git-Tag: v12.1.0~57^2~40^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ffb9e09b18d78313fdc076155f7061efa12451ae;p=ceph.git 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 --- diff --git a/qa/suites/krbd/unmap/ceph/ceph.yaml b/qa/suites/krbd/unmap/ceph/ceph.yaml index a9713b393873..c58aaca48f01 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"