Project

General

Profile

Bug #39269

rbd-nbd return correctly error message when no-match device.

Added by jianpeng ma 5 months ago. Updated 24 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/12/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

Copied to rbd - Backport #40293: nautilus: rbd-nbd return correctly error message when no-match device. Resolved

History

#2 Updated by Nathan Cutler 5 months ago

  • Project changed from Tools to rbd
  • Status changed from New to Need Review
  • Pull request ID set to 27484

#3 Updated by Jason Dillaman 3 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler 3 months ago

  • Backport set to nautilus

#5 Updated by Nathan Cutler 3 months 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 3 months ago

  • Copied to Backport #40293: nautilus: rbd-nbd return correctly error message when no-match device. added

#7 Updated by Nathan Cutler 24 days ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF