Bug 1136840

Summary: [engine-backend][ImportDomain] Import storage domain - tasks aren't cleared
Product: Red Hat Enterprise Virtualization Manager Reporter: Liron Aravot <laravot>
Component: ovirt-engineAssignee: Liron Aravot <laravot>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: amureini, bugs, ebenahar, ecohen, gklein, iheim, lpeer, ogofen, rbalakri, Rhev-m-bugs, scohen, tnisan, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: org.ovirt.engine-root-3.5.0-14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1130222 Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 716511, 1156162    

Description Liron Aravot 2014-09-03 12:11:24 UTC
Description of problem:
When importing a storage domain the engine issues retrive image data call to download the ovf data, but the import flow never handles the tasks and it will never be cleared.

Version-Release number of selected component (if applicable):
ovirt-3.5 RC1.1
ovirt-engine-3.5.0-0.0.master.20140804172041.git23b558e.el6.noarch
vdsm-4.16.2-1.gite8cba75.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
On a new shared 3.5 DC with 2 hosts cluster without storage domains:
1. Detach storage domain with updated ovf store
2. Attach the storage domain to active dc.


Actual results:
There is unknown task in the spm, preventing to move it to maintenance

Expected results:
the task should be cleared, allowing to move the spm to maintenance

Comment 1 Elad 2014-09-03 12:28:47 UTC
Steps to Reproduce:
On a new shared 3.5 DC:
1. Detach storage domain with updated ovf store
2. Attach the storage domain to active dc.

Comment 2 Ori Gofen 2014-10-02 11:42:40 UTC
This bug should be urgent since it causing the operation of migrating SPM privileges from one host to another impossible.
which means after each import session one needs to restart oVirt engine

Comment 3 Eyal Edri 2014-10-07 07:13:09 UTC
this bug status was moved to MODIFIED before engine vt5 was built,
hence moving to on_qa, if this was mistake and the fix isn't in,
please contact rhev-integ

Comment 4 Elad 2014-10-07 12:47:34 UTC
uploadImageToStream tasks are being cleaned after they finish
Host can be moved to maintenance after VM registration from an imported domain


Verified using rhev3.5 vt5

Comment 5 Allon Mureinik 2015-02-16 19:13:30 UTC
RHEV-M 3.5.0 has been released, closing this bug.

Comment 6 Allon Mureinik 2015-02-16 19:13:30 UTC
RHEV-M 3.5.0 has been released, closing this bug.