Feature #15721
closedrbd map: more helpful error messages
0%
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.
Updated by Venky Shankar almost 8 years ago
Please assign this to me. I'll work on it.
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.
Updated by Jason Dillaman almost 8 years ago
- Status changed from New to In Progress
- Assignee set to Venky Shankar
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.
Updated by Venky Shankar almost 8 years ago
- Status changed from In Progress to Fix Under Review
Updated by Jason Dillaman almost 8 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Venky Shankar almost 8 years ago
- Copied to Backport #15816: jewel: rbd map: more helpful error messages added
Updated by Venky Shankar almost 8 years ago
- Status changed from Pending Backport to Resolved