Bug 1619303
| Summary: | Importing OVA does not honor disk size allocationUnits defined in ovf file | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Orsiris de Jong <ozy> |
| Component: | BLL.Virt | Assignee: | Arik <ahadas> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Avihai <aefrat> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.2.5 | CC: | ahadas, bugs, mavital, ozy, tnisan |
| Target Milestone: | ovirt-4.2.7 | Flags: | rule-engine:
ovirt-4.2+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-4.2.7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-11-02 14:33:21 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: | |||
|
Description
Orsiris de Jong
2018-08-20 14:45:23 UTC
Arik, any idea? (In reply to Tal Nisan from comment #1) > Arik, any idea? Yes, that's a known gap (see the comment on [1]) that got low priority because we never saw an OVF that uses capacity units other than bytes or gigabytes. [1] https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfOvaReader.java#L205 Thanks, in my case I just rewrote the ovf and mf files. I've created a quick PR in order to improve the default behavior, see https://github.com/oVirt/ovirt-engine/pull/13 (In reply to Orsiris de Jong from comment #3) > Thanks, in my case I just rewrote the ovf and mf files. > > I've created a quick PR in order to improve the default behavior, see > https://github.com/oVirt/ovirt-engine/pull/13 Thanks! Would you be kind enough to submit it through gerrit [1] (the github repository is just a mirror of the one in gerrit)? [1] https://www.ovirt.org/develop/dev-process/working-with-gerrit/ Created https://gerrit.ovirt.org/#/c/93830/ Thanks for your help. External Bug ID: ovirt gerrit 93844 (updated earlier PR). Verified on 4.2.7-0.1.el7ev. Used same scenario & ova file: 1. Download the following ova http://cdn.watchguard.com/SoftwareCenter/Files/XTM/12_1_3/xtmv_12_1_3.ova to vdsm_host1:/tmp/xtmv_12_1_3.ova 2. In the GUI in VM list, use the import function and select Source OVA 3. Select the ova file on the local disk (vdsm_host1:/tmp/xtmv_12_1_3.ova ) 4. Check disk size before actual import -> this time checking UI before import, disk virtual size seen was 4G(4520MB = 4520 * 2^20 bytes) as expected and not as seen in the original bug size(4520GB). This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |