Bug #39269
rbd-nbd return correctly error message when no-match device.
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
When exec: rbd-nbd map rbd/image --device /dev/image
The error message is:
rbd-nbd: failed to open device: /dev/image.
In fact, it should print:
rbd-nbd: invalid device path: /dev/image (expected /dev/nbd{num})
Related issues
History
#1 Updated by jianpeng ma almost 5 years ago
#2 Updated by Nathan Cutler almost 5 years ago
- Project changed from Tools to rbd
- Status changed from New to Fix Under Review
- Pull request ID set to 27484
#3 Updated by Jason Dillaman almost 5 years ago
- Status changed from Fix Under Review to Pending Backport
#4 Updated by Nathan Cutler almost 5 years ago
- Backport set to nautilus
#5 Updated by Nathan Cutler almost 5 years ago
@Jason: the status got changed to "Pending Backport" but the Backport field was empty, so I filled it provisionally with "nautilus".
#6 Updated by Nathan Cutler almost 5 years ago
- Copied to Backport #40293: nautilus: rbd-nbd return correctly error message when no-match device. added
#7 Updated by Nathan Cutler over 4 years ago
- Status changed from Pending Backport to Resolved