Red Hat Bugzilla – Bug 1273094
4.0: can't remove vm template - the disks are removed and the template stays locked
Last modified: 2016-07-05 03:59:12 EDT
Description of problem:
When trying to remove a vm template via the webadmin, the disks are removed but the template itself is not removed and its status is stuck as "locked".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a vm via the webadmin.
2. Add a disk to the vm.
3. Navigate to the "Templates" tab and try to remove the template.
The template's disk is removed but the template itself doesn't, it's stuck as locked.
The template should be removed.
Seems like something regarding the end action after the children commands are finished, Moti, can it be related to your recent change?
It seems like this is yet another problem that is caused by Ib3261800f383a6e3973acab4bd16079594fa4149. This change was not merged d/s.
As Tal commented, the end-action is not called when child commands are finished. It happened for us also on hibernate (note that I changed the hibernate command today so it won't reproduce on the hibernate command anymore). When reverting the said patch, the hibernate worked again.
Therefore, moving to infra.
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
OK, good news Arik, so it doesn't interfere with 3.6 then, thanks.
Changing severity to low as it's targeted to 4.0
Verified on rhevm-18.104.22.168-0.1:
Created a VM.
Added VM a disk
Created a template
Removed the template - successfully
Removed the VM - successfully.
oVirt 4.0.0 has been released, closing current release.