Bug #52690
openrbd: failed to remove snapshot: (1) Operation not permitted -- but the volume is removed
0%
Description
Since upgrading to 15.2.10 I sometimes receive the following error when attempting to remove a snapshot:
```
rbd: failed to remove snapshot: (1) Operation not permitted
```
However, when I check the volumes list with `rbd ls -l --pool` I see that the snapshot I tried to remove is in fact gone.
The above error interrupts my backup process though as it aborts on error. As it stands, I have to restart the backup multiple times each run.
Happy to provide further details, just not sure where to gather them from, or what logging should be enabled.
Updated by Jamin Collins over 2 years ago
Still seeing this on an almost daily basis.
Updated by Jamin Collins over 2 years ago
Today I was met with
rbd: failed to create snapshot: (1) Operation not permitted
However, retrying the operation (once the error was noticed) without any cluster configuration changes succeeded.
Updated by Sebastian Wagner over 2 years ago
- Project changed from Ceph to rbd
- Category deleted (
librbd)
Updated by Ilya Dryomov about 2 years ago
- Status changed from New to Need More Info
- Assignee set to Ilya Dryomov
Hi Jamin,
This is puzzling since librbd doesn't generally fail with EPERM. If it still reproduces, please append "--debug-monc 30 --debug-auth 30 --debug-rbd 30 --debug-ms 1" to your "rbd snap rm" invocation and capture the output.