Bug 1523614
Summary: | Copy image to a block storage destination does not work after disk extension in a snapshot in DC pre-4.0 | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Roman Hodain <rhodain> |
Component: | ovirt-engine | Assignee: | Benny Zlotnik <bzlotnik> |
Status: | CLOSED ERRATA | QA Contact: | Kevin Alon Goldblatt <kgoldbla> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.1.7 | CC: | amureini, apinnick, bzlotnik, gveitmic, kwolf, lsurette, lveyde, mjankula, rbalakri, Rhev-m-bugs, rhodain, srevivo, tnisan, ycui, ykaul, ylavi |
Target Milestone: | ovirt-4.2.1 | Flags: | lsvaty:
testing_plan_complete-
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | vdsm v4.20.13 | Doc Type: | Known Issue |
Doc Text: |
Previously, when a user attempted to move a disk with a snapshot that had been created before the disk was extended, the operation failed in storage domains whose data center was 4.0 or earlier. This occurred because "qemu-img convert" with compat=0.10 images interprets the space after the backing file as zeroes, sometimes causing the output disk to be larger than the logical volume created for it. In the current release, an attempt to move such a disk is blocked with an error message stating that the disk's snapshot must be deleted before moving the disk.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-15 17:46:12 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: | |||
Bug Depends On: | 1527898 | ||
Bug Blocks: |
Description
Roman Hodain
2017-12-08 11:51:38 UTC
Roman, can you share the qemu-kvm-rhev versions you're using? (In reply to Allon Mureinik from comment #3) > Roman, can you share the qemu-kvm-rhev versions you're using? qemu-img-rhev, of course. One more, with ELS: vdsm-4.17.35-1.el7ev.noarch qemu-kvm-rhev-2.3.0-31.el7_2.21.x86_64 Just to clarify our action plan: There is a real gap in qemu-img[-[rh]ev]]. Fixing it is tracked by bug 1527898. From RHV's side, we need two BZs: 1. A dependency bump to consume the fix for bug 1527898 once its ready 2. An actual handling in RHV which will recognize a situation where we know the copying will fail and block it with a validation message that instructs the user which snapshot(s) he should merge in order to allow the copying to succeed. Benny - the included patch clearly handles live and cold move flows. Does it also cover importing [without collapse] to a V3 block storage domain? (if it doesn't, please open another BZ on it and link back here). Regardless, this is a non-obvious patch - please add some doctext to explain it. As discussed offline, this issue does not apply to the import scenario as the LV created large enough INFO: Bug status (ON_QA) wasn't changed but the folowing should be fixed: [Project 'ovirt-engine'/Component 'vdsm' mismatch] For more info please contact: rhv-devops (In reply to RHV Bugzilla Automation and Verification Bot from comment #11) > INFO: Bug status (ON_QA) wasn't changed but the folowing should be fixed: > > [Project 'ovirt-engine'/Component 'vdsm' mismatch] > > For more info please contact: rhv-devops Moving to enigne. Verified with the following code: -------------------------------------- ovirt-engine-4.2.1.2-0.1.el7.noarch vdsm-4.20.14-1.el7ev.x86_64 Verified with the following scenario: -------------------------------------- Steps to Reproduce: 1. Create a VM with thin provisioned disk on block storage domain. 2. Create a snapshot. 3. Live migrate the disk to another block storage domain. Actual results: Live migration is successful. No errors reported Moving to VERIFIED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:1488 BZ<2>Jira Resync sync2jira sync2jira |