RBD key permission to unprotect a rbd snapshot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

what permissions do I need to unprotect a protected rbd snapshot?

Currently the key interacting with the pool containing the rbd image
has the following permissions:

mon 'allow r'
osd 'allow rwx pool=vms'

When I try to unprotect a snaphost with the following command "rbd
snap unprotect vms/ubuntu@snap" I get the following error:

2017-01-12 16:45:15.385212 7fab38ee4700 -1
librbd::SnapshotUnprotectRequest: cannot get children for pool 'vms'
2017-01-12 16:45:15.385343 7fab38ee4700 -1
librbd::SnapshotUnprotectRequest: cannot get children for pool 'data'
2017-01-12 16:45:15.386220 7fab38ee4700 -1
librbd::SnapshotUnprotectRequest: cannot get children for pool
'cephfs_data'
2017-01-12 16:45:15.386332 7fab38ee4700 -1
librbd::SnapshotUnprotectRequest: cannot get children for pool
'cephfs_metadata'
2017-01-12 16:45:15.386845 7fab38ee4700 -1
librbd::SnapshotUnprotectRequest: encountered error: (1) Operation not
permitted
2017-01-12 16:45:15.386870 7fab38ee4700 -1
librbd::SnapshotUnprotectRequest: 0x7fab6376a4a0
should_complete_error: ret_val=-1
2017-01-12 16:45:15.389819 7fab38ee4700 -1
librbd::SnapshotUnprotectRequest: 0x7fab6376a4a0
should_complete_error: ret_val=-1
rbd: unprotecting snap failed: (1) Operation not permitted

What additional permission does the key need? And why does the command
try to get children on all pools?

Best,
Martin
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux