Project

General

Profile

Actions

Bug #49716

closed

[rbd] the "trash mv" operation should support an optional "--image-id"

Added by Jason Dillaman about 3 years ago. Updated almost 3 years ago.

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

0%

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

Description

If the move operation was interrupted before the state could be switched from TRASh_IMAGE_STATE_MOVING to TRASH_IMAGE_STATE_NORMAL, it's not possible to recover without manually tweaking the "rbd_trash" omap values. Instead, allow the "trash mv" operation to be re-run when it gets interrupted and provide better help messages.


Related issues 3 (0 open3 closed)

Copied to rbd - Backport #49766: octopus: [rbd] the "trash mv" operation should support an optional "--image-id"Resolvedsinguliere _Actions
Copied to rbd - Backport #49767: pacific: [rbd] the "trash mv" operation should support an optional "--image-id"Resolvedsinguliere _Actions
Copied to rbd - Backport #49768: nautilus: [rbd] the "trash mv" operation should support an optional "--image-id"ResolvedNathan CutlerActions
Actions #1

Updated by Jason Dillaman about 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman
Actions #2

Updated by Jason Dillaman about 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 40010

Actually just tweaked the existing `trash_move` API to find interrupted move requests and restart them.

Actions #3

Updated by Mykola Golub about 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Backport Bot about 3 years ago

  • Copied to Backport #49766: octopus: [rbd] the "trash mv" operation should support an optional "--image-id" added
Actions #5

Updated by Backport Bot about 3 years ago

  • Copied to Backport #49767: pacific: [rbd] the "trash mv" operation should support an optional "--image-id" added
Actions #6

Updated by Backport Bot about 3 years ago

  • Copied to Backport #49768: nautilus: [rbd] the "trash mv" operation should support an optional "--image-id" added
Actions #7

Updated by Loïc Dachary almost 3 years 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