Red Hat Bugzilla – Bug 1467804
Issuing multiple concurrent LSM with different disks fails
Last modified: 2017-07-05 04:27:35 EDT
Created attachment 1294489 [details]
A script to reproduce
Description of problem:
Issuing multiple concurrent LSM with different disks will fail when attempting to remove one of the auto-generated snapshots. It will not be possible to remove the remaining snapshots manually as well after this, as the snapshot was not created properly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a VM
2. Add 2 disks to the VM and run the VM
3. Issue to move commands using the REST API, an example script is attached
One of the disk will move and have its auto-generated snapshot removed correctly,
The other will move but the removal of its auto-generated snapshot will fail.
Both should succeed
This is not the same issue as https://bugzilla.redhat.com/1460694 in which we move the same disk twice.
This bug is caused by a race condition in the validation stage of the creation of the snapshot.