Red Hat Bugzilla – Bug 890331
vdsm: engine is sending remove volume twice to vdsm when removing a vm (remove VM will fail and cause an inconsistent image state)
Last modified: 2016-02-10 15:25:21 EST
Created attachment 669218 [details]
Description of problem:
RemoveVMVDSCommand sends delete volume
RemoveAllVmImagesCommand will send deleteImage which also has delete volume.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. delete a vm
engine sends RemoveVm and DeleteImage - both commands will remove volume in the vdsm
there is no no need to send delete volume twice
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).
Unable to reproduce on latest 3.2.