Project

General

Profile

Bug #37861

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

Added by Mykola Golub about 1 year ago. Updated 12 months 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:

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

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

History

#1 Updated by Mykola Golub about 1 year 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.

#2 Updated by Mykola Golub about 1 year ago

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

#3 Updated by Jason Dillaman about 1 year ago

  • Status changed from Fix Under Review to Pending Backport

#4 Updated by Nathan Cutler about 1 year ago

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

#5 Updated by Nathan Cutler 12 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF