summaryrefslogtreecommitdiffstats
path: root/qa/workunits/mon/crush_ops.sh
diff options
context:
space:
mode:
authorSage Weil <sage@redhat.com>2017-07-21 19:46:04 +0200
committerSage Weil <sage@redhat.com>2017-07-21 19:50:57 +0200
commit09b89ace82b2501bab33b10617e92f7060f75f3d (patch)
treee983c30900bebece88756664cc303beb7c522951 /qa/workunits/mon/crush_ops.sh
parentqa/workunits/mon/crush_ops: require luminous clients for test (diff)
downloadceph-09b89ace82b2501bab33b10617e92f7060f75f3d.tar.xz
ceph-09b89ace82b2501bab33b10617e92f7060f75f3d.zip
qa/workunits/mon/crush_ops.sh: fix in-use rule removal test
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to '')
-rwxr-xr-xqa/workunits/mon/crush_ops.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/workunits/mon/crush_ops.sh b/qa/workunits/mon/crush_ops.sh
index 6ae7c5fa655..11f0b4f4ae5 100755
--- a/qa/workunits/mon/crush_ops.sh
+++ b/qa/workunits/mon/crush_ops.sh
@@ -39,7 +39,9 @@ ceph osd crush rule rm foo # idempotent
ceph osd crush rule rm bar
# can't delete in-use rules, tho:
+ceph osd pool create pinning_pool 1
expect_false ceph osd crush rule rm replicated_rule
+ceph osd pool rm pinning_pool pinning_pool --yes-i-really-really-mean-it
# build a simple map
expect_false ceph osd crush add-bucket foo osd