Project

General

Profile

Actions

Bug #52425

closed

"rbd unmap" misbehaves if the image name contains glob metacharacters

Added by wang kevin over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

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

Description

The operation process is as follows:
root@master:~# rbd create test-pool/[0.0.0.0] --size 50G
root@master:~# rbd map test-pool/[0.0.0.0]
rbd: sysfs write failed
RBD image feature set mismatch. You can disable features unsupported by the kernel with "rbd feature disable test-pool/[0.0.0.0] object-map fast-diff deep-flatten".
In some cases useful info is found in syslog - try "dmesg | tail".
rbd: map failed: (6) No such device or address
root@master:~# rbd feature disable test-pool/[0.0.0.0] object-map fast-diff deep-flatten
root@master:~# rbd map test-pool/[0.0.0.0]
/dev/rbd1
root@master:~# rbd showmapped
id pool namespace image snap device
1 test-pool [0.0.0.0] - /dev/rbd1
root@master:~# rbd unmap test-pool/[0.0.0.0]
rbd: test-pool/[0.0.0.0]: not a mapped image or snapshot
rbd: unmap failed: (22) Invalid argument


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #52452: pacific: "rbd unmap" misbehaves if the image name contains glob metacharactersResolvedIlya DryomovActions
Copied to rbd - Backport #52453: octopus: "rbd unmap" misbehaves if the image name contains glob metacharactersResolvedIlya DryomovActions
Actions

Also available in: Atom PDF