ceph/qa
John Spray d02d46e250 mon: pool set <pool> crush_ruleset must not use rule_exists
Implement CrushWrapper::ruleset_exists that iterates over the existing
rulesets to find the one matching the ruleset argument.

ceph osd pool set <pool> crush_ruleset must not use
CrushWrapper::rule_exists, which checks for a *rule* existing, whereas
the value being set is a *ruleset*. (cherry picked from commit
fb504baed9)

A test via ceph osd pool set data crush_ruleset verifies the ruleset
argument is accepted.

http://tracker.ceph.com/issues/8599 fixes: #8599

Backport: firefly, emperor, dumpling
Signed-off-by: John Spray <john.spray@inktank.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-14 12:56:59 +02:00
..
btrfs
client
fs qa/fs/.gitignore 2013-07-26 21:06:14 -07:00
libceph
mds
mon/bootstrap
qa_scripts librbd: better error when unprotect fails on unprotected snap 2013-12-31 16:26:07 -08:00
rbd
rgw
workunits mon: pool set <pool> crush_ruleset must not use rule_exists 2014-06-14 12:56:59 +02:00
loopall.sh
Makefile qa: move fs test binary into workunits dir so teuthology can build it 2013-07-05 11:16:08 -07:00
run_xfstests_qemu.sh qa: don't run racy xfstest 008 2013-11-01 18:43:36 -07:00
run_xfstests.sh qa: don't run racy xfstest 008 2013-11-01 18:43:36 -07:00
runallonce.sh
runoncfuse.sh
runonkclient.sh
setup-chroot.sh