Project

General

Profile

Actions

Bug #39269

closed

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

Added by jianpeng ma about 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 1 (0 open1 closed)

Copied to rbd - Backport #40293: nautilus: rbd-nbd return correctly error message when no-match device.ResolvedPrashant DActions
Actions #2

Updated by Nathan Cutler about 5 years ago

  • Project changed from Tools to rbd
  • Status changed from New to Fix Under Review
  • Pull request ID set to 27484
Actions #3

Updated by Jason Dillaman almost 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler almost 5 years ago

  • Backport set to nautilus
Actions #5

Updated by Nathan Cutler almost 5 years ago

@Jason Borden: the status got changed to "Pending Backport" but the Backport field was empty, so I filled it provisionally with "nautilus".

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

Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF