diff options
author | Sage Weil <sage@inktank.com> | 2013-10-03 21:15:36 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-10-03 21:15:36 -0700 |
commit | bae4c9573ac1d713af5caf74da4df303c43fd2d2 (patch) | |
tree | 7af4fc0bec6857a7fe0d9a07b70c6b8e271f830f /qa/workunits/cephtool/test.sh | |
parent | fea1e0e56cbd3d82a173b50532ff51b8bcee9359 (diff) | |
download | ceph-wip-pool.tar.gz |
mon: make 'mon {add,remove}_data_pool ...' take pool name or idwip-pool
Take either a pool name or an id. Fix up the tests accordingly.
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'qa/workunits/cephtool/test.sh')
-rwxr-xr-x | qa/workunits/cephtool/test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 09e55b9a842..338bde5700c 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -147,7 +147,9 @@ ceph mds newfs 0 1 --yes-i-really-mean-it ceph osd pool create data2 10 poolnum=$(ceph osd dump | grep 'pool.*data2' | awk '{print $2;}') ceph mds add_data_pool $poolnum +ceph mds add_data_pool rbd ceph mds remove_data_pool $poolnum +ceph mds remove_data_pool rbd ceph osd pool delete data2 data2 --yes-i-really-really-mean-it ceph mds set_max_mds 4 ceph mds set_max_mds 3 |