Project

General

Profile

Actions

Feature #15721

closed

rbd map: more helpful error messages

Added by Josh Durgin almost 8 years ago. Updated almost 8 years ago.

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

0%

Source:
other
Tags:
Backport:
jewel
Reviewed:
Affected Versions:
Pull request ID:

Description

We don't have much in the way of a feedback channel from the kernel, but we could at least point users to dmesg. We could also check to see whether an ENOENT from the kernel is accurate or just due to missing features by looking up the image with librbd.


Related issues 1 (0 open1 closed)

Copied to rbd - Backport #15816: jewel: rbd map: more helpful error messagesResolvedVenky ShankarActions
Actions #1

Updated by Venky Shankar almost 8 years ago

Please assign this to me. I'll work on it.

Actions #2

Updated by Jason Dillaman almost 8 years ago

@Venky: all yours -- I don't have the ability to assign you until you get added to the developer role.

Actions #3

Updated by Jason Dillaman almost 8 years ago

  • Status changed from New to In Progress
  • Assignee set to Venky Shankar
Actions #4

Updated by Venky Shankar almost 8 years ago

Josh Durgin wrote:

We don't have much in the way of a feedback channel from the kernel, but we could at least point users to dmesg. We could also check to see whether an ENOENT from the kernel is accurate or just due to missing features by looking up the image with librbd.

So, ENOENT successfully confused me a bit, the correct errno returned is ENXIO. kernel returns ENOENT correctly on a missing image or snap.

Actions #5

Updated by Venky Shankar almost 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #6

Updated by Jason Dillaman almost 8 years ago

  • Backport set to jewel
Actions #7

Updated by Jason Dillaman almost 8 years ago

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

Updated by Venky Shankar almost 8 years ago

  • Copied to Backport #15816: jewel: rbd map: more helpful error messages added
Actions #9

Updated by Venky Shankar almost 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF