Actions
Bug #52910
openrbd du | rbd ls -l | ... rbd: xxx failed: (2) No such file or directory
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
if there is long running `rbd rm `
some of rbd commands return correct result to stdout but exit with error code
- /usr/bin/rbd --version
ceph version 16.2.6 (1a6b9a05546f335eeeddb460fdc89caadf80ac7a) pacific (stable)
- /usr/bin/rbd rm vm-107-disk-7 &
Removing image: 1% complete...
...
- /usr/bin/rbd du ; echo $?
NAME PROVISIONED USED
vm-107-disk-0 2 TiB 1.3 TiB
...
<TOTAL> 42 TiB 21 TiB
rbd: du failed: (2) No such file or directory
2
- /usr/bin/rbd ls -l ; echo $?
rbd: error opening vm-107-disk-7: (2) No such file or directory
NAME SIZE PARENT FMT PROT LOCK
vm-107-disk-0 2 TiB 2
...
rbd: listing images failed: (2) No such file or directory
2
- /usr/bin/rbd ls ; echo $?
vm-107-disk-0
...
0
```
same with interrupted `rbd rm `
Updated by hillar aarelaid over 2 years ago
same with if raced with "rbd flatten"
Updated by Ilya Dryomov about 2 years ago
- Related to Bug #52810: RefreshRequest can fail with ENOENT if raced with "rbd flatten" added
Actions