Bug 923864 - [engine-backend] When removing a snapshot, the image(s) new size is not updated in the DB
Summary: [engine-backend] When removing a snapshot, the image(s) new size is not updat...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.2.0
Assignee: Daniel Erez
QA Contact: Elad
URL:
Whiteboard: storage
Depends On:
Blocks: 878460
TreeView+ depends on / blocked
 
Reported: 2013-03-20 15:47 UTC by Elad
Modified: 2016-02-10 17:51 UTC (History)
13 users (show)

Fixed In Version: sf13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Storage
Target Upstream Version:
Embargoed:
abaron: Triaged+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 13243 0 None MERGED core: update DiskImageDynamic on RemoveSnapshot 2021-02-11 12:56:30 UTC

Description Elad 2013-03-20 15:47:50 UTC
Description of problem:

When removing a snapshot that was created during live snapshot process,
the image(s) new size is not updated in the DB.

Version-Release number of selected component (if applicable):

vdsm-4.10.2-11.0.el6ev.x86_64
libvirt-0.10.2-18.el6_4.2.x86_64
rhevm-backend-3.2.0-10.14.beta1.el6ev.noarch


How reproducible:
100%

Steps to Reproduce:
1. Run a VM 
2. Create a snapshot 
3. shutdown the VM and remove the snapshot

  
Actual results:
engine not updates the new size of the image(s). 

Expected results:
engine should update the new size of the image(s)

Additional info:

Comment 1 Allon Mureinik 2013-03-20 16:14:00 UTC
Running the VM is inconsequential - this bug happens if the VM is down too.

The backend flow calls VDSM's MergeSnapshots, but does not call GetImageStats afterwards on the target volume.

This not not interfere with the system's stability, but is indeed an ugly bug that diminishes the customer's ability to understand what's going on on his storage.

Comment 5 Elad 2013-04-09 15:52:53 UTC
Checked on RHEVM - 3.2 - SF13:

rhevm-backend-3.2.0-10.18.beta2.el6ev.noarch
rhevm-webadmin-portal-3.2.0-10.18.beta2.el6ev.noarch
vdsm-4.10.2-14.0.el6ev.x86_64

After snapshot deletion (of vm with thin provision disk), disk actual size updated in the UI.

Comment 6 Itamar Heim 2013-06-11 08:59:12 UTC
3.2 has been released

Comment 7 Itamar Heim 2013-06-11 08:59:12 UTC
3.2 has been released

Comment 8 Itamar Heim 2013-06-11 08:59:17 UTC
3.2 has been released

Comment 9 Itamar Heim 2013-06-11 09:00:49 UTC
3.2 has been released

Comment 10 Itamar Heim 2013-06-11 09:30:18 UTC
3.2 has been released

Comment 11 Daniel Erez 2013-07-09 08:47:53 UTC
*** Bug 968977 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.