mirror of
https://github.com/ceph/ceph
synced 2024-12-29 06:52:35 +00:00
4b0e2c8ed4
Signed-off-by: Kefu Chai <kchai@redhat.com>
25 lines
326 B
Bash
Executable File
25 lines
326 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
set -e
|
|
|
|
ua=`uuidgen`
|
|
ub=`uuidgen`
|
|
|
|
# should get same id with same uuid
|
|
na=`ceph osd create $ua`
|
|
test $na -eq `ceph osd create $ua`
|
|
|
|
nb=`ceph osd create $ub`
|
|
test $nb -eq `ceph osd create $ub`
|
|
test $nb -ne $na
|
|
|
|
ceph osd rm $na
|
|
ceph osd rm $na
|
|
ceph osd rm $nb
|
|
ceph osd rm 1000
|
|
|
|
na2=`ceph osd create $ua`
|
|
|
|
echo OK
|
|
|