Project

General

Profile

Bug #39269

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

Added by jianpeng ma almost 5 years ago. Updated over 4 years ago.

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

0%

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

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 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

Also available in: Atom PDF