Project

General

Profile

Feature #15721

rbd map: more helpful error messages

Added by Josh Durgin about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/03/2016
Due date:
% 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

Copied to rbd - Backport #15816: jewel: rbd map: more helpful error messages Resolved

History

#1 Updated by Venky Shankar about 3 years ago

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

#2 Updated by Jason Dillaman about 3 years ago

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

#3 Updated by Jason Dillaman about 3 years ago

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

#4 Updated by Venky Shankar about 3 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.

#5 Updated by Venky Shankar about 3 years ago

  • Status changed from In Progress to Need Review

#6 Updated by Jason Dillaman about 3 years ago

  • Backport set to jewel

#7 Updated by Jason Dillaman about 3 years ago

  • Status changed from Need Review to Pending Backport

#8 Updated by Venky Shankar about 3 years ago

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

#9 Updated by Venky Shankar about 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF