Actions
Bug #41032
closed[rbd_support] re-used image names might result in tasks not being scheduled
Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
nautilus,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
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.
Actions