summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoao Eduardo Luis <joao.luis@inktank.com>2013-09-10 00:20:41 +0100
committerJoao Eduardo Luis <joao.luis@inktank.com>2013-09-10 00:29:19 +0100
commit3bc618b7b46496c5110edde0da9cae5d3e68e0e1 (patch)
treeaa7e440c15365a52e635a7e080b735aebfa27614
parenta5a3510ea8def905af86ce64a10949f6c3d13b04 (diff)
downloadceph-3bc618b7b46496c5110edde0da9cae5d3e68e0e1.tar.gz
qa: workunits: mon: crush_ops: test 'ceph osd crush move'
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
-rwxr-xr-xqa/workunits/mon/crush_ops.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/workunits/mon/crush_ops.sh b/qa/workunits/mon/crush_ops.sh
index 4f66e552153..09e49acfbf6 100755
--- a/qa/workunits/mon/crush_ops.sh
+++ b/qa/workunits/mon/crush_ops.sh
@@ -64,4 +64,8 @@ ceph osd crush rm host2
ceph osd crush rm osd.$o1
ceph osd crush rm osd.$o2
+ceph osd crush add-bucket foo host
+ceph osd crush move foo root=default rack=localrack
+ceph osd crush rm foo
+
echo OK