Project

General

Profile

Actions

Bug #37861

closed

possible "deferment time has not expired" error on "rbd trash remove" just after "rbd trash move"

Added by Mykola Golub over 5 years ago. Updated about 5 years ago.

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

0%

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

Description

from cli_generic.sh run:

+ rbd create --image-format 2 --size 1G --namespace test1 image2
+ expect_fail rbd namespace remove --pool rbd test1
+ rbd namespace remove --pool rbd test1
rbd: namespace contains images which must be deleted first.
+ return 0
+ rbd group create rbd/test1/group1
+ rbd group image add rbd/test1/group1 rbd/test1/image1
+ rbd group rm rbd/test1/group1
+ rbd trash move rbd/test1/image1
++ rbd trash --namespace test1 ls
++ cut -d ' ' -f 1
+ ID=116613709fd95
+ rbd trash rm rbd/test1/116613709fd95


Related issues 1 (0 open1 closed)

Copied to rbd - Backport #37890: mimic: possible "deferment time has not expired" error on "rbd trash remove" just after "rbd trash move"ResolvedPrashant DActions
Actions #1

Updated by Mykola Golub over 5 years ago

Mykola Golub wrote:

from cli_generic.sh run:
[...]

Lost in copy&past the most important part from the log:

Deferment time has not expired, please use --force if you really want to remove the image
Removing image: 0% complete...failed.
2019-01-10 14:41:07.755 7fefcabf5380 -1 librbd::api::Trash: remove: error: deferment time has not expired.

Actions #2

Updated by Mykola Golub over 5 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 25896
Actions #3

Updated by Jason Dillaman over 5 years ago

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

Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #37890: mimic: possible "deferment time has not expired" error on "rbd trash remove" just after "rbd trash move" added
Actions #5

Updated by Nathan Cutler about 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF