Project

General

Profile

Actions

Bug #57902

closed

[rbd-nbd] add --snap-id option to "rbd device map" to allow mapping arbitrary snapshots (e.g. mirror snapshots)

Added by Ilya Dryomov over 1 year ago. Updated about 1 year ago.

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

0%

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

Description

As any snapshot in a non-user snapshot namespace, mirror snapshots are inaccessible to most rbd CLI commands. As such, inspecting mirror snapshot contents is much harder than it should be -- they can't be diffed, exported, etc. Let's allow them to be mapped at least.

$ sudo rbd device map -t nbd --snap-id 123 testpool/testimage
/dev/nbd0

Related issues 1 (0 open1 closed)

Copied to rbd - Backport #58151: quincy: [rbd-nbd] add --snap-id option to "rbd device map" to allow mapping arbitrary snapshots (e.g. mirror snapshots)ResolvedIlya DryomovActions
Actions #1

Updated by Ilya Dryomov over 1 year ago

  • Subject changed from [rbd-nbd] add snap_id mapping option to allow mapping arbitrary snapshots (e.g. mirror snapshots) to [rbd-nbd] add --snap-id option to "rbd device map" to allow mapping arbitrary snapshots (e.g. mirror snapshots)
  • Description updated (diff)
Actions #2

Updated by Prasanna Kumar Kalever over 1 year ago

  • Pull request ID set to 48680
Actions #3

Updated by Ilya Dryomov over 1 year ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Ilya Dryomov over 1 year ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to quincy
Actions #5

Updated by Backport Bot over 1 year ago

  • Copied to Backport #58151: quincy: [rbd-nbd] add --snap-id option to "rbd device map" to allow mapping arbitrary snapshots (e.g. mirror snapshots) added
Actions #6

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #7

Updated by Backport Bot about 1 year 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