Red Hat Bugzilla – Bug 1257132
removing VM pool job doesn't end
Last modified: 2016-02-10 14:24:07 EST
Description of problem:
When removing a VM pool of VMs (with disks), the removal works, but the task never ends.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create VM pool from template, with at least 2 VMs, and the template should consist of at least one disk
2. Remove the VM pool
The tasks never end.
They should end.
The issue is that as of 3.6, RemoveVmPoolCommand calls RemoveVmCommand.
RemoveVmCommand sets the parent command to the RemoveVmPoolCommand, and not to the RemoveVmCommand.
Not sure what's the right thing to do there. Either to set the parent to the current command, or to implement endAction logic in the RemoveVmPoolCommand.
The patch that changed RemoveVmCommand in the past was "git show 5633d52a".
Changing it back fixed the issue, but not sure whether it screwed up something else.
I'm aware of the following bugs:
Bug 1211512 - POOL vm tasks doesn't ends
Bug 1248090 - Tasks drawer doesn't display jobs/step tree correctly
However, the issue happens regardless, and it shouldn't interfere with reproducing + fixing this issue. The tree will still be "weird", but we have a patch for that that is under verification (https://gerrit.ovirt.org/#/c/45008/).
Verified with rhevm-184.108.40.206-0.1.el6.noarch according to steps in description.
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.