Red Hat Bugzilla – 890331 – vdsm: engine is sending remove volume twice to vdsm when removing a vm (remove VM will fail and cause an inconsistent image state)
Created attachment 669218[details]
logs
Description of problem:
RemoveVMVDSCommand sends delete volume
RemoveAllVmImagesCommand will send deleteImage which also has delete volume.
Version-Release number of selected component (if applicable):
si25.2
How reproducible:
100%
Steps to Reproduce:
1. delete a vm
2.
3.
Actual results:
engine sends RemoveVm and DeleteImage - both commands will remove volume in the vdsm
Expected results:
there is no no need to send delete volume twice
Additional info:
I could not find
removeVM in vdsm does not delete the image nor the volume.
In the log I couldn't find any deleteVolume operations called by the engine (nor any call in engine that would support this claim).
Created attachment 669218 [details] logs Description of problem: RemoveVMVDSCommand sends delete volume RemoveAllVmImagesCommand will send deleteImage which also has delete volume. Version-Release number of selected component (if applicable): si25.2 How reproducible: 100% Steps to Reproduce: 1. delete a vm 2. 3. Actual results: engine sends RemoveVm and DeleteImage - both commands will remove volume in the vdsm Expected results: there is no no need to send delete volume twice Additional info: