]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/krbd: unmap subsuite needs straw buckets 15290/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 25 May 2017 12:47:25 +0000 (14:47 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 25 May 2017 14:11:06 +0000 (16:11 +0200)
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 <idryomov@gmail.com>
qa/suites/krbd/unmap/ceph/ceph.yaml

index a9713b393873763a87a91212d3cab7b9eac08d77..c58aaca48f01e8e98efb91db64124d209160dcee 100644 (file)
@@ -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"