Description of problem: ovirt-hosted-engine-setup currently checks the OVA metadata to determine the local storage requirements, but the size indicated by the OVA is much larger than the actual size of the qcow Version-Release number of selected component (if applicable): Any How reproducible: 100% Steps to Reproduce: 1. Use an OVA for the engine appliance 2. Check the space required in the temporary folder Actual results: The OVA asks for 50GB Expected results: The actual size of the qcow is something like 3.2GB. This should be the required size.
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.
This is a subtle issue, and I am pretty certain was already discussed, or at least considered, when writing current code. Didn't review linked patch. Perhaps we should: 1. Show both sizes (actual and configured) 2. Give some short hints for actual needs, perhaps with a link somewhere with more info 3. Do require only the actual size + a bit more (say, +2GB or so, need to consider this).
One note: We need to differentiate between two space requirements: 1. Temporary requirement when the OVA is getting extracted, this might be related to the sparse size 2. Persistent storage requirements, this should probably be related to the maximum allocation size
Why no fix metadata of the OVA then?
The OVA is intended as informational, and the full size (50GB) is actually used on shared storage as part of hosted-engine-setup by qemu-img convert. It's just much more space than is needed in the local tmpdir.
Since it's not in even in master, time to move to 4.1?
We need to resolve this since the current flow is very likely for customers to hit. If we fix this, the default /var size should be enough to setup HE.
Yes - This should be solved sooner than later. It will also help to reduce the storage requirements of Node.
Verified on ovirt-hosted-engine-setup-2.0.3-2.el7ev.noarch 2016-10-05 16:06:49 DEBUG otopi.plugins.gr_he_common.vm.boot_disk boot_disk._parse_ovf:316 Configuring Disk 2016-10-05 16:06:49 DEBUG otopi.plugins.gr_he_common.vm.boot_disk boot_disk._parse_ovf:323 alukiano: IMAGE size: 50 2016-10-05 16:06:49 WARNING otopi.plugins.gr_he_common.vm.boot_disk boot_disk._parse_ovf:333 OVF does not contain a valid image description, using default. 2016-10-05 16:06:49 DEBUG otopi.plugins.gr_he_common.vm.boot_disk boot_disk._parse_ovf:352 alukiano: QCOW size: 3 2016-10-05 16:06:49 DEBUG otopi.plugins.gr_he_common.vm.boot_disk boot_disk._parse_ovf:353 Configuring CPUs 2016-10-05 16:06:49 DEBUG otopi.plugins.gr_he_common.vm.boot_disk boot_disk._parse_ovf:373 Configuring memory 2016-10-05 16:06:49 DEBUG otopi.plugins.gr_he_common.vm.boot_disk boot_disk._customization:644 alukiano: TEMPDIR: /var/tmp 2016-10-05 16:06:49 DEBUG otopi.ovirt_hosted_engine_setup.domains domains.check_available_space:110 Checking available space on /var/tmp 2016-10-05 16:06:49 DEBUG otopi.ovirt_hosted_engine_setup.domains domains.check_available_space:117 Available space on /var/tmp is 15271Mb 2016-10-05 16:06:49 DEBUG otopi.context context.dumpEnvironment:760 ENVIRONMENT DUMP - BEGIN 2016-10-05 16:06:49 DEBUG otopi.context context.dumpEnvironment:770 ENV OVEHOSTED_STORAGE/imgSizeGB=int:'50' 2016-10-05 16:06:49 DEBUG otopi.context context.dumpEnvironment:770 ENV OVEHOSTED_STORAGE/qcowSizeGB=int:'3'
Current release means 4.0.5 from talking to rbarry today.