Bug 1350465

Summary: [RFE] Store detailed log of virt-v2v when importing VM
Product: [oVirt] vdsm Reporter: Tomáš Golembiovský <tgolembi>
Component: RFEsAssignee: Tomáš Golembiovský <tgolembi>
Status: CLOSED CURRENTRELEASE QA Contact: Nisim Simsolo <nsimsolo>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.18.15CC: bugs, eheftman, michal.skrivanek, nsimsolo
Target Milestone: ovirt-4.1.0-alphaKeywords: FutureFeature
Target Release: 4.19.2Flags: michal.skrivanek: ovirt-4.1?
nsimsolo: testing_plan_complete+
rule-engine: planning_ack?
michal.skrivanek: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, when importing a Virtual Machine, if the import failed, the output of the virt-v2v tool was not available for investigating the reason for the failure, and the import had to be reproduced manually. In this release, the output of virt-v2v is now stored in the /var/log/vdsm/import directory. All logs older than 30 days are automatically removed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-15 14:52:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1416112    
Bug Blocks: 1430240    

Description Tomáš Golembiovský 2016-06-27 14:09:46 UTC
oVirt relies on virt-v2v when importing machines from VMware or Xen hypervisor. However, there is currently no way to get the output of virt-v2v from the import. Detailed log of virt-v2v (with the -v -x options added) is often essential when investigating import failures.

Virt-v2v should be always run with the '-v -x' arguments and the output should be stored in a file to be accessible on the VDSM host.

Comment 1 Red Hat Bugzilla Rules Engine 2016-06-27 14:12:04 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 2 Michal Skrivanek 2016-07-11 06:45:50 UTC
*** Bug 1354176 has been marked as a duplicate of this bug. ***

Comment 3 Sandro Bonazzola 2016-12-12 13:55:52 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 4 Nisim Simsolo 2017-02-07 15:24:25 UTC
Verification builds: 
ovirt-engine-4.1.0.4-0.1.el7
libvirt-client-2.0.0-10.el7_3.4.x86_64
vdsm-4.19.4-1.el7ev.x86_64
qemu-kvm-rhev-2.6.0-28.el7_3.3.x86_64
sanlock-3.4.0-1.el7.x86_64
virt-v2v-1.32.7-3.el7_3.2.x86_64

Test cases added to external trackers.