Bug 1333304 - [z-stream clone - 3.6.6] Live merge fails with "Failed to live merge, still in volume chain"
Summary: [z-stream clone - 3.6.6] Live merge fails with "Failed to live merge, still i...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ovirt-3.6.6
: 3.6.6
Assignee: Ala Hino
QA Contact: Aharon Canan
URL:
Whiteboard:
: 1333302 (view as bug list)
Depends On: 1301083
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-05 09:04 UTC by Tal Nisan
Modified: 2019-11-14 07:57 UTC (History)
20 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1301083
Environment:
Last Closed: 2016-05-26 18:27:27 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2248031 0 None None None 2016-05-05 09:04:22 UTC
oVirt gerrit 56472 0 None None None 2016-05-05 09:04:22 UTC
oVirt gerrit 56534 0 master ABANDONED core: Live Merge: Validate snapshot legality 2016-05-22 11:26:40 UTC
oVirt gerrit 56734 0 None None None 2016-05-05 09:04:22 UTC

Comment 3 Tal Nisan 2016-05-05 09:24:14 UTC
*** Bug 1333302 has been marked as a duplicate of this bug. ***

Comment 4 Ori Gofen 2016-05-17 12:19:11 UTC
Can you please provide steps to reproduce?

Comment 5 Ala Hino 2016-05-17 19:17:58 UTC
One, tricky, way is to:

1. create a snapshot
2. stop libvirtd
3. delete the snapshot
4. start libvirtd

At this point you should see the error in the log.

Now try to delete the snapshot again and the operation should succeed.

Comment 6 Ori Gofen 2016-05-18 16:29:20 UTC
Have executed the steps above.
The scenario of deleting an 'illegal' snapshot works when executing it via vms/vm_id/snapshots ui tab, but once attempted to remove the same illegal snapshot from storages/storage_id/ a vague error message explained:

"Error while executing action: Cannot remove Disk Snapshot. The following 
attached disks are in ILLEGAL status: golden_env_mixed_virtio_3_1_Disk1 - please remove them and try again."

Ala, should this be verified?

Comment 7 Ala Hino 2016-05-18 19:30:46 UTC
Two different things:

In vms/vm_id/snapshots we remove VM snapshot (that may include multiple disks).
In storages/storage_id/Disk Snapshots we remove a disk that is included in the snapshot. If you create a VM with two disk, create a snapshot and then go to storages/storage_id/Disk Snapshots and remove one of the disks, you will see the the disk is removed but snapshot still exists in vms/vm_id/snapshots (but of course includes only the disk that wasn't removed)

Comment 8 Ori Gofen 2016-05-19 16:31:52 UTC
(In reply to Ala Hino from comment #7)
> Two different things:
> 
> In vms/vm_id/snapshots we remove VM snapshot (that may include multiple
> disks).
> In storages/storage_id/Disk Snapshots we remove a disk that is included in
> the snapshot.
So, you say that this scenario should be covered in a different bug or this one? or is it even a bug or not?

> If you create a VM with two disk, create a snapshot and then
> go to storages/storage_id/Disk Snapshots and remove one of the disks, you
> will see the the disk is removed but snapshot still exists in
> vms/vm_id/snapshots (but of course includes only the disk that wasn't
> removed)

Comment 9 Ala Hino 2016-05-19 16:36:37 UTC
It is not a bug; this is the expected behavior

Comment 10 Ori Gofen 2016-05-22 11:31:00 UTC
Verified per comment #9

Comment 12 Allon Mureinik 2016-05-26 18:27:27 UTC
RHEV 3.6.6 has been released, closing.


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