Bug #61364
closedrbd-wnbd: improve image map error message
0%
Description
"rbd-wnbd map" commands are delegated to the centralized ceph-rbd Windows service, which in turn will create the actual image mapping. This allows the daemons to continue running even after the current session ends.
rbd-wnbd communicates with the service through a named pipe. If the operation fails, we're only getting an error code.
We should print the according error message based on the error code, suggesting the user to check the logs or use foreground mode ("-f") for additional information.
We could also capture the entire subprocess console output and print it in case of errors. This can be quite verbose, so we'll keep it simple for now.
Updated by Lucian Petrut 12 months ago
- Status changed from New to Pending Backport
Updated by Lucian Petrut 12 months ago
- Copied to Backport #61365: reef: rbd-wnbd: improve image map error message added
Updated by Ilya Dryomov 12 months ago
- Status changed from Pending Backport to Resolved
- Assignee set to Lucian Petrut
Updated by Ilya Dryomov 11 months ago
- Status changed from Resolved to Pending Backport
- Tags deleted (
backport_processed) - Backport changed from reef to reef,quincy
Updated by Backport Bot 11 months ago
- Copied to Backport #61462: quincy: rbd-wnbd: improve image map error message added
Updated by Ilya Dryomov 6 months ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".