Bug 1088959
| Summary: | Failed template removal is not cleared out after a failure and the task remains in running DB. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Roman Hodain <rhodain> |
| Component: | ovirt-engine | Assignee: | Arik <ahadas> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.3.0 | CC: | acathrow, iheim, lpeer, michal.skrivanek, Rhev-m-bugs, sherold, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.4.0 | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | virt | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-04-29 14:36:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
The reported scenario cannot be reproduced. The operation of removing a template is now blocked for templates with derived disks. *** This bug has been marked as a duplicate of bug 953492 *** |
Description of problem: When a template removals fails the asynchronous task remains in the engine DB in the "running" state. Version-Release number of selected component (if applicable): rhevm-3.3.2-0.50 How reproducible: 100% Steps to Reproduce: 1. Create a new template 2. Create a VM based on this template 3. detach the disk from the New VM 4. Remove the VM 5. Remove the template Actual results: Task fails and it remains in the DB in the "running" state. task_id | action_type | status | result | action_params_class --------------------------------------+-------------+--------+--------+-------------------------------------------------------------- 5ab9ee93-c061-4804-b52d-73674f91e7bc | 203 | 2 | 0 | org.ovirt.engine.core.common.action.VmTemplateParametersBase Expected results: The task is set into a proper state after the failure.