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

Also available in: Atom PDF