diff options
author | Sage Weil <sage@redhat.com> | 2017-07-21 19:46:04 +0200 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2017-07-21 19:50:57 +0200 |
commit | 09b89ace82b2501bab33b10617e92f7060f75f3d (patch) | |
tree | e983c30900bebece88756664cc303beb7c522951 /qa/workunits/mon/crush_ops.sh | |
parent | qa/workunits/mon/crush_ops: require luminous clients for test (diff) | |
download | ceph-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-x | qa/workunits/mon/crush_ops.sh | 2 |
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 |