Project

General

Profile

Actions

Bug #52690

open

rbd: failed to remove snapshot: (1) Operation not permitted -- but the volume is removed

Added by Jamin Collins over 2 years ago. Updated about 2 years ago.

Status:
Need More Info
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

Updated by Jamin Collins over 2 years ago

Still seeing this on an almost daily basis.

Actions #2

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.

Actions #3

Updated by Sebastian Wagner over 2 years ago

  • Project changed from Ceph to rbd
  • Category deleted (librbd)
Actions #4

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.

Actions

Also available in: Atom PDF