mirror of
https://github.com/ceph/go-ceph
synced 2024-12-22 22:24:03 +00:00
test: update micro-osd.sh to support nautilus
Apparently 'rados mkpool' and 'rados rmpool' no longer function when using nautilus. Switch to ceph osd pool subcommands. Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
fb17c78c11
commit
a9a7137d59
@ -101,9 +101,9 @@ ceph --version
|
||||
ceph status
|
||||
test_pool=$(uuidgen)
|
||||
temp_file=$(mktemp)
|
||||
rados mkpool ${test_pool}
|
||||
ceph osd pool create ${test_pool} 0
|
||||
rados --pool ${test_pool} put group /etc/group
|
||||
rados --pool ${test_pool} get group ${temp_file}
|
||||
diff /etc/group ${temp_file}
|
||||
rados rmpool ${test_pool} ${test_pool} --yes-i-really-really-mean-it
|
||||
ceph osd pool delete ${test_pool} ${test_pool} --yes-i-really-really-mean-it
|
||||
rm ${temp_file}
|
||||
|
Loading…
Reference in New Issue
Block a user