Bug 1371875

Summary: [RFE] configrable tmpdir for VM conversion using virt-v2v under oVirt GUI
Product: [oVirt] ovirt-engine Reporter: Cam Mac <iucounu>
Component: RFEsAssignee: Tomáš Golembiovský <tgolembi>
Status: CLOSED WONTFIX QA Contact: Gil Klein <gklein>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, fdeutsch, michal.skrivanek, oourfali, tjelinek
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-12 13:00:54 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:

Description Cam Mac 2016-08-31 10:22:02 UTC
Description of problem:

When using GUI to import VM, the default tmpdir is /var/tmp. As VMs can be terabytes in size, /var/tmp will likely fill up during unpacking of VM and the process will fail. Could this be made configurable please.

Version-Release number of selected component (if applicable):

4.0.2.7-1.el7.centos

How reproducible:

always

Steps to Reproduce:
1. Upload VM to import domain
2. Select 'import'
3. During conversion process, if the VM exceeds the size of /var/tmp, it will fail

Actual results:

VM import fails

Expected results:



Additional info:

Comment 1 Tomas Jelinek 2016-09-05 11:46:43 UTC
Maybe it would be best to configure this on VDSM side since it can differ from host to host which is the correct tmp dir.

Comment 2 Michal Skrivanek 2016-10-12 13:00:54 UTC
we're rather working on not requiring that much space and convert on the fly, tracking in https://trello.com/c/aNCEeMLV

Comment 3 Tomáš Golembiovský 2017-03-01 15:33:32 UTC
The problem was addressed on virt-v2v level and the fix should be available in RHEL 7.4 time frame. Notably the following components in following versions have to be available:

qemu 2.8.0
libguestfs 1.36.1
libvirt 3.1.0