Bug 1347340
Summary: | [RFE] hosted engine should check the actual size of the qcow instead of relying on the OVA | ||
---|---|---|---|
Product: | [oVirt] ovirt-hosted-engine-setup | Reporter: | Ryan Barry <rbarry> |
Component: | RFEs | Assignee: | Ryan Barry <rbarry> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 2.0.0 | CC: | bugs, dfediuck, didi, fdeutsch, mavital, melewis, mkalinin, rbarry, stirabos, ylavi |
Target Milestone: | ovirt-4.0.5 | Keywords: | FutureFeature, Triaged |
Target Release: | 2.0.3 | Flags: | rule-engine:
ovirt-4.0.z+
ylavi: planning_ack+ dfediuck: devel_ack+ mavital: testing_ack+ |
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: |
Previously, ovirt-hosted-engine-setup relied on the OVA metadata to determine the size of the image contained in OVAs, and the amount of temporary disk space needed to unpack it. However, sparsified images would report a value much higher than the actual space required on-disk. Now, ovirt-hosted-engine-setup will check the actual size of images contained in OVAs in order to determine the amount of temporary storage required.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-18 07:39:12 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1379964 |
Description
Ryan Barry
2016-06-16 14:49:20 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. 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. |