Bug 1438691
Summary: | Wrong calculation of initial size of disk when copying template disk from file Raw/Sparse to block Cow | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Fred Rolland <frolland> |
Component: | BLL.Storage | Assignee: | Fred Rolland <frolland> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Kevin Alon Goldblatt <kgoldbla> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.1.0 | CC: | amureini, bugs, laravot, lveyde, tnisan |
Target Milestone: | ovirt-4.1.2 | Flags: | rule-engine:
ovirt-4.1+
|
Target Release: | 4.1.2.1 | ||
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: | 2017-05-23 08:12:11 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
Fred Rolland
2017-04-04 08:28:52 UTC
The scenario is create VM from template when the template disk is RAW on File system ( when the disk is not full) to QCOW on Block domain. Verified with the following code: -------------------------------------- Verified with the following scenario: -------------------------------------- 1.Create a VM with a thin NFS disk 2gb (Raw/Sparse) 2.Create a Template of the VM and select the QCow/ISCSI for the target Actual size of the target volume in the template is still displayed as the provisioned size of 2 instead of 1gb (minimum for iscsi thin Moving to ASSIGNED! Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. I tested on 4.1.2 and looks OK. Please retest. Thanks !! Verified with the following code: -------------------------------------- ovirt-engine-4.1.2.1-0.1.el7.noarch rhevm-4.1.2.1-0.1.el7.noarch vdsm-4.19.12-1.el7ev.x86_64 Verified with the following scenario: -------------------------------------- 1.Create a VM with a thin NFS disk 2gb (Raw/Sparse) 2.Create a Template of the VM and select the RAW / NFS for the target > Virtual is 2 Actual is < 1 3.Create new VM from the Template and select the target as QCow / Block > Virtual is 2 and Actual is 1 as expected Actual size of the target volume in the template is NOW CORRECTLY calculated and displayed Moving to VERIFIED! |