]>
git.proxmox.com Git - ceph.git/blob - ceph/qa/workunits/rados/test_pool_access.sh
10 if [ $?
== 1 ]; then return 0; else return 1; fi
14 key
=`ceph auth get-or-create-key client.poolaccess1 mon 'allow r' osd 'allow *'`
15 rados
--id poolaccess1
--key $key -p rbd
ls
17 key
=`ceph auth get-or-create-key client.poolaccess2 mon 'allow r' osd 'allow * pool=nopool'`
18 expect_1 rados
--id poolaccess2
--key $key -p rbd
ls
20 key
=`ceph auth get-or-create-key client.poolaccess3 mon 'allow r' osd 'allow rw pool=nopool'`
21 expect_1 rados
--id poolaccess3
--key $key -p rbd
ls