Project

General

Profile

Actions

Bug #61364

closed

rbd-wnbd: improve image map error message

Added by Lucian Petrut 11 months ago. Updated 6 months ago.

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

0%

Source:
Tags:
backport_processed
Backport:
reef,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #61365: reef: rbd-wnbd: improve image map error messageResolvedLucian PetrutActions
Copied to rbd - Backport #61462: quincy: rbd-wnbd: improve image map error messageResolvedIlya DryomovActions
Actions #1

Updated by Lucian Petrut 11 months ago

  • Status changed from New to Pending Backport
Actions #2

Updated by Lucian Petrut 11 months ago

  • Copied to Backport #61365: reef: rbd-wnbd: improve image map error message added
Actions #3

Updated by Lucian Petrut 11 months ago

  • Tags set to backport_processed
Actions #4

Updated by Lucian Petrut 11 months ago

  • Pull request ID set to 51665
Actions #5

Updated by Ilya Dryomov 11 months ago

  • Status changed from Pending Backport to Resolved
  • Assignee set to Lucian Petrut
Actions #6

Updated by Ilya Dryomov 11 months ago

  • Project changed from Ceph to rbd
Actions #7

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
Actions #8

Updated by Backport Bot 11 months ago

  • Copied to Backport #61462: quincy: rbd-wnbd: improve image map error message added
Actions #9

Updated by Backport Bot 11 months ago

  • Tags set to backport_processed
Actions #10

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".

Actions

Also available in: Atom PDF