Feature #15721
closed
rbd map: more helpful error messages
Added by Josh Durgin almost 8 years ago.
Updated almost 8 years ago.
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.
Please assign this to me. I'll work on it.
@Venky: all yours -- I don't have the ability to assign you until you get added to the developer role.
- Status changed from New to In Progress
- Assignee set to Venky Shankar
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.
- Status changed from In Progress to Fix Under Review
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #15816: jewel: rbd map: more helpful error messages added
- Status changed from Pending Backport to Resolved
Also available in: Atom
PDF