Project

General

Profile

Actions

Bug #41032

closed

[rbd_support] re-used image names might result in tasks not being scheduled

Added by Jason Dillaman almost 5 years ago. Updated over 4 years ago.

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

0%

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

Description

1) ceph rbd task add remove image1
2) <wait for image1 to be removed>
3) rbd create --size 1 image1
4) ceph rbd task add remove image1 <---- returns old task handle
5) <image is not removed>

Since "ceph" CLI commands must be idempotent, attempt to look up the image id (if possible) and use it to compare against running and completed tasks.


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #41274: mimic: [rbd_support] re-used image names might result in tasks not being scheduledRejectedActions
Copied to rbd - Backport #41275: nautilus: [rbd_support] re-used image names might result in tasks not being scheduledResolvedJason DillamanActions
Actions #1

Updated by Jason Dillaman almost 5 years ago

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

Updated by Jason Dillaman almost 5 years ago

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

Updated by Mykola Golub almost 5 years ago

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

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #41274: mimic: [rbd_support] re-used image names might result in tasks not being scheduled added
Actions #5

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #41275: nautilus: [rbd_support] re-used image names might result in tasks not being scheduled added
Actions #6

Updated by Nathan Cutler over 4 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