Bug 1170712
Summary: | Live Merge: Failed to remove snapshot on block storage due to -ENOSPC | ||
---|---|---|---|
Product: | [oVirt] vdsm | Reporter: | Adam Litke <alitke> |
Component: | General | Assignee: | Adam Litke <alitke> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Kevin Alon Goldblatt <kgoldbla> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.17.0 | CC: | acanan, alitke, amureini, bazulay, bugs, gklein, kgoldbla, lsurette, mgoldboi, rbalakri, sbonazzo, shyu, yeylon, ykaul, ylavi |
Target Milestone: | ovirt-3.6.0-rc | Flags: | rule-engine:
ovirt-3.6.0+
ylavi: planning_ack+ amureini: devel_ack+ rule-engine: testing_ack+ |
Target Release: | 4.17.8 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | v4.17.4 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-10 12:49:50 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: | 1279777 | ||
Bug Blocks: |
Description
Adam Litke
2014-12-04 16:35:29 UTC
This is an edge case of an edge case - pushing out. Re-targeting to 3.5.3 since this bug has not been marked as blocker for 3.5.2 and we have already released 3.5.2 Release Candidate. Adam, is this still relevant with the pre-extension of volume you introduced? It's still relevant until we do the actual dynamic resizing (covered by bug 1168327). Adding the dependency now. We can fix this issue by fixing the pre-extension calculation when performing a live merge on thinly provisioned block storage. See https://gerrit.ovirt.org/#/c/44331/. On vdsm ovirt-3.6 branch as commit 6070392aba975a0cbdbfa340fd032c7d62a48ee7 Tested with the following code: ----------------------------------- rhevm-3.6.0.3-0.1.el6.noarch vdsm-4.17.10.1-0.el7ev.noarch Verified with the following steps: ---------------------------------- Steps to Reproduce: 1. Create a VM with one 5G thin provisioned disk on an iSCSI SD 2. Boot the VM from a live CD such as TinyCorePlus 3. Write data to the first part of the disk: Open a terminal inside the VM and run the following command dd if=/dev/zero of=/dev/vda bs=1M count=2048 >>>>> During the dd to the disks the connection is lost with the QEMU process. This happens every time. We have a bz https://bugzilla.redhat.com/show_bug.cgi?id=1279777 open for the qemu issue. If this connection was not lost at this point I did steps 4 and connection to the qemu process was lost after step 5 4. When above command is finished create a VM snapshot 5. Write data to the second part of the disk: Open a terminal inside the VM and run the following command dd if=/dev/zero of=/dev/vda bs=1M count=2048 seek=2048 So I cannot verify this bz yet. It depends on the fix for the qemu issue I saw the qemu bug was closed. What does that mean for this bug? (In reply to Yaniv Dary from comment #8) > I saw the qemu bug was closed. What does that mean for this bug? I performed the scenario above and it is working now. Verified with the following code: --------------------------------------- vdsm-4.17.19-0.el7ev.noarch rhevm-3.6.3-0.1.el6.noarch Verified with the following scenario: -------------------------------------- Steps to Reproduce: 1. Create a VM with one 5G thin provisioned disk on an iSCSI SD 2. Boot the VM from a live CD such as TinyCorePlus 3. Write data to the first part of the disk: Open a terminal inside the VM and run the following command dd if=/dev/zero of=/dev/vda bs=1M count=2048 4. When above command is finished create a VM snapshot 5. Write data to the second part of the disk: Open a terminal inside the VM and run the following command dd if=/dev/zero of=/dev/vda bs=1M count=2048 seek=2048 6. When the above command is finished delete the snapshot created in step 4 >>>>> The snapshot is successfully deleted. Moving to VERIFIED |