Project

General

Profile

Actions

Bug #52910

open

rbd du | rbd ls -l | ... rbd: xxx failed: (2) No such file or directory

Added by hillar aarelaid over 2 years ago. Updated over 2 years ago.

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

```
  1. /usr/bin/rbd --version
    ceph version 16.2.6 (1a6b9a05546f335eeeddb460fdc89caadf80ac7a) pacific (stable)
  1. /usr/bin/rbd rm vm-107-disk-7 &
    Removing image: 1% complete...
    ...
  1. /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
  1. /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
  1. /usr/bin/rbd ls ; echo $?
    vm-107-disk-0
    ...

0
```

same with interrupted `rbd rm `

see also https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/DDDWHCRNVUTOMJ5I3J6JMPUQ2A5M7DAK/#DDDWHCRNVUTOMJ5I3J6JMPUQ2A5M7DAK


Related issues 1 (0 open1 closed)

Related to rbd - Bug #52810: RefreshRequest can fail with ENOENT if raced with "rbd flatten"ResolvedIlya Dryomov

Actions
Actions #1

Updated by hillar aarelaid over 2 years ago

same with if raced with "rbd flatten"

see https://tracker.ceph.com/issues/52810

Actions #2

Updated by Ilya Dryomov about 2 years ago

  • Related to Bug #52810: RefreshRequest can fail with ENOENT if raced with "rbd flatten" added
Actions

Also available in: Atom PDF