Actions
Bug #47665
closedrbd-nbd: unmap ignores namespace when searching device by image spec
% Done:
0%
Source:
Tags:
Backport:
octopus, nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
When unmapping an image by the image spec, the rbd-nbd ignores the namespace when searching for the nbd device, which may result in unmapping an image from a wrong namespace (if you have a chance of mapping images with the same name but from different namespaces.
% rbd-nbd map rbd/test /dev/nbd0 % rbd-nbd map rbd/ns/test /dev/nbd1 % rbd-nbd list-mapped id pool namespace image snap device 6327 rbd test - /dev/nbd0 6365 rbd ns test - /dev/nbd1 % rbd-nbd unmap rbd/ns/test % rbd-nbd list-mapped id pool namespace image snap device 6365 rbd ns test - /dev/nbd1
Updated by Mykola Golub over 3 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 37429
Updated by Jason Dillaman over 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 3 years ago
- Copied to Backport #47703: nautilus: rbd-nbd: unmap ignores namespace when searching device by image spec added
Updated by Nathan Cutler over 3 years ago
- Copied to Backport #47704: octopus: rbd-nbd: unmap ignores namespace when searching device by image spec added
Updated by Nathan Cutler over 3 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions