Bug 1383084

Summary: Live merge with illegal/missing delta-qcow2 fails
Product: [oVirt] ovirt-engine Reporter: Markus Stockhausen <mst>
Component: Backend.CoreAssignee: Ala Hino <ahino>
Status: CLOSED INSUFFICIENT_DATA QA Contact: meital avital <mavital>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.0.4.4CC: bugs, mst, tnisan
Target Milestone: ovirt-4.0.7Flags: tnisan: ovirt-4.0.z?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
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: 2016-12-25 13:52:17 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:
Attachments:
Description Flags
VDSM log
none
ENGINE log none

Description Markus Stockhausen 2016-10-09 18:37:23 UTC
Description of problem:

A previous live merge operation succeeded in qemu but engine did not recognize it. Engine set snapshot to illegal. Looking with lsof at qemu we can see that qemu is only working an the base raw image. So we have the following situation

qemu: works as expected now delta-qcow2 image in use
ovirt: disk snapshot is illegal
Storage: delta qcow2 image has been removed manually from NFS server to avoid messing up things

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

Ovirt 4.0.4.4
VDSM: 4.17.28 (still from 3.6.6!)

How reproducible:

100%

Steps to Reproduce:
1. Do live merge

Actual results:

Live merge fails

Expected results:

Engine should get in sync with qemu

Additional info:

Logs attached

Comment 1 Markus Stockhausen 2016-10-09 18:40:12 UTC
Created attachment 1208637 [details]
VDSM log

Comment 2 Markus Stockhausen 2016-10-09 18:40:31 UTC
Created attachment 1208638 [details]
ENGINE log

Comment 3 Markus Stockhausen 2016-10-09 18:41:50 UTC
Storage content:

Running VMs [root@colovn07 3129b139-dca4-49c3-acaf-cc55fa404f58]# ls -al
drwxr-xr-x.   2 vdsm kvm         332  9. Okt 19:29 .
drwxr-xr-x. 170 vdsm kvm       12288  5. Okt 20:02 ..
-rw-rw----.   1 vdsm kvm 37580963840  9. Okt 20:40 377b406e-bbca-4b89-b23e-4902e48ba733
-rw-rw----.   1 vdsm kvm     1048576  8. Sep 10:52 377b406e-bbca-4b89-b23e-4902e48ba733.lease
-rw-r--r--.   1 vdsm kvm         269  8. Sep 11:02 377b406e-bbca-4b89-b23e-4902e48ba733.meta

Comment 4 Ala Hino 2016-11-08 11:31:05 UTC
Hi Markus,

Can you please to live merge the snapshot that marked as illegal?
Basically, if there is no 'real' storage issue and merge completed at vdsm/storage side, retrying live merge should recover from the failure - update the database and remove the snapshot.

Comment 5 Tal Nisan 2016-12-25 13:52:17 UTC
There's a pending needinfo for a month and a half, closing as insufficient data, feel free to reopen if you have new findings

Comment 6 Red Hat Bugzilla 2023-09-14 03:32:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days