Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 951058

Summary: import reported as successful too early
Product: Red Hat Enterprise Virtualization Manager Reporter: Idith Tal-Kohen <italkohe>
Component: ovirt-engineAssignee: Liron Aravot <laravot>
Status: CLOSED ERRATA QA Contact: Daniel Paikov <dpaikov>
Severity: high Docs Contact:
Priority: urgent    
Version: unspecifiedCC: acathrow, amureini, chetan, cpelland, dconsoli, dyasny, hateya, iheim, lpeer, lyarwood, pep, perobins, Rhev-m-bugs, scohen, sputhenp, yeylon, ykaul
Target Milestone: ---Keywords: ZStream
Target Release: 3.1.4   
Hardware: All   
OS: All   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When creating tasks for imported virtual machine images, the parameters entity id was set to the disk id. As a result, the end method of the import virtual machine command was called before the tasks on all disks were finished. This means that when a virtual machine with multiple disks is imported, the virtual machine and its disks can appear ready even though not all disks have been imported. If a user attempts to run a virtual machine in this state, the virtual machine can become corrupted. Now, the parameters entity id is set to the virtual machine id, so the virtual machine is unlocked only when all disks have been imported.
Story Points: ---
Clone Of: 950073 Environment:
Last Closed: 2013-05-01 18:35:59 UTC 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: 950073, 951925    
Bug Blocks:    
Attachments:
Description Flags
engine.log none

Comment 3 Daniel Paikov 2013-04-21 11:05:30 UTC
Still reproduces on si28.

* Import VM with 2 disks - 1GB and 10GB.
* VM stops being in Locked status after the 1GB disk is imported and before the 10GB disk is imported. Both individual disks are also moved from Locked status into OK status.
* Removal of VM fails to remove the 10GB disk and sends it into Illegal mode.
* It is now impossible to delete the 10GB disk.

Comment 4 Daniel Paikov 2013-04-21 11:07:25 UTC
Created attachment 738224 [details]
engine.log

Comment 5 Daniel Paikov 2013-04-21 13:49:12 UTC
My mistake, problematic engine. Confirmed for si28.

Comment 6 errata-xmlrpc 2013-05-01 18:35:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0773.html